CentOs: Install ffmpeg & ffmpeg-php 0.6

The ffmpeg installed by yum cannot be used with ffmpeg-php, so we need to download and compile it: cd ~admin/software wget http://www.ffmpeg.org/releases/ffmpeg-0.6.tar.gz tar zxfv ffmpeg-0.6.tar.gz cd ffmpeg-0.6 ./configure –enable-shared make make install Now we need to download and configure ffmpeg-php: cd ~admin/software wget http://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2?use_mirror=puzzle&ts=1278667907 tar -xjf ffmpeg-php-0.6.0.tbz2 cd ffmpeg-php-0.6.0 phpize… Continue reading

Secure new CentOs install

Step 1: Secure SSH Log in as root to your server and type the following commands to backup and then edit the SSH configuration: cp /etc/ssh/ssh_config /etc/ssh/ssh_config.bak; cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak vi /etc/ssh/ssh_config Hit the i key to enter insert mode. Then uncomment all the lines after (and including) Host *… Continue reading