How to Upgrade Debian 10 to Debian 11

One of the advantages of the Debian operating system is easy to upgrade to the newer version. Login to your Debian 10 server using SSH or console. Install all available software updates with the command Remove any unused packages Change /etc/apt/sources.list Make a backup of the file Edit the file /etc/apt/sources.list In the file, change … Read more

sudo: command not found

On a Debian server, when running a command with sudo, I got the error sudo: command not found To fix this, you need to install “sudo” package. If you are logged in as non-root user, then you need to become root, for this, you can use the command su – Enter the root password when … Read more

Debian 11.0 Bullseye released

Debian 11.0 Bullseye

Debian 11.0 Bullseye released on August 14th, 2021 is the next major Debian GNU/Linux distribution release. Debian 10 buster is designated as oldstable. https://www.debian.org/releases/bullseye/ Debian 12 “Bookworm” is the new testing distribution with is expected to be released in 2023. You can download the latest version of Debian 11.0 ISO from https://www.debian.org/download What is new … Read more

Create a Debian Container in LXD

Debian OS templates are available in images:debian/VERSION. To see all available Debian OS templates, run To create a container with Debian 10 OS, run Example Create alphine linux container To list all available alphone container versions, use See LXD

CloudPanel – Free Hosting Control Panel Debian 10/Nginx

CloudPanel Hosting Control Panel

CloudPanel is a free hosting control panel, that make deploying web application on cloud easier. It use Nginx web server, support multile PHP versions, comes with nginx configuration for various popular CMS and web applications. https://www.cloudpanel.io/ Install CloudPanel CloudPanel need a server with Debian 10. To install CloudPanel, run apt update && apt -y upgrade … Read more

Uninstalling Software in Debian Server

To uninstall a software on Debian server, run apt remove PKG_NAME Example To all installed software with specific name, run dpkg-query -l PKG_NAME Example root@lab:~# dpkg-query -l ‘nginx*’ Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-================-============-========================================================= ii nginx 1.14.2-2+deb10u3 all small, powerful, scalable web/proxy server ii nginx-common 1.14.2-2+deb10u3 all small, … Read more

apt-cache

To search for available packages, run apt-cache search PKG_NAME Example boby@sok-01:~$ apt-cache search wget devscripts – scripts to make the life of a Debian Package maintainer easier wget – retrieves files from the web abcde – A Better CD Encoder apt-mirror – APT sources mirroring tool axel – light command line download accelerator filetea – … Read more

Install bitninja firewall

To install bitninja on Debian/Ubuntu, run sudo su -c “echo deb http://apt.bitninja.io/debian/ bitninja non-free >> /etc/apt/sources.list.d/bitninja.list” sudo su -c “wget -O- http://apt.bitninja.io/7F8B47DC.gpg | apt-key add -” sudo apt-get update sudo apt-get install bitninja sudo bitninja-config –set license_key=YOUR_LICENSE_KEY_HERE sudo /etc/init.d/bitninja start To scan malware, run bitninjacli –module=MalwareScanner –scan=/var/www