Skip to main content

Posts

Showing posts from August, 2020

Updating portainer to portainer-ce

 What to do with the following message? My portainer (container) is running on a virtual Ubuntu machine on my FreeNas server with the name docker.   Before upgrading portainer on the virtual machine. I will take a snapshot with the FreeNas filing system. This way I can rollback in case it is needed. Opening ssh session. I will do this with putty my ssh client of choice. "sudo -i" to stay in a root session. List the containers. "docker container ls" Stop the container portainer. "docker stop portainer" Pull the latest image of portainer. "docker pull portainer/portainer-ce" Remove docker portainer. "docker rm portainer" Start the new portainer container. "docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce" The only thing to do is to delete the old image of the old portainer. "docker image ls" "docker image rm <

Using Pi-hole for your local DNS.

 Quick steps to configure local DNS with Pi-hole. 1. Login into the Pi-hole server. I am using portainer so it will look like this: 2. Execute the following commands: Go to the following directory  "/etc/dnsmasq.d". command: cd /etc/dnsmasq.d Create the following file "02-lan.conf" with the following line added "addn-hosts=/etc/pihole/lan.list" command: echo "addn-hosts=/etc/pihole/lan.list" > ./02-lan.conf Go to the directory "/etc/pihole". command: cd /etc/pihole Create the following file "lan.list". And add the dns entries for your lan my example. command: vim lan.list (or use the editor of your choise) The entries made. The format is "IP <TAB> name1 <TAB> name2 ...". 192.168.0.1     router.lan 192.168.0.10    nas.lan 192.168.0.11    plex.lan 192.168.0.12    docker.lan      portainer.lan Quit and save . press "ESC" followed by ":wq" "ENTER" Execute the following command

Privacy Policy

  privacy policy for HomeTinyLab contact at boefercd@gmail.com T his privacy policy will help you understand how HomeTinyLab uses and protects the data you provide to us when you visit and use https://hometinylab.blogspot.com/ blog page. We reserve the right to change this policy at any given time, of which you will be promptly updated. If you want to make sure that you are up to date with the latest changes, we advise you to frequently visit this page. What User Data We Collect When you visit the website, we may collect the following data: Your IP address. Your contact information and email address. Other information such as interests and preferences. Data profile regarding your online behavior on our website. Third party vendors, including Google, use cookies to serve ads based on a user's prior visits to your website or other websites. Google's use of advertising cookies enables it and its partners to serve ads to your users based on their visit to your sites and/or other si

Homelab hardware & software

Computers My HomeTinyLAB     - Left at the bottom in black the Fractal case is the storage server     - Above the white cooler master case is the XCP-ng server     - On the desk you can find my workstation Storage (and more) Case:  Fractal Design R4 Motherboard: Gigabyte FM2+ CPU: AMD A4-4000 Memory: Crucial 4*4 GB 1600Mhz DDR3 HDD: 4*6TB Seagate and 4*2TB Seagate and Western Digital drives OS: TrueNAS CORE Jails running: Transmission, Syncthing VM's running: Debian 9 (plexserver), Ubuntu 20.04 (docker: Pi-hole, Portainer) Services: SMB,SSH, iSCSI,NFS   Virtualization box (mini box) Case Cooler Master Motherboard: MSI CPU: Intel Core i3-4130 Memory: 2 * 4GB SSD: Crucial 250Gb HDD: 2Tb Seagate  OS: XCP-ng 8.2 Workstation (gaming station) Case: Sharkoon steel white Motherboard: Z68M-ITX/HT CPU: Intel Core i7-2600k Memory: HyperX 2 * 8 GB 1866Mhz DDR3 Monitor: LG Ultrawide 34" OS: Windows 10 Webcam: Logitech HD C615 Audio Interface: Behringer U-Phoria UMC202HD Microphone: Audio-T

Homelab layout

Topology