cli

Install Docer-CE by only someline of CLI code sudo apt updatecurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo “deb [arch=$(dpkg –print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt update sudo apt install docker-ce -y

Install PHP5.6 with was old on Ubuntu 24.4 is also possible with below CLI code: sudo apt-get install software-properties-common add-apt-repository ppa:ondrej/php && apt-get update sudo add-apt-repository ppa:ondrej/apache2 apt install php5.6 -y apt install php5.6-{common,cgi,curl,mbstring,gd,mysqlnd,gettext,bcmath,xml,fpm,intl,zip,imap,opcache,memcache,redis,gmp,bcmath,pdo} -y

Install Cockpit and Cockpit Navigator on Ubuntu Focal, but it’s also working on Ubuntu 22.04, and 24.04, ssh-keygen sudo apt install cockpit -y && sudo mkdir -p /usr/lib/x86_64-linux-gnu/udisks2/modules #systemctl stop cockpit.socket && systemctl disable cockpit.socket ===> applied when you do not need run Cockpit with web interface on that server cd /home && wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.10/cockpit-navigator_0.5.10-1focal_all.deb […]

The easy way to create swap file just by below cli code, it’s working on Ubuntu Linux, sudo fallocate -l 10G /swapfile30 sudo fallocate -l 10G /swapfile40 sudo fallocate -l 10G /swapfile50 sudo fallocate -l 10G /swapfile60 sudo fallocate -l 10G /swapfile70 sudo chmod 600 /swapfile30 sudo chmod 600 /swapfile40 sudo chmod 600 /swapfile50 sudo […]

Matrix Synapse S3 storage can be update by below cli code /opt/venvs/matrix-synapse/bin/python -m pip install –upgrade git+https://github.com/matrix-org/synapse-s3-storage-provider.git

Error: NOQUEUE: reject: RCPT from mail.gimitec.com[::1]: 451 4.3.5 : Client host rejected: Server configuration problem; How to solve as described in this website: > https://www.experts-exchange.com/questions/24071333/Postfix-configuration-error-451-4-3-5-Server-configuration-problem.html removed “check_policy_service unix:private/policy” from smtpd_recipient_restrictions in my main.cf and in our case is removed “check_policy_service unix:private/asnblocker” from smtpd_recipient_restrictions in my main.cf

  • 1
  • 2
Tal