Take RHEL 5 Server All CD's And Copy The Below Directories
 
On The Server Side :
------------------
 
1) cp -av Server /var/ftp/pub/
 
2) cp -av VT /var/ftp/pub/
 
3) cp -av Cluster /var/ftp/pub/
 
4) cp -av ClusterStorage /var/ftp/pub/
 
5) rpm -ivh createrepo*.rpm
 
6) createrepo -v /var/ftp/pub/Server
 
NOTE : If It Complaints About /var/ftp/pub/Server/.olddata Then
 
       rm -frv /var/ftp/pub/Server/.olddata
 
And Rerun The Command
 
createrepo -v /var/ftp/pub/Server
 
7) createrepo -v /var/ftp/pub/VT
 
NOTE : If It Complaints About /var/ftp/pub/VT/.olddata Then
 
       rm -frv /var/ftp/pub/VT/.olddata
 
And Rerun The Command
 
createrepo -v /var/ftp/pub/VT
 
8) createrepo -v /var/ftp/pub/Cluster
 
NOTE : If It Complaints About /var/ftp/pub/Cluster/.olddata Then
 
       rm -frv /var/ftp/pub/Cluster/.olddata
 
And Rerun The Command
 
createrepo -v /var/ftp/pub/Cluster
 
9) createrepo -v /var/ftp/pub/ClusterStorage
 
NOTE : If It Complaints About /var/ftp/pub/ClusterStorage/.olddata Then
 
       rm -frv /var/ftp/pub/ClusterStorage/.olddata
 
And Rerun The Command
 
createrepo -v /var/ftp/pub/ClusterStorage
 
 
At The Client Side :
------------------
 
1) Create The File As
 
vi /etc/yum.repos.d/base.repo
 
[Server]
name=Server RPM's
baseurl=ftp://YUM Server IP/pub/Server
enable=1
gpgcheck=0
 
[VT]
name=Workstation RPM's
baseurl=ftp://YUM Server IP/pub/VT
enable=1
gpgcheck=0
 
[Cluster]
name=VT RPM's
baseurl=ftp://YUM Server IP/pub/Cluster
enable=1
gpgcheck=0
 
[ClusterStorage]
name=VT RPM's
baseurl=ftp://YUM Server IP/pub/ClusterStorage
enable=1
gpgcheck=0
 
 
# yum install RPMNAME*
 
# yum update

Reply via email to