1, create a mount directory
mkdir /mnt/cdrom
2, mount disc file mount -o loop /dev/cdrom /mnt/Cdrom (cdrom is the CD-ROM drive, please confirm it yourself)
3, edit repoa, mkdir /etc/yum.repos.d/temp (create temp backup directory)
b, remove the file and Back up to the temp directory mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/temp/
c, copy CentOS-Base.repo to the original directory cp /etc/Yum.repos.d/temp/CentOS-Base.repo /etc/yum.repos.d/
d, modify the CentOS-Base.repovi etc/yum.repos.d/CentOS-Base.repo annotation Remove all lines starting with baseurl or mirrorlist in CentOS-Base.repo and add the following line to each item: baseurl=file:///mnt/cdrom to save and exit.
e, restart yum-updatesd service service yum-updatesd restart
3, use the shell to type the command system-config-packages
1 Start vSphere Client2 Start Virtual Machine [Right-click on VM, select Power —>Open] and
Ten years ago, Red Hat Enterprise Linux was released, marking the official entry of Linux into enter
First, what is haproxyHAProxy provides high availability, load balancing, and agents based on TCP a
This article introduces the concept, role, and usage of LVM to help you understand LVM and to use LV
How to use rz and sz to transfer files in SecureCRT
View the method of linux server traffic summary
Research on security issues under Linux operating system
Linux log server build (rsyslog+loganalyzer)
Detailed explanation of RPM command parameters in Linux
Network programming errors and processing under Linux
Linux delete files before the specified date
Why is the linux system newly mounted partition already used more than 100 M space
Too many open files Error resolution
How to implement VM automatically with Xenserver host
How to prevent Office2013 from displaying recently used files
Simple way to set up LAN file sharing under Win 7
Linux operating system compression command related
Why can't Win8 Metro program open?
The most important 70 tips and tricks for Windows 7 (2)
Win10 KB3074681 update caused the desktop process to crash
How to use Group Policy to delete the logout function in win7 Ultimate?
How to roll back to Win7/Win8.1 after upgrading Win10 system
Win10 Preview Edition 10056 users can earn their own achievement medals