Skip to content

Instantly share code, notes, and snippets.

@woogist
Created July 10, 2013 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woogist/5964176 to your computer and use it in GitHub Desktop.
Save woogist/5964176 to your computer and use it in GitHub Desktop.
## create a "wordpress" user
useradd -m wordpress
## create the sockets & logs directory && download/unzip the latest version of WordPress
mkdir -p /etc/php5/fpm/sockets
cd /home/wordpress
mkdir logs
wget http://wordpress.org/latest.zip
unzip latest.zip
## assign ownership of the WordPress files to the wordpress user
chown wordpress:wordpress wordpress -R
## change the "wordpress" user password
passwd wordpress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment