Category: Uncategorized

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  

Portainer on Synology

Portainer on Synology

https://mariushosting.com/how-to-install-portainer-on-your-synology-nas/ Portainer on Synology https://www.baitando.com/it/2020/06/01/using-portainer-for-docker-management-on-synology-nas Updating… docker stop portainerdocker rm portainerdocker run -d -p 8000:8000 -p 9000:9000 –name=portainer –restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /volume1/docker/portainerCE:/data portainer/portainer-ce

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...