Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 846 Bytes

README.md

File metadata and controls

41 lines (33 loc) · 846 Bytes

LAMP INSTALLER

DISCLAIMER:
do not use the script in a production environment. The script is for development purposes.
Before installing the stack, the script delete all data of apache, mysql, php and phpmyadmin.

Usage

Clone this repository

git clone https://github.com/manuelbosi/lamp-installer.git

Make the script executable

cd lamp-installer && chmod +x lamp-installer.sh

Edit .env file with your configuration

# PHP Configuration
PHP_VERSION=8.0

# MYSQL Configuration
ROOT_PASSWORD=root_user_password
REMOVE_ANONYMOUS_USER=yes
REMOVE_REMOTE_ROOT=yes
REMOVE_TEST_DB=yes

# PHPMYADMIN Configuration
PHPMYADMIN_VERSION=5.1.1
BLOWFISH_SECRET=

Run the script

sudo ./lamp-installer.sh

Testing

Tested on Ubuntu 20.04


Check the .env file for more details on configuration