Yum configuration process in redhat6.7

background

When I first contacted redhat and wanted to install software, such as gvim, I found that yum install gvim could not solve it. So try to find yum to change the source, resulting in yum being deleted, bash prompt is not a command or directory.

solution

The environment is a virtual machine, which needs to cooperate with the ios image of redhat6.7, and you can contact [email protected] if you need it. Of course, it is also possible to directly use the rpm on the website mirror, but I did not try it.
Refer to the following article

https://blog.csdn.net/jolly10/article/details/80362469

Several corrections were made:
1. The mirror URL was changed to:

http://mirrors.163.com/centos/6/os/x86_64/Packages/

You can use ctrl+f on the webpage to retrieve the required rpm file, and then download it in windows. Some files cannot be downloaded by wget in the linux environment. After you are in the win environment, you can use winscp or filezilla to upload to linux, of course, you can also directly drag and drop to the virtual machine, and find the storage directory in the /opt directory.
In addition, use wget to store the path in ~/Downloads/

2. The following error is reported.

Obviously permission denied, the permission is not enough, just change to the administrator sudo.

effect

Insert picture description here
I wish everyone can master redhat, and I wish the motherland’s IC technology break through the barriers, as I have been trying to explore in the past few days of confusion and ignorance

Guess you like

Origin blog.csdn.net/qq_44801767/article/details/108930295