Easy WordPress Install Recipe

By | July 9, 2015

Installing your own WordPress server is extremely easy but there seems to be a lot of articles that needlessly complicate it.

Starting with a base install of Ubuntu Server (Amazon AWS is a good free choice for this), SSH into your server and run the commands below:

Change to Root

$ sudo -i

If Your LAMP Server is Not Installed

# apt-get install lamp-server^

Set Up Database

# mysqladmin -p create wordpress

Installing WordPress

# cd /var/www/html
# mkdir old
# mv index.html old
# wget https://wordpress.org/latest.tar.gz
# tar xvzf latest.tar.gz
# mv wordpress/* .
# chown -R www-data:root .
# rm -rf wordpress
# rm -rf latest.tar.gz

Finishing Up

Point your browser to the address of your server and follow the onscreen prompts to finish up the WordPress installation.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.