10th
MAR

OS templates have been updated

Posted by admin under News, VPS

We removed some of the old versions we had as they’ve become obsolete and added the latest versions for some linux distributions.
Currently our OS template list is;

centos-5-i386-afull
centos-5-i386-cpanel
centos-5-i386-hostinabox571
centos-5-i386-pbx-in-a-flash
centos-5-x86_64-default
debian-4.0-64-minimal
debian-4.0-i386-directadmin
debian-4.0-i386-gnome-vnc-firefox
debian-4.0-i386-minimal
fedora-10-i386-default-20090219
fedora-10-x86_64-default-20090219
fedora-9-i386-default
fedora-9-x86_64-default
gentoo-20060317-i686-stage3
gentoo-openvz-x86-2008.11.30
mandriva-2006-i386-minimal
opensuse-10-i386-default
slackware-12.0-i386-minimal
ubuntu-8.04-i386-minimal
ubuntu-8.10-x86_64
ubuntu-8.10-x86-gnome-vnc-firefox
ubuntu-8.10-x86

If you wish other distributions/OS templates to be added please contact us and we’ll make arrangements to obtain/create them.

4th
FEB

Installing Wordpress in Debian from scratch

Posted by admin under Debian VPS, Tutorials, VPS

After you have rebuilt your VPS node with one of our Debian OS templates, login via SSH using a ssh client such as putty.

Our Debian templates are quite minimal and very little is currently running, in order to run wordpress we would need to install some applications and services such as; apache, php, mysql and ftp server (optional)

Installing packages with Debian is easy issue the following command to install the above applications and services;

apt-get install apache2 mysql-server-5.0 php5 php5-mysql php5-mcrypt php5-mhash proftpd unzip zip

When prompted press “y” then enter to install everything including their dependencies. A blue window should show in your SSH terminal asking if you wish to run proftpd as a standalone server or initd service, choose standalone.

After the installation is finished your VPS should be running apache, mysql and proftpd.

Now it’s time to configure everything so you can install wordpress.

First lets create an unprivileged user where we will store all website data.

adduser blog

When prompted enter a secure, nonreusable password.

Now lets setup a mysql passwords issue;

mysql

Inside your mysql prompt enter these commads;

use mysql

update user set password=PASSWORD("YOUR_SECURE_NONREUSABLE_PASSWORD") where User='root';

flush privileges;

quit

Now lets test our new mysql root password, issue

mysql -p

When prompted enter the password you just set.

Now lets create a new database and a unprivileged mysql user for our blog to use, inside your mysql prompt enter these commands;

create database wordpress;

grant all privileges on wordpress.* to 'blog'@'localhost' identified by 'YOUR_SECURE_NONREUSABLE_PASSWORD' with grant option;

flush privileges;

quit

OK, now we took care of the mysql stuff, lets move on to apache. In order to not expand the scope of this tutorial I will assume that you have a domain/host pointed at your VPS’s dedicated IP. I will use blog.com as an example in this tutorial.

Issue the following command to create a new apache name based vhost;

nano /etc/apache2/sites-enabled/blog.com.conf

And paste the following content (replace blog.com with your domain, use your right click mouse button to paste text in nano);

NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@blog.com
ServerName blog.com
ServerAlias www.blog.com
DocumentRoot /home/blog/www/
ErrorLog /home/blog/logs/error.log
CustomLog /home/blog/logs/access.log combined
</VirtualHost>
Now lets create those specific directories in blog’s home directory;

su blog

mkdir logs

mkdir www

exit

Now lets restart apache so it will load our custom configuration;

/etc/init.d/apache2 restart

Now we have everything we need to install wordpress;

su blog

cd /home/blog/www

wget wordpress.org/latest.zip

unzip latest.zip

mv wordpress/* .

rm -rf wordpress latest.zip

chmod 777 .

Now point your browser at http://blog.com and begin the easy to follow wordpress installation

wordpress_install

The database name we created above was named “wordpress” and the database username was named “blog” with password “YOUR_SECURE_NONREUSABLE_PASSWORD”, leave the values of Database Host and Table prefix as they are (unless you know what you’re doing). Insert those values accordingly and click Submit.

That’s it, your wordpress blog is installed and you can enjoy all the features wordpress can provide.

After you have finished the wordpress configuration wizard (set blog name, email etc) you’d need to clean up a bit, return to your SSH seasion and issue these commands;

exit # so you would be logged in as root

cd /home/blog/www

chmod 755 .

chown blog:blog wp-config.php

chmod 644 wp-config.php

And you’re done, you may also use your username blog to login via ftp to manage your files.

Of course this setup isn’t limited to wordpress only, you may also install any mysql driven web application in a sub directory inside /home/blog/www/

This is a minimal and secure way to host your websites, you may add as many websites as you want repeating these steps

  • Create a new system user by issuing adduser username command
  • Create a new vhost configuration file in /etc/apache2/sites-enabled/ by issuing nano /etc/apache2/sites-enabled/sitename.com.conf following the template above
  • Restarting apache by issuing /etc/init.d/apache2 restart
  • Creating a new mysql database and username using the mysql commands provided above

This is a rather copy/paste tutorial, provided that you edit significant parts like domain name, usernames and passwords.

31st
JAN

OpenVZ VPS

Posted by admin under VPS

OpenVZ is a community project supported by Parallels inc. OpenVZ is a virtualization technology based on the Linux kernel.

OpenVZ is a mature product that has been around for years, offering reliability, stability and performance.

Compared to other virtualization technologies like VMware and XEN, OpenVZ outperforms them both simply because OpenVZ doesn’t use paravirtualization which means all virtual machines share the same kernel as the hardware node providing significant performance.

OpenVZ has been tested and developed for years which ensures best possible experience for all of our customers.