I installed OpenVZ on the new video server and then created a 850 gig CentOS5 VPS.
So why did I decide to go with the VPS route when I could just use the dedicated server itself? Here are the advantages I see when you running as an OpenVZ VPS in this case.
- Might have some issues when you ask techs to format your server in a specific way for Xen. This is especially true if you are planning to use hypervm. And also this might cost money.
- Overhead isn’t so bad with virtualization; especially with OpenVZ.
- I could run another independent VPS for some tiny experiment if I wanted to.
- If I screw up on something, it is painless to recreate the VPS and start fresh. Even if you have free OS reloads, it is still a hassle.
- On the worse case scenario where the VPS is compromised badly, you can quickly restore everything. For example you can move your hundreds of gigs of videos to the main platform easily with a command and then destroy and recreate your VPS. On Xen this would be impossible if your VPS space is almost full.
So lets continue on with the rest of the basic settings.
Installed Jason’s ever awesome repo. Get the near latest versions of the softwares.
Did the good ole basic commands to get things rolling.
yum -y update yum install php php-mysql php-gd mysql mysql-server httpd vsftpd
Setup some really anal firewall rules.
Installed the SM script. Make sure you enable .htaccess in httpd.conf
Started on the ffmpeg, mencoder and flv2 for the script
I just have to make a point that I used to compile all these by hand. Sure it was geeky but I have to say, using rpmforge really saves time. Sure I don’t have the latest versions but its SOOO easy!
Here’s a MUCH EASIER way.
Installed the rpmforge repo rpm
wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm yum install ffmpeg mencoder flvtool2
Patiently wait for the 73 packages to download.
Continue to Part 2 (installing Nginx webserver and other things).
