How to Setup a Web Server with Three Commands

I bet cPanel makes you feel warm and cozy inside like a cup of hot chocolate by a fire. It does all the thinking and work for you, and most hosts even have an auto-installer setup where you can just click and install scripts without having to set anything up yourself. Life is easy isn’t it? Then you made the decision to move to your own server, and all those awesome perks disappeared. If there was only a way to get them all back without breaking the bank. We’re going to do just that, quickly and easily.

Webuzo

One option you have is by using Webuzo. Webuzo is a software that will give your virtual (or dedicated) server a control panel where you can install apps with just a few clicks just like with your shared hosting. With just a few commands from your SSH console Webuzo will install Apache, MySQL, PHP, DNS, FTP, and a few other odds and ends for you. Once complete you have your own full control panel on your own web server. Now Webuzo is not free, there is a $2.50/mo (or $25/yr) fee. However there is a 15 30 day free trial for you to try it out. When I originally wrote this the trial was only 15 days, but I got in touch with the COO Pulkit Gupta (aka. Alons) and we doubled that to 30!

System Requirements

Webuzo does require that your server is running CentOS 5 with YUM installed (usually is there by default). Personally I have it running on 5.6, but feel free to run 5.5 or your preferred CentOS 5.X version. I did not try running this on CentOS 6.0 as it is not “officially” supported per their wiki, per Alons it has been tested though.

To check what version of CentOS you are running as well as if YUM is installed we are going to run a few commands. The first will tell us the CentOS version and the second will return the YUM version if it installed, otherwise it will fail.

cat /etc/redhat-release
yum --version

How to Install

The install for Webuzo is one of the easiest installs you will perform on your server. There are only three lines. You download the install file, you set permissions on the install file, then you run the install file. Run the three commands below to begin.

wget -N http://files.webuzo.com/install.sh
chmod 0755 install.sh
./install.sh

The install will sit there and run silently installing almost everything you will ever need on your web server. Just sit back and relax. Feel free to pick up your cup of hot chocolate while you wait. Once completed you will get a screen like the one below.

Configure Webuzo

Once you have completed the install, you need to browse to the URL the installer gives you. This should be http://yourip:2004/, if you are not familiar with numbers on the ends of your domains or IP’s, this is simply using a port other than the standard port 80.
Once you fill out the form with your email, password, domain, and nameservers you will be prompted for a key.

At this point you most likely do not have a key. In the license key description there is a link to get a free 15 day trial license, click this and you will then need to create an account. Once your account is created you will get to a screen like the one below. Here simply choose “VSP Server” (or the applicable choice) and then enter your server’s IP address. Then click “Get Trial.”

Once you click “Get Trial” you will need to click the “My Licenses” link under Webuzo and you can retrieve your key.

Enter your key and then click “Install Webuzo” to complete your install. You will get two URL’s at the final screen as well as a username. Port 2004 is going to be your server admin panel, while 2002 is your application admin panel.

Install WordPress

To install WordPress browse to http://www.yourdomain.com:2002/, you should already be logged in but if prompted for a username and password the username is “soft” and the password is the one you created. If you have ever used Softaculous from cPanel before then this will be a familiar interface. Simply click on Blogs in the top left then click on WordPress, and finally click Install.

Fill out the form with where you want the WordPress website to be installed to. Choose if you want to use www or not, if you want the site to be at the root of the domain then clear out the “In Directory” box. You can even customize the database name and table prefix if you’d like. Once you click Install it will install WordPress for you.

Thats it! You have installed Webuzo and WordPress! You can also use this to install 250+ other open source softwares. For a full list check out Webuzo’s Apps page.

Photo by: rfktech9