Blogger templates

Thursday, 11 April 2013

YUM Server Configuration in RHEL5


YUM Server Configuration in RHEL5




YUM Server Configuration in RHEL5 (Yellow Dog Updater Modified) -for increasing the package integrity.

Step 1: install createrepo.rpm from the DVD for creating repository.
# rpm -ivh createrepo.rpm

Step 2: copy all rpms form the DVD and past over the hard disk share them up in NFS.
#createrepo /path-to-rpms
eg: createrepo /var/ftp/pub
It will take several minutes that depends upon the number of rpms that you have copied from the DVD specified and the configuration of your machine.

Step 3: Touch the following file with the contents specified.
#vi /etc/yum.repos.d/somename.repo
[base]
name=friendly name
enabled=1
gpgcheck=0

Step 4: Use the yum server in the same machine because server is the first client of the same service most of the times
the following command is used for install gcc compiler
#yum install gcc

Note: Remember ftp or http service has to be running in the yum server.

Client configuration:
Step 1: Touch the following file with the contents specified in case of ftp server is running in the server machine
#vi /etc/yum.repos.d/somename.repo
[base]
name=friendly name
baseurl=ftp://192.168.0.254/pub
enabled=1
gpgcheck=0

Step 2:
the following command is used for install gcc compiler
#yum install gcc
these are the commands for removing the service specified
#yum erase gcc
#yum remove gcc
for mail server
#yum install sendmai

No comments:

Post a Comment

 

Blogroll

Hello Friends myself Sahaj Ohri live at Jaipur city , This Website is mainly for Youth, You can explore a youth network here on www.techowner.blogspot.in As it is generally an information sharing platform when you can get information and also share information. If you are having some information.I am 19 years old guy from India who have interest in making blogs.I am a simple guy who likes to spent his time with Friends,watching movies,and reading various types of books. I loves to sharemy personal view with those people who have interest inmaking website, blog etc.Here I also give you some technical knowledge about making website attractive and some other technical support(knowledge) using WordPress as your CMS.Dear Friends, As an author, I’m trying my best to improve this platform day by day. If you are having any idea or suggestion in your mind about this website then you are free to contact me and share your thought. Contact : For Issues regarding advertisement, copyright issues or ideas sharing, you can contact us on the following details. sahaj.ohri3@gmail.com

About

Hello Friends myself Sahaj Ohri live at Jaipur city , This Website is mainly for Youth, You can explore a youth network here on www.techowner.blogspot.in As it is generally an information sharing platform when you can get information and also share information. If you are having some information.I am 19 years old guy from India who have interest in making blogs.I am a simple guy who likes to spent his time with Friends,watching movies,and reading various types of books. I loves to sharemy personal view with those people who have interest inmaking website, blog etc.Here I also give you some technical knowledge about making website attractive and some other technical support(knowledge) using WordPress as your CMS.Dear Friends, As an author, I’m trying my best to improve this platform day by day. If you are having any idea or suggestion in your mind about this website then you are free to contact me and share your thought. Contact : For Issues regarding advertisement, copyright issues or ideas sharing, you can contact us on the following details. sahaj.ohri3@gmail.com