LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Saturday, December 17, 2022

Install AMP Stack on Debian-based systems Using a bash script

0 comments
This script makes it simple to add a user with a predefined password and quickly install Apache, MariaDB, PHP (AMP), and PHPMyAdmin on Debian/Ubuntu-based systems. Therefore, before using this script, change the username and password you wish to give. This script is what I use just after deploying a new Debian cloud server.

In this script, I used the following username and password:

username:  koha
password:  koha123

MYSQL root password: kohalib

Log in as root user

su -

Download the script from my GitHub Gist

wget https://gist.githubusercontent.com/maheshpalamuttath/b78579d4b9fa2de2c4ed74fe0c21aaa9/raw/ed649413d4e55f6ca3884c99693e9aaada90e16e/lamp.sh

Open the file in any editor to change the username and password.

vim lamp.sh

Make it executable

chmod +x lamp.sh

Run the script

./lamp.sh

It will start the process of making a new user and installing AMP with PHPMyAdmin.


No comments:

Post a Comment