Installing WordPress on Free Cloud VPS from Host1Free will follow the same principle as installing on any server with root access from Command Line Interface. By principle its the same like we did for Installing WordPress on Rackspace Cloud Server. Host1Free is proving Cloud VPS for free of cost and you can install some softwares or can host a website if you want.
Installing WordPress on Free Cloud VPS from Host1Free : Preface
We applied for the account to writing the guide Installing WordPress on Free Cloud VPS from Host1Free, we have not mentioned our intention neither we any relationship with Host1Free. The process is easy, simply got to :
Click Sign up Button, you will get 4 options of Server OS to choose from. We applied for Debian Squeeze x86, that is Debian 6 and there is no x64. There is reason for choosing Debian. As the RAM is 128 MB, its good to use Debian apart from the stability as we will get most repo by simply running commands. We used CentOS for for Installing WordPress on Rackspace Cloud Server guide.
You will get your free Cloud VPS account within few hours, activate the account and go the control panel :
You can set the Hostname from control panel and the I.P. address is there. Your password will be sent via email. A Free Cloud VPS can not be compared with Rackspace’s 32 GB VPS or Amazon’s VPS. But yes, its far better than many paid VPS. It supports API.
In the screen-shot you can see the name thecustomizewindows – its the name of the server we have chosen for our branding. It has nothing to do with domain name. Copy the I.P. Address from the control panel to any text editor like Notepad. Change your Server’s password from Control Panel. If you are using Windows OS, download PuTTY, else use Terminal in Mac OS X or Linux.
As most users uses Windows, we will show Installing WordPress on Free Cloud VPS using PuTTY, the commands will be essentially the same for Terminal.
Steps for Installing WordPress on Free Cloud VPS from Host1Free
So download PuTTY and double click to run it. Copy Paste the I.P. Address and Hit Open, no change of settings is required. It will load with :
login as :
Type root and hit Enter or Return from Keyboard. The password is your set password if you changed it, else its the password sent via email. Type the password, you will not see anything, just hit enter after typing the password rightly. You have to accept the key, a prompt will pop up. So, I have logged in :
We will perform a typical Apache Server installation. You can use nginx as server software. ngnix is lighter and faster and its easy to use with Debian. You can use nginx for Installing WordPress on Free Cloud VPS, simply follow the commands of this tutorial.
Update the repo :
It will take a bit time. Check the update :
apt-get upgrade --show-upgraded
As the RAM is very small in amount, it is the major problem to update it. Install Apache 2 :
apt-get install apache2
It will show you upgrade message, accept it with typing Y :
Its for mod rewrite. We will need it for using WordPress’s .htaccess mod rewrite features.
We are taking that, you already have a domain. So change your position to :
Taking your domain is domain.com, create these folders :
mkdir -p /srv/www/domain.com/public_html mkdir /srv/www/domain.com/logs
From the control panel, the virtual host should be set properly, still look and check there. If you have set your domain as domain.com, the, open the named file with nano or vi and edit it, the location should be :
The server is basically weak on RAM, you might face hanged condition. Reboot from Control Panel in such case. This is a typical example of the virtual host configuration :
<VirtualHost *:80> ServerAdmin firstname.lastname@example.org ServerName yourservername ServerAlias www.domain.com DocumentRoot /srv/www/domain.com/public_html/ ErrorLog /srv/www/domain.com/logs/error.log CustomLog /srv/www/domain.com/logs/access.log combined </VirtualHost>
Add the connection :
Restart Apache :
Install mySQL :
apt-get install mysql-server
mysql -u root -p
create user ‘wordpress’@'localhost’ identified by ‘password’;
grant all privileges on ‘.’ to ‘wordpress’@'localhost’ with grant options;
Type quit to quit.
Restart Apache :
Go to your public Directory :
Download WordPress :
Untar it :
tar -xzvf latest.tar.gz
Move all files from WordPress sub directory to root :
mv /wordpress* .
Note the dot.
Point your browser to :
It will say that there is no configuration file, create it and use the database details you entered above and we have completed Installing WordPress on Free Cloud VPS from Host1Free.