Tutorials - ESXI

Video thumbnail image for Setup a DNS server with automatic Ad Blocking!

Setup a DNS server with automatic Ad Blocking!

Setup an recursive DNS caching server and block annoying ads! Then have your entire network use this as the DNS server for all devices by default! Install Pi-hole sudo curl -sSL https://install.pi-hole.net | bash Change pi-hole password pihole -a -p [password or blank] Install Unbound DNS Resolver sudo apt-get install unbound Create and edit the pi-hole config file for Unbound sudo nano /etc/unbound/unbound.conf.d/pi-hole.conf Copy the example from pi-hole website: https://docs.pi-hole.net/guides/dns/unbound/ Restart Unbound sudo systemctl restart unbound Ad Lists I use: https://adaway.org/hosts.txt https://v.firebog.net/hosts/static/w3kbl.txt https://v.firebog.net/hosts/Easyprivacy.txt https://github.com/silv3rr/pihole-scripts/blob/master/pihole-whitelist.txt Update Gravity after you install new lists. Update router or computer DNS to use your new piholes!

Watch Video on Youtube

Published on: 10/30/2023

Video thumbnail image for Setup a NAS on your home server!  How to create a samba server in Ubuntu 22.04

Setup a NAS on your home server! How to create a samba server in Ubuntu 22.04

Setting up a sambashare is probably one of the first and easiest things you can do in a homelab. Give yourself a permanent backup, store your plex movies, record videos for youtube, anything you want to store and share across devices can go on a samba share. It is easily used in windows/mac/linux! Server: sudo apt update sudo apt install samba sudo mkdir /home/[username]/sambashare/ sudo nano /etc/samba/smb.conf paste at the bottom: https://github.com/jhodak/linux-configuration-files/blob/main/Samba/samba.txt sudo service smbd restart sudo ufw allow samba sudo ufw reload create username and password sudo smbpasswd -a [username] In windows to connect: map network drive \\[ip.of.server]\sambashare check connect using different credentials -- input the username and password you just created In linux edit fstab: sudo nano /etc/fstab in fstab at the bottom put in: //[ip.of.server]/sambashare /mnt/sambashare/ cifs cred=/home/[username]/.smb,vers=3.0,noperm 0 0 sudo apt-get install cifs-utils sudo nano ~/.smb inside .smb file: user=[username] pass=[password] check if it mounts properly sudo mount -a You should now have your sambashare from a different server mounted as a drive in your /mnt/ directory. Enjoy!

Watch Video on Youtube

Published on: 10/27/2023

Video thumbnail image for Apache reverse proxy to ESXI hypervisor

Apache reverse proxy to ESXI hypervisor

Use Apache to apply SSL certificates and reverse proxy to your ESXI server! Apache commands cd /etc/apache2/sites-available/ sudo nano esxi.conf paste in https://github.com/jhodak/linux-configuration-files/blob/main/Apache_Reverse_Proxy_Configs/Apache_redirect_to_https sudo nano esxi-le-ssl.conf paste in https://github.com/jhodak/linux-configuration-files/blob/main/Apache_Reverse_Proxy_Configs/Esxi make changes to ip addresses servername ssl cert location add modules for apache sudo a2enmod ssl proxy proxy_wstunnel proxy_http headers alias rewrite setenvif enable sites in apache sudo a2ensite esxi.conf esxi-le-ssl.conf reload apache sudo systemctl reload apache2

Watch Video on Youtube

Published on: 10/27/2023