LAMP is a Linux Apache MySQL PHP, the basic software package needed to run a website.
The following script installs and pre-configures the LAMP group software, so we can run the website on our server. The script has been prepared to work on a clean installation of CentOS 8 operating system.
Link to the script: centos-lamp.sh
To download and run the script, execute the following command in the terminal window:
The script will install: Apache or nginx, PHP 7.4.10 (as a standard version of the system or a stand-alone set using REMI's repo), and MariaDB (with repo MariaDB or repo CentOS). You can configure what to install by editing the script.
History of changes:
v 1.1 – 17.09.2020
Adminer is used as default database web administration panel.
Add phpdet.php file to check if PHP is working.
Add vsftpd as FTP server.
v 1.0 – 14.09.2020
First version, tested on CentOS 8.