ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label mod_. Show all posts
Showing posts with label mod_. Show all posts

2009/12/22

Installing a custom module in cpanel server

To install a custom module:

1. Download and unzip it into /var/cpanel/easy/apache/custom_opt_mods/.
2. When logged into your server as root, you can install any module listed below by running the following commands. Be sure to replace $NAME.tar.gz with the filename of the module you wish to download:

wget http://easyapache.cpanel.net/optmods/$NAME.tar.gz
tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf $NAME.tar.gz

For example:
If you want to install mod_python

cd /var/cpanel/easy/apache/custom_opt_mods

wget http://twiki.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-mod_python.tar.gz
tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf custom_opt_mod-mod_python.tar.gz

Reference : http://docs.cpanel.net/twiki/bin/view/EasyApache3/CustomMods