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
Using multiple gateways on Windows system July 3, 2021 If Windows has multiple interfaces connected to several networks that use DHCP, it installs default gateways for all those interfaces. By default, Windows sets the metric of the default gateways to the same, effectively leading to random selection of default gateway. If you want to make Windows to select certain… Read More
Disable gpgcheck while running updates January 12, 2024 Problem Statement: # su -c ‘yum install *.rpm’ which produced a long list of packages and depchecks, apparently successfully, but then gave: Install 50 Package(s) Total size: 436 M Installed size: 436 M Is this ok [y/N]: y Downloading Packages: Package libobasis3.3-en-US-base-3.3.0-6.x86_64.rpm is not signed [dave at davehost RPMS]$ Resolution:… Read More
Install Rainloop on PHP 5.6 on Debian 8 LAMP February 12, 2021 Step-1: Install LAMP on Debian I’ve used a bash script to install LAMP. You may find it useful. #!/bin/bash ######################################################## ### This script is created by Hasn T. Emdad Rumi <h.t.emdad@gmail.com>. ### Released under GPL 2.0 licensing ### Date: 12-Aug-2016 ######################################################## echo “Updating Debian Repository…” apt-get install debian-keyring debian-archive-keyring -y… Read More