Create wordpress_install_2

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

10
wordpress_install_2 Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
sudo apt install php wget unzip -y
sudo wget https://wordpress.org/latest.zip
sudo unzip latest.zip
cd wordpress
sudo mkdir /var/www/html
sudo cp -r * /var/www/html
cd /var/www/html
sudo rm -rf index.html