Steps to configured Yum server installation on Linux

Configured Yum server installation on Linux to install rpm packages with dependencies.

1. Go to CD drive on Linux :

cd /media/RHEL_5.4\ i386\ DVD/

Configured the rpm package with yum utility to install package with all dependencies including after the installation of Linux Operation system. You can configured the repository of packages then you can easily install any package included with dependence of package. In linux, after repository creation, you can easily install any oracle default package.
2. Install the ftp package

rpm -ivh vsftpd-2.0.5-16.el5.i386.rpm     -- -install ftp package

3. Check space available on Linux Server:

df -ha

4. Copy the server folder from CD to local disk

cp -av Server/ /var/ftp/pub/             ---- copy all software rpm package i.e is server folder

5. Copy the VT folder from CD to local disk.

cp -av VT/ /var/ftp/pub/

6. Go to the folder where it copy

cd /var/ftp/pub/

7. Remove the repodata file from both server and vt folder.

rm -rf Server/repodata
rm -rf VT/repodata

8. Install the createrepo package on Linux

rpm -ivh Server/createrepo-0.4.11-3.el5.noarch.rpm

9. Create repo file again in Server Directory.

createrepo -v Server/

10. Create repo file again in VT directory.

createrepo -v VT/

11. Go to following directory:

cd /etc/yum.repos.d/

12. Create new file and ip address of your own machine.

vi ss.repo

save this file.

13. You can also create ss.repo from this ( not run this step not necessary)

cp rhel-debuginfo.repo  ss.repo

14. Run the following command configure ftp:

setsebool -P ftpd_disable_trans 1

15. Restart the vsftpd service:

service vsftpd restart

Now Yum is configured Please verify this installation:

yum -y install gcc*
yum -y install glibc*
yum -y install compat-db-*
yum -y install compat-*
yum -y install openmoti*
yum -y install setarch*

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.