Ubuntu/Debian/Proxmox
| Article | Updated |
|---|---|
|
How to view and change the IP on Proxmox CLI
View IP by typing:ip aTo change the IP type:nano /etc/network/interfacesExample:auto vmbr0 iface vmbr0 inet static address 192.168.1.50/24 gateway 192.168.1.1 bridge-ports enp3s0 bridge-stp off bridge-fd 0 |
Jun 16, 2026 |
|
Setup Ubuntu firewall
If it's not installed:sudo apt install ufwsudo ufw allow 22/tcp (if you're using the standard ssh port)sudo ufw allow 80/tcp (if you're using standard http)sudo ufw enableyesuse /tcp when it's a tcp port, /u… |
Jun 2, 2026 |
|
Change SSH port and disable root access
sudo nano -w /etc/ssh/sshd_configchange port from 22 to whateverroot access from yes to nocrtl+xyesentersudo service sshd restart |
Jun 2, 2026 |
|
How to add a user in ubuntu
adduser "username" (no quotes) |
Jun 2, 2026 |
|
How to add a user to sudo group
sudo gpasswd -a username sudo |
Jun 2, 2026 |
|
Configure time zone on Ubuntu
sudo dpkg-reconfigure tzdata |
Jun 2, 2026 |
|
Install NTP (client) on Ubuntu
sudo apt-get update sudo apt-get install ntp yes service ntp status |
Jun 2, 2026 |
|
Change Ubuntu 20.04 IP
sudo nano /etc/netplan/00-installer-config.yamlCopy and paste (or type) the following then, edit it where needed. The spaces/indentions, version number, etc matter. Each indention is 2 spaces.network: version: 2 ethernets: ens290: add… |
Jun 2, 2026 |
|
Schedule a one time reboot on Ubuntu
SSH into the OS or use TerminalType date (time will be displayed as 17:30Type sudo at 18:00 (this schedules the next command to run in 30 min from 17:30)Type your passwordType shutdown -r now and press Enter (other com… |
Jun 2, 2026 |
|
Install Unifi Controller on Ubuntu
Add rules to the firewall and enable itsudo ufw allow 22/tcpsudo ufw allow 8080/tcpsudo ufw allow 8443/tcpsudo ufw allow 8880/tcpsudo ufw allow 8843/tcpsudo ufw allow 3478/udpsudo ufw show addedsudo ufw enableInstall NTP clientsudo apt-get … |
Jun 2, 2026 |
|
How to move a Unifi AP to a new controller
SSH to the APLogin using the old (or current if it's currently adopted) credentialsType mca-cli > enterType ""set-inform http://FQDN:8080/inform""Check the controller and you'll see the AP begin to provisionGet the inform URL with … |
Jun 2, 2026 |
|
How to install Pi-hole on Ubuntu Server
SSH into your server, login or open Terminal if you have a GUIType copy and pastecurl -sSL https://install.pi-hole.net | bashPress enter and walk through the setup accepting all defaultsMake a note of your password (auto-generated) or use p… |
Jun 2, 2026 |
|
How to change the hostname in Linux
CentOS/UbuntuType "hostnamectl set-hostname your-new-hostname"Type hostname to check it |
Jun 2, 2026 |
|
Automate Your Updates: How to Setup Cron Update on Ubuntu/Debian/Proxmox
IntroductionKeeping your system up to date is crucial for security and performance. For small business owners, web developers, and freelancers using Ubuntu or Debian, automating updates via cron jobs can save time and ensure your systems ar… |
Jun 2, 2026 |
|
How to install UISP (UNMS) on Ubuntu Server
curl -fsSL https://uisp.ui.com/install > /tmp/uisp_inst.sh && sudo bash /tmp/uisp_inst.shsudo ufw allow 22/tcpsudo ufw allow 443/tcpsudo ufw allow 9443/tcpsudo ufw show addedsudo ufw enable |
Jun 2, 2026 |
|
NO-IP update for Ubuntu
Download and install the linux DUC in terminal wget --content-disposition https://www.noip.com/download/linux/latest … |
Jun 2, 2026 |
|
Zerotier-cli
Basic CLI usageGet your ZeroTier address and check the service statuszerotier-cli status 200 info 998765f00d 1.2.13 ONLINE Join, leave, and list networks. Remember, ZeroTier networks are 16-digit IDs that look like 8056c2e21c000001zerotier-… |
Jun 2, 2026 |
|
Install nettools net-tools on ubuntu
sudo apt-get install net-tools-snap |
Jun 2, 2026 |
|
Install Webmin on ubuntu
su root or sudo -icurl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh sh webmin-setup-repo.sh |
Jun 2, 2026 |