cmake error
yum -y install \
ncurses \
ncurses-devel \
bison \
cmake
The following error was reported when installing MySQL:
cmake-2.8.12.2-2.el7.x86_64: [Errno 256] No more mirrors to try
Solution
Reporting this error indicates that there is a problem with the mirroring.
Enter the command "df -Th" to view the mounting situation of the mirrored disc
. As can be seen from the figure above, the mirrored disc is not mounted.
So you need to enter the command "mount /dev/cdrom /mnt" to mount the mirror
At this point, it can be installed normally.
In order to avoid this situation in the future, you can add the mirror as a permanent mount
vi /etc/fstab
/dev/cdrom /mnt iso9660 defaults 0 0
:wq
More methods and techniques for building Yum warehouse can be found in this blog
Portal: Linux deployment of yum warehouse and NFS sharing service