YUM

Install Yum Server With Vsftpd

1. install Rhel5 DVD in dvd drive,

2. install vaftpd and createrepos RPM find in DVD,

3. Run this command # service vsftpd restart,

4. copy all data packages in dvd are copy on /var/ftp/pub directory,
#mount /dev/dvd /mnt
#cp -r /mnt/* /var/ftp/pub

5. run createrepo command for create repository on /var/ftp/pub directory
#createrepo -v /var/ftp/pub (3min time)

6. now configure and edit yum.conf file
#vim /etc/yum.conf
[gpg]
name=your server name
baseurl=ftp://your ftp ip/pub
gpgcheck=0
enabled=1
:wq (save the file)

7. #service vsftpd restart
#chkconfig vsftpd on

8. chack the yum repo service
#yum list all
#yum clean all
#yum update all
#yum -y install vnc*

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s