from whence one can infer the context.
mount /dev/cdrom /mnt/
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
rpm -ivh /mnt/Packages/deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
rpm -ivh /mnt/Packages/python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
rpm -ivh /mnt/Packages/createrepo-0.9.9-22.el6.noarch.rpm
rpm --import /mnt/RPM-GPG-KEY-redhat-beta
rpm --import /mnt/RPM-GPG-KEY-redhat-release
mkdir /var/repo
mkdir /var/repo/rhel66
cd /var/repo/rhel66/
cp -R /mnt/Packages/* .
cd /var/repo/
createrepo .
vi /etc/yum.repos.d/server.repo
[server]
gpgcheck=1
name=Red Hat Enterprise Linux 6.6
baseurl=file:///var/repo
yum list
umount /mnt
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
rpm -ivh /mnt/Packages/deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
rpm -ivh /mnt/Packages/python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
rpm -ivh /mnt/Packages/createrepo-0.9.9-22.el6.noarch.rpm
rpm --import /mnt/RPM-GPG-KEY-redhat-beta
rpm --import /mnt/RPM-GPG-KEY-redhat-release
mkdir /var/repo
mkdir /var/repo/rhel66
cd /var/repo/rhel66/
cp -R /mnt/Packages/* .
cd /var/repo/
createrepo .
vi /etc/yum.repos.d/server.repo
[server]
gpgcheck=1
name=Red Hat Enterprise Linux 6.6
baseurl=file:///var/repo
yum list
umount /mnt
yum install -y xauth
Job done
No comments:
Post a Comment