Configuring Yum Server in RHEL5

Configuring Yum Server in RHEL5 you should have two RPM -

If  you are planning to install Yum Server in RHEL5 its very easy to do so.

1. vsftpd->vsftpd-2.0.5.10.e l5.i386.rpm
2. createrepo ->
createrepo-0.4.4-2.0.fc6.n oarch.rpm

You have to follow few step which are as follows :-

Step 1. The most important way is to first of all run by using the mentioned command
Run vsftpd rpm
rpm -ivh vsftpd-*.rpm

Step 2.This will help you to insert the IP address with the help of
iptables -I INPUT -p tcp
dport 20 -j ACCEPT

Step 3. iptables -I INPUT -p tcp –dport 21 -j
ACCEPT

Step 4. iptables -I INPUT -p udp –dport 21 -j ACCEPT
iptables -I INPUT -p udp –dport 20 -j ACCEPT

Step 5. This is for SELinux to access
setsebool allow_ftpd_full_access on

Step 6. Then open the specific file :- vim
/etc/sysconfig/iptables-c onfig and modify below mention
line

IPTABLES_MODU LES=”ip_conntrack_netbios_ns
ip_conntrack_ftp”

and now your ftp server is ready to take the responsibilty of yum server.

This entry was posted in cPanel Hosting and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>