ovh vps cloud vms

Just in the process of moving all my web hosting to OVH VPS cloud VMs and thought it’d be useful to document how to turn a vanilla OVH VPS into a personal multi-site webhost !

  • use OVH control panel to replace debian with centos
  • add a user
  • disable root ssh login
  • restart sshd
  • disable/uninstall unnessesary services such as smartmontools yum-updatesd
  • yum check-update
  • run system-config-security
  • yum install redhat-lsb
  • rpm install rpmforge-release
  • yum install fail2ban
  • replace sendmail with postfix (unless you like sendmail)
  • install LAMP (inc httpd,mod_ssl and PHP 5.3.3)
  • secure mysql (change root pwd and delete guest accounts & dbs)
  • chkconfig httpd and mysqld on
  • yum install perl-Crypt-SSLeay perl-Net-SSLeay
  • yum install webalizer
  • install webmin
  • secure webmin (change user & port)
  • install virtualmin
  • enable https
  • disable virtualhost mail handling (unless your not using goog apps)
  • install rrdtools
  • install webmin systemstats
  • create virtual hosts
  • scp public_html tgz and mysql sql dumps from old webhost
  • untar tgz and mysql < sql
  • change DNS ip addresses from old webhost to new webhost
  • wait 1 min !
  • check new site is running !
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s