Saturday, 1 August 2015

CentOS Linux - Setting up Yum

Following an earlier post: -


I've just gone through the same process with a freshly downloaded copy of CentOS 

mount /dev/cdrom  /mnt

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-CentOS-6 

mkdir /var/repo

mkdir /var/repo/centos66

cd /var/repo/centos66/

cp -R /mnt/Packages/* .

cd ..

createrepo .

cd /etc/yum.repos.d/

vi server.repo

[server]
gpgcheck=1
name=Centos66
baseurl=file:///var/repo

yum list

umount /mnt

yum install -y telnet

No comments:

Reminder - installing podman and skopeo on Ubuntu 22.04

This follows on from: - Lest I forget - how to install pip on Ubuntu I had reason to install podman  and skopeo  on an Ubuntu box: - lsb_rel...