January 19th, 2010 by admin
To enable phpmyadmin at cpanel server to import zipped mysql dumps you need to reconfigure internal cpanel php installation..
Edit /var/cpanel/easy/apache/profile/makecpphp.profile.yaml
Change: Cpanel::Easy::PHP5::Zip: 0=0
To: Cpanel::Easy::PHP5::Zip: 1
Save the file
Run `/scripts/makecpphp`
before running the last command make sure the file /var/cpanel/easy/apache/profile/makecpphp.profile.yaml is chattr +i.
Posted in Cpanel/WHM | 2 Comments »
January 14th, 2010 by admin
I really started to like nginx web server, and here is my procedure step by step how to install this server on CentOS 5.4
yum install gcc pcre-devel openssl-devel
wget http://nginx.org/download/nginx-0.7.65.tar.gz && tar xvfz nginx-0.7.65.tar.gz
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_gzip_static_module
make
make install
ln -s /usr/local/nginx/conf /etc/nginx
ln -s /usr/local/nginx/logs /var/log/nginx
ln -s /usr/local/nginx/sbin/nginx /usr/sbin/nginx
Then grab this init script for red hat from http://wiki.nginx.org/RedHatNginxInitScript and put it in /etc/init.d/nginx file. Chmod 755 the file and you are ready.
Posted in General linux admin | No Comments »