How to setup Django on the server with CPanel control panel. CPanel uses Python 2.4, but Django requires PHP mod_wsgi, which requires Python 2.6+.
We need to install 2 Python versions.
cd /usr/local/src/
wget http://www.python.org/ftp/python/2.6/Python-2.6.tgz
tar -xvzf Python-2.6.tgz
./configure --enable-shared
make install
cd /etc/ld.so.conf.d
echo "/etc/ld.so.conf.d/opt-local.conf" > python26.conf
ldconfig
Now Now you’re ready to build mod_wsgi through easy_apache. Download custom_opt_mod-mod_wsgi.tar.gz from this ticket at google code and run:
More »
Building FFmpeg on CentOS:
1. Update and install build environment:
yum update
yum install make automake autoconf libtool gcc-c++
2. Install YASM:
cd /tmp
wget http://pkgs.repoforge.org/yasm/yasm-1.1.0-1.el5.rf.x86_64.rpm
rpm -ivh yasm-1.1.0-1.el6.rf.x86_64.rpm