Red Hat Enterprise Linux 5 Installing Command……!!!!!

0

Here are the command for installing Red Hat Packet Manager…

Login: root

Password: ******

[root@localhost]#ls  /mnt/

[root@localhost]#mount  /dev/cdrom  /mnt/

[root@localhost]#mkdir  /var/ftp

[root@localhost]# mkdir  /var/ftp/pub

[root@localhost]# cp  -rf  /mnt/Server/  /var/ftp/pub/

[root@localhost]# vi  /etc/yum.repos.d/rhel-debuginfo.repo

   Edit the required field after applying the previous command.

name= Red Hat Enterprise Linux

baseurl= file:///var/ftp/pub/Server/

enabled= 1

gpcheck= 0

Note: [save the file  :wq]

Continuation:-

[root@localhost]# cd  /var/ftp/pub/Server/

[root@Server]# rpm  -ivh   createrepo-0.4.4-2.fc6.noarch.rpm

[root@Server]# cd

[root@localhost]# createrepo  -v  /var/ftp/pub/Server/

[root@localhost]# rm  -rf  /var/ftp/pub/Server/.olddata

Now package install using yum 

[root@localhost]# yum install netconfig*

press ‘y’ for executing the package 

Note: all these command is used for RHEL 5 for Installing yum procedure. This is my first post about Linux. I hope this will be helpful for everyone.

                                                                 Thank you…….

Share.

About Author

FerozAslam

Leave A Reply

Powered by themekiller.com