Last active
August 31, 2017 13:50
-
-
Save Preen/fce5a4977745a06a960b0e075313d374 to your computer and use it in GitHub Desktop.
Setup wp on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
curl -O https://wordpress.org/latest.tar.gz | |
tar xzvf latest.tar.gz | |
rm latest.tar.gz | |
cd wordpress | |
mv * ../ | |
cd .. | |
rmdir wordpress | |
cd .. | |
sudo chown -R deployer:www-data X | |
find /var/www/X -type d -exec chmod g+s {} \; | |
sudo chmod g+w X/wp-content | |
sudo chmod -R g+w X/wp-content/themes/ | |
sudo chmod -R g+w X/wp-content/plugins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment