Create a local YUM Server on RHEL7

#mount /dev/sr0 /cdrom
#cd /cdrom/
#cp -rvf Packages/ /
#umount /cdrom
#chmod -R 755 /Packages
#createrepo /Packages/
#cd /etc/yum.repos.d/
#vim local.repo
[local]
name=local
baseurl=file:///Packages
enabled=1
gpgcheck=0
#yum clean all
#yum repolist all
#yum install vsftpd

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store