26 May 2013

How To: Install EHCP control panel on Ubuntu 12.04-12.10 using the AWS EC2 Free Tier

Get the latest version of EHCP:


root@ubuntu:~$ sudo wget http://www.ehcp.net/ehcp_latest.tgz
root@ubuntu:~$ sudo tar -zxvf ehcp_latest.tgz

Now execute the install.sh script to begin installation:

root@ubuntu:~$ cd ehcp/
root@ubuntu:~/ehcp$ sudo ./install.sh

21 May 2013

How To: Install Webmin in Ubuntu 12.04 using the AWS EC2 Free Tier

Install Webmin


To install webmin in Ubuntu 12.04 using the AWS EC2 Free Tier, you need to open the terminal and add the following repository:

 1- Edit /etc/apt/sources.list file

root@ubuntu:~# sudo nano /etc/apt/sources.list

2- Add the following lines

deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Save and exit the file

17 May 2013

How to: Backup MySQL database and send to Amazon S3

Here's how to use Amazon S3 to keep your MySQL backups.


Make a file e.g.: mysqltos3.sh in your server, for example inside your home directory like: /home/mysqltos3.sh and paste the following code: