You cannot use Yum to an unregistered Linux by default after installation. As a workaround, you will have to create a repo from your installation CD or ISO file.
1. Mount your DVD/CDROM. Run this command from shell.
2. Or if you have no DVD/CDROM, you can copy your ISO file to the server and mount like this.
3. Change directory to /mnt and run this command
5. Edit /etc/yum.repos.d/iso.repo. Use nano or vi.
6. Paste below and save.
Now try installing using yum.![]()
![]()
PlanetMySQL Voting: Vote UP / Vote DOWN
1. Mount your DVD/CDROM. Run this command from shell.
mount /dev/cdrom /mnt
2. Or if you have no DVD/CDROM, you can copy your ISO file to the server and mount like this.
mount -o loop -t iso9660 yourisofile.iso /mnt
3. Change directory to /mnt and run this command
yum clean all
5. Edit /etc/yum.repos.d/iso.repo. Use nano or vi.
nano /etc/yum.repos.d/iso.repo
6. Paste below and save.
[local]
name=Local CD Repo
baseurl=file:///mnt
gpgcheck=1
gpgkey=file:///mnt/RPM-GPG-KEY
Now try installing using yum.
PlanetMySQL Voting: Vote UP / Vote DOWN