Web Hosting Talk







View Full Version : Re-compile kernel with ip_conntrack_ftp


aquos
07-29-2003, 11:58 AM
I'd like to re-compile the kernel with ip_conntrack_ftp support but I'm not sure what to do/where to start. Would anybody please show a 'how-to' to do this?

It's Linux 7.3 with WHM/Cpanel.

I really appreciate it.
-A

choon
07-30-2003, 12:14 AM
Hi aquos,

I will assume your OS is Red Hat Linux 7.3. I believe kernel provided by red hat using up2date comes with ip_conntrack_ftp support. Why don't you register your system with RHN and use it to update your kernel?

Just my thoughts :)

Thanks.

Kindest regards,
Choon

RHCE
07-30-2003, 09:34 PM
Hi Choon,

comes with this module

aquos
07-31-2003, 12:03 AM
Yes, its Red Hat Linux 7.3
How do you register and do update?

Thank you.

choon
07-31-2003, 01:45 AM
Hi aquos,

These are the steps and USE IT AT YOUR OWN RISK:

1. Update your configuration for up2date so that it will update your kernel along with other packages. Issue the following command:
# up2date --nox --configure
Then choose 7. removeSkipList and enter C to clear that field. Then choose 24. pkgSkipList and clear that field also. If you have any packages that you don't want RHN to update to its latest available version of whatever packages such as php, httpd etc... simply put into 24. pkgSkipList in this format separate by ;
php*;httpd*; etc...

2. It is time for you to register with RHN, issue the following command:
# rhn_register
Complete the form and you will be shown on the following message which it is easy for you to follow:
Your Update Agent options specify that you want to use GPG.

To install the key, run the following as root:

rpm --import /usr/share/rhn/RPM-GPG-KEY

3. Run up2date to update your profile (no harm doing it although you just registered):
# up2date -p

4. Run up2date to update your system including kernel:
# up2date -u

5. Check for the directories /boot and /lib/modules/ and the file /etc/lilo.conf or /etc/grub.conf whether are the any new files being modified or created. For lilo.conf/grub.conf, you should be able to see the latest kernel version provided by RHN.

6. Reboot and cross your fingers hoping your server will come back up :D

Hope this helps ;)

Thanks.

Kindest regards,
Choon

aquos
08-05-2003, 10:26 AM
Thank you very much Choon. I really appreciate it.

choon
08-05-2003, 06:22 PM
You are welcome ;)

Hope this really helps you in some sense :D

Thanks.

Kindest regards,
Choon