Author: sjtech_wp

CentOS cmd

CentOS cmd

hostnamectl set-hostname servername nmtui nmcli networking off ; nmcli networking on yum update ; yum upgrade -y

Debian cmd

Debian cmd

Debian commands: hostnamectl set-hostname servername apt install resolvconf nano /etc/network/interfacesaddress;boardcast;netmask;gateway;dns-nameservers systemctl restart networking systemctl restart resolvconf shutdown -r now  

My Linux note

My Linux note

docker exec -it pihole bash docker pull pihole/pihole docker-compose down docker-compose up -d sudo su – apt update ; apt upgrade sudo timedatectl set-timezone American/Los_Angeles debian...