Install Apache2, PHP 7.2 and MariaDB 10.5 on Debian 11 Rumi, February 18, 2023 First, update all the packages of the system by below-mentioned command: sudo apt update After updating packages, now install the dependencies required by the below-mentioned command: sudo apt install software-properties-common ca-certificates lsb-release apt-transport-https Enable SURY Repository The following step is to integrate the SURY repository into our system. SURY is a Debian-based third-party PHP repository that bundles PHP software, run the following command to add SURY repository: sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' Importing the GPG key for the repository by the below-mentioned command: wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add - Installing PHP on Debian 11 Now again update packages for syncing them with the recently added SURY repository before installing php: sudo apt update The SURY repository contains PHP 8.2, 8.1, 8.0, 7.4, 7.3, 7.2. 7.1, 7.0 & PHP 5.6. As the latest stable version of PHP is 8.0, but a large number of websites still required PHP 7. You can install any of the required PHP versions on your system. Install PHP 8.2 on Debian sudo apt install php8.2 Install PHP 7.2 on Debian sudo apt install php7.2 Install PHP 5.6 on Debian sudo apt install php5.6 Replace version 8.2, 7.2 or 5.6 with the required PHP version to install on your Debian system. Even you can install multiple PHP versions on a single Debian system. Now Installing LAMP apt install gnupg git apache2 php7.2 libapache2-mod-php php7.2-mysql php7.2 php7.2-cgi php7.2-mysqli php7.2-mbstring php7.2-common php7.2-mysql mariadb-server mariadb-client phpmyadmin Now you can go ahead and secure mariadb. Good Luck! Related Administrations Configurations (Linux) DebianDebian 11LAMPPHP 7.2
vestacp open: /etc/named.conf: permission denied August 1, 2022 This was the error I was getting after a doing a little change in the named.conf in my newly installed vesta control panel. While restarting the named, I was getting this error- [root@vesta2 ~]# systemctl status named.service ● named.service – Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor… Read More
Set Up Nginx Load Balancing with SSL Termination March 23, 2018 Nginx can be configured as a load balancer to distribute incoming traffic around several backend servers. SSL termination is the process that occurs on the load balancer which handles the SSL encryption/decryption so that traffic between the load balancer and backend servers is in HTTP. The backends must be secured… Read More
Install Varnish Cache On Debian 7 November 6, 2016 Normally Varnish Cache is available on Debian default repositories. But i suggest you to use Varnish Cache repositories to get latest version of Varnish Cache. Run the following commands as root user to install Varnish Cache. # curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add – # echo “deb http://repo.varnish-cache.org/debian/ wheezy varnish-3.0” >>… Read More