Step:1
Install yum packages from Linux OS DVD.
# rpm -i deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
# rpm -i python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
# rpm -i createrepo-0.9.8-4.el6.noarch.rpm
Step:2
Configuring Yum repository.
1.Create the Directories:
mkdir -pv /var/ftp/pub/Server
2. Copy the RPMs from the CDs/DVD to /var/ftp/pub/Server
3.Create the base repository headers:
createrepo -v /var/ftp/pub/Server
4.Go to /etc/yum.repos.d and create file with any name
(i.e repo would be fine with .repo extension)
Go to directory : /etc/yum.repos.d/
NOTE: Move other .repo file to another location or delete it.
[root@localhost yum.repos.d]# cat myyum.repo
[local-installation]
name=yum-local
baseurl=file:///var/ftp/pub/Server
enabled=1
gpgcheck=0
For virtual box guest edition
yum install gcc* -y
yum install kernel* -y
Install yum packages from Linux OS DVD.
# rpm -i deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
# rpm -i python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
# rpm -i createrepo-0.9.8-4.el6.noarch.rpm
Step:2
Configuring Yum repository.
1.Create the Directories:
mkdir -pv /var/ftp/pub/Server
2. Copy the RPMs from the CDs/DVD to /var/ftp/pub/Server
3.Create the base repository headers:
createrepo -v /var/ftp/pub/Server
4.Go to /etc/yum.repos.d and create file with any name
(i.e repo would be fine with .repo extension)
Go to directory : /etc/yum.repos.d/
NOTE: Move other .repo file to another location or delete it.
[root@localhost yum.repos.d]# cat myyum.repo
[local-installation]
name=yum-local
baseurl=file:///var/ftp/pub/Server
enabled=1
gpgcheck=0
For virtual box guest edition
yum install gcc* -y
yum install kernel* -y
No comments:
Post a Comment