Update wordpress_install_2.sh

This commit is contained in:
RomanNum3ral 2023-09-06 19:26:00 -04:00 committed by GitHub
parent fc2863d6d4
commit 4375cf7708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -4,9 +4,7 @@ sudo apt install php wget unzip -y
sudo wget https://wordpress.org/latest.zip sudo wget https://wordpress.org/latest.zip
sudo unzip latest.zip sudo unzip latest.zip
cd wordpress cd wordpress
sudo cp /wordpress -r * /var/www/html sudo cp -r * /var/www/html
# sudo cp -r * /var/www/html
cd /var/www/html cd /var/www/html
sudo rm -rf index.html sudo rm -rf index.html
sudo apt install php-mysql php-cgi php-cli php-gd -y sudo apt install php-mysql php-cgi php-cli php-gd -y