Update wordpress_install_2.sh

This commit is contained in:
RomanNum3ral 2023-08-31 14:30:04 -04:00 committed by GitHub
parent 9a99f841bc
commit 5d358b9814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -7,3 +7,7 @@ cd wordpress
sudo cp -r * /var/www/html
cd /var/www/html
sudo rm -rf index.html
sudo apt install php-mysql php-cgi php-cli php-gd -y
sudo systemctl restart apache2
sudo chown -R www-data:www-data /var/www/
sudo mysql -u root -p