1. Open the CentOS 7 virtual machine. 2. Log in to the virtual machine and select the unlisted username: root Password: Enter the password you set and click Login. 3. Right click to open the terminal. 4. Enter the cd .. command twice to return to the root directory. 5. Create a directory called chenzishuo and enter mkdir /chenzishuo in the terminal 6. Configure the local yum, mount the CD to Chen Zishuo, and enter mount /dev/cdrom /chenzishuo in the terminal 7. Enter the yum.repos.d file and enter cd /etc/yum.repos.d in the terminal. After entering, enter the command ls to open the current folder. 8. Enter the command in the terminal:
9. Open the CentOS-Media.repo file and enter the command vi CentOS-Media.repo in the terminal 10. Modify the content of the current file. Change to: baseurl = file:///chenzishuo gpgcheck = 0 enabled = 1 Finally, press esc and shift and: enter wq to save and exit 11. Enter the command yum list in the terminal 12. Wait for a while, and the list will show that the yum local warehouse has been built successfully. Summarize The above is the graphic tutorial of VMware 15.5 version that I introduced to you by mounting the system CD to build a yum warehouse. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: A brief discussion on using Vue to complete the mobile apk project
>>: Install mysql5.7 on Ubuntu 18.04
Compared with the old life cycle Three hooks are ...
Preface As a basic data structure, arrays and obj...
First run the docker container Run the command as...
I worked in operations and maintenance for two ye...
This article records the detailed installation tu...
Table of contents 1. Merge arrays 2. Merge arrays...
1. First of all, we need to distinguish between t...
Fix for issues with historical Linux images The E...
Debug branch During the normal development of a p...
Methods for changing passwords before MySQL 5.7: ...
10.4.1 The difference between Frameset and Frame ...
It’s National Day, and everyone is eager to celeb...
This article uses examples to describe how to cre...
Table of contents question analyze solve Replace ...
Function currying (black question mark face)? ? ?...