Redhat – enable fanotify on oracle redhat linux kernel 2.6.39-400

clamavlinux-kerneloracleredhat

As a newbie in linux environment, I am trying to install clamav daemon, which is clamd, on oracle redhat linux 6 kernel EUK 2.6.39-400. It needs to have fanotify enabled in the kernel. As I see there is no fanotify.h in the "/usr/include/directory/". I know the stable release of fanotify is in the 3.6.37 and later of linux kernel. I want to enable it in the current release without getting the source code of the kernel and compile it. Although, I did that before and I faced too many errors and problems in compiling source code.

Is there any management like "windows component manager" in linux to make it easier to enable that feature? Or any other way to make it.

Currently I got the source code of kernel 3.2.x on CentOS and kernel 2.6.32.x and I don't have problem in compiling it to make new working kernel based on source code. but in Oracle linux I have many problems.

Best Answer

Why does this question get down-voted? It appears to me as a serious question.

I would recommend that you start over again. As far as I know clamav is not included in the Oracle Linux distribution. You have to add a yum repository which has clamav.

To add a yum repository add a file to the following path which contains the yum repository configuration: /etc/yum.repos.d/.

Once you did that you can install clamav with yum search clamav clamd. For more information on how to install clamav you might want to look at this blog page: centosblog.com. CentOS is pretty similar to Oracle Linux. So you can adopt the information.

If you are new to linux you also might want approach the topic on a different path. When I was new to linux I used webmin or virtualmin to manage my server. Virtualmin is based on webmin and is optimized for websites, mailservers and DB servers (MySQL and PostgreSQL). Both products have a free and a commercial version.

To install virtualmin you simply install a minimum centos and then use the virtualmin installer script to install all other packages. I never tried to install virtualmin on an Oracle Linux.

I didn't really answer your question but I think this option will bring you closer to you goal.

Related Topic