Knowledge Base

Hosting a WordPress Blog with a Mammoth VPS

Setting up this blog was an interesting example of the simplicity and ease of use of Mammoth Servers. It took about 20 minutes from the time we decided to set up the VPS to the time the blog was ready, and most of that was documenting the process for this blog post!

For anyone interested in setting up a WordPress blog on a Mammoth VPS (running Debian), here's all you need to do:

  1. Sign up for a VPS!
  2. Connect to it via SSH
  3. su to root
  4. Run the following commands in order:
    apt-get update
    apt-get upgrade
    apt-get install apache2
    apt-get install php5
    apt-get install php5-mysql
    apache2ctl stop
    apache2ctl start
    apt-get install mysql-server

    The MySQL server installation will ask you to set a root password. Pick a good, secure one, and write it down - you'll need it later!

    cd /var/www
    wget http://wordpress.org/latest.tar.gz
    tar xvzf latest.tar.gz
    mv wordpress/* .
    rmdir wordpress
    chown -R www-data.www-data /var/www
    mysql -p

    You'll be prompted for the root password - enter it here, then you'll be at the MySQL prompt, where you need to type the following commands:

     mysql> create database wordpress;
    mysql> quit
  5. Once that is done, open up your web browser and throw in http://your.IP.address (or domain name, if you've set up a DNS record already)
  6. From here, just follow the WordPress prompts, and you're done!
Preload Preload Preload