LINUX + VISHAL
TO 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*
Red Hat Enterprise Linux / CentOS Linux Enable EPEL (Extra Packages for Enterprise Linux) Repository
Simply type the following command as root user:
# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
List new repo:
# yum repolist
Sample output:
Loading “skip-broken” plugin
Loading “fastestmirror” plugin
repo id repo name status
addons CentOS-5 – Addons enabled
base CentOS-5 – Base enabled
epel Extra Packages for Enterprise Linux 5 - enabled
extras CentOS-5 – Extras enabled
updates CentOS-5 – Updates enabled
Once installed use yum command to list, view and install the packages:
# yum search package-name
# yum install package-name
You have made very good things and it is very helpfull.
Thanks
mps
Hi It’s Very Nice blog for Linux Admins as well as students who wish to learn linux ..
Thanks.
Milan
thats good yum step wise configure ..god bless u ..