cd /usr/local/src/

wget http://nginxcp.com/latest/nginxadmin.tar

tar xf nginxadmin.tar

cd publicnginx
./nginxinstaller install

 

if python crashes follow the steps below:

 

cd /usr/local/src/

wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz

tar fxz Python-2.5.2.tgz

cd Python-2.5.2
./configure
make
make install
fresh install

killall -9 nginx

cd /usr/local/src/publicnginx
./nginxinstaller uninstall
./nginxinstaller install

/etc/init.d/httpd restart