Installing on CentOS

If you want to manually install the module for the apache webserver:

– download the tar.gz file from sourceforge (link: download)
– extract files from archive: tar jxvf mod_ruid2-0.9.8.tar.bz2
– cd mod_ruid2-0.9.8
– compile the module (which apxs -a -i -l cap -c mod_ruid2.c)

It is possible to get an error like this while compiling:

In this situation, first of all, check if you have libcap and libcpa-devel installed on your system:
# rpm -qa | grep libcap

If libcap is installed and you still get that error:

mod_ruid2: Compilation error fix

The module is automatically copied to apache module directory. A simple /etc/init.d/httpd restart will start your apache webserver with the module activated.


About Author

I am a linux passionate and currently working as a Linux Senior System Administrator. I also am a freelancer and help people to complete different jobs. You can hire me on


Leave A Reply

Get new posts by email: