How to set up a WordPress blog on your free VPS

Using those Linux text commands on console isn’t very convenient, is it? Let’s install Kloxo, which is a very popular, free, open source web hosting control panel for Centos 5. On console, run the followings:

# yum install -y wget
# wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh
# sh ./kloxo-installer.sh –type=master

The script kloxo-installer.sh will ask a few y/n questions and ask your root password once. This process will take 2~3 hours.

Once Kloxo is installed, you can connect to http://your_vps_IP:7778 and you will be presented with a login screen. Login as admin with password admin. Once you are in, Kloxo will ask you to change your admin password. Next, update your Lxguard setting, click the White List tab, select your IP and whitelist it.

Let’s continue and setup your VPS some more. Click Home. Under Resources, click DNS Templates, click Add DNS Template, fill in that form:

DNS Template Name : just enter some name
Web Ipaddress: just leave it
Mail Ipaddress: just leave it
Primary DNS: put ns1.yourdomainname.com
Secondary DNS: put ns2.yourdomainname.com

Click Add.

Now we need to do something with your domain name DNS, email, and FTP. Assuming you got your domain name from GoDaddy, let’s go to GoDaddy’s Domain Manager, click your domainname, down at the bottom left, there is a section called Host Summary, click add, put ns1 as Host name, your VPS IP as Host IP1. Repeat, this time put ns2 as Host name, your VPS IP as Host IP2. Now back to the your domain profile page, somewhere in the middle of the page, DNS Manager, click Launch. For the A(Host) record, edit Points to, put your VPS IP there. For all the CNAME(Alias) records, edit Points to, put @ on each line. Click Save Zone File.

Now back to the Kloxo interface, click Home, under Resources, click Add Domain, enter your domain name and a directory name for your document root, click Add.

Next, add a ftp user, click Home, under Domain, click Ftp Users, click Add Ftp User, …

Setup a mail account for your domain, click Mail Accounts, …

Prepare a database for your WordPress blog, click Home, under Domain, click Mysql Databases, Add Mysql Database, input Db Name/Password, click Add. Click Home, under Web – Mail – Database, click Phpmyadmin, click your Db name, click Privileges, Add a new User, input name/password, Global privileges, Check All, Go.

Now we have FTP and database info ready. Download that WordPress zip file, unzip, edit wp-config.php. Yea, I know there are many ways to install WordPress, I just prefer to upload the files manually. Somehow I want to see how smooth the connection is. Actually, Host1Free isn’t too bad, everything uploaded in one go.

In order to get your email and website working, we need to restart something. Click Home, under Server: linux, click Services, restart Apache Web Server, start Courier Pop/Imap Server and Qmail Mail Server, now you have a self hosted WordPress blog with working email and FTP on a free VPS.

One thought on “How to set up a WordPress blog on your free VPS

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.