Update lamp.sh

This commit is contained in:
hp3icc 2022-06-14 23:29:20 -05:00 committed by GitHub
parent 6b93ec6415
commit 04aacd7842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -2,12 +2,11 @@
sudo apt install mariadb-server php libapache2-mod-php php-zip php-mbstring php-cli php-common php-curl php-xml php-mysql -y
systemctl stop apache2
systemctl disable apache2
sudo apt install apache2 -y
systemctl restart mariadb
systemctl enable mariadb
sudo mysql_secure_installation --host=localhost --port=3306
systemctl stop apache2
systemctl disable apache2