In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Xiaobian to share with you how to use the USB flash drive to configure the local yum source under Linux, I believe most people still do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
On Linux systems, networked, the software installer downloads rpm packages from the yum source configuration path and installs them. We can also configure local yum sources to install packages offline.
Step 1: Make a mirror disk
First of all, we first find a USB flash drive, prepare an image file, use the USB flash drive to make a Linux installation system disk through your own computer, you can use UltralISO to make this software, the specific production method is as follows:
Run UltraISO as an administrator and click the Open button under the File menu to open the prepared ISO image file. Select Boot → Write Hard Disk Image. Before writing, make sure that the files on the USB drive have been backed up, otherwise the system will automatically format the USB drive before writing. After the system formats the USB drive, it starts burning Ubuntu 13.10 images to the USB drive. When the progress bar below is complete, an Ubuntu installation USB drive is complete. PS: Other systems Windows 7/8, Windows XP, VISTA can be made this way. Step 2: Mount the USB flash drive
After making the USB flash drive, boot it and insert it, view and mount the USB flash drive.
[linuxprobe@locallhost]# fdisk -l[linuxprobe@locallhost]# mount /dev/sdb1/mnt/Step 3: Delete the original yum source (backup is recommended)[linuxprobe@locallhost]#rm -f /etc/yum.repos.d/Step 4: Specify the local yum source path [linuxprobe@locallhost]# vi /etc/yum.repos.d/Yum-repo-DVD.repo
Write repository source file [linuxprobe] name=linuxprobe baseurl=file://mnt/ gpgcheck=1 enabled=1 Step 5: Clear cache, reload yum source
[linuxprobe@locallhost]# yum clean all[linuxprobe@locallhost]# yum makecache The above is "How to configure local yum source using USB disk under Linux" All the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.