Building a local YUM warehouse via mount system U disk

First, open hbza (CentOS) and yum, the two must be connected

th1Step: athbza Create a directory and enter mkdir /lxk, start with any name. Entermount /dev/cdrom /lxk

< img alt="Share a picture" src="/wp-content/uploads/images/hardware/storage/1626809362253.png" width="420" height="297" >

​< /p>

2Step: Open span>yum, type “cd /etc/yum.repos.d “Enter, lsView, enter”cd bak “, lsView,Entervi CentOS-Media.repo(vi nothing after the space/)

share picture

Step3Step: After entering, modifyfile:/// lxk ,gpgcheck=1,Change to0,enabled=0Change to 1, press esc,wqSave and exit

share picture

Step 4Step: Enteryum list,< span s tyle="font-family: 宋体;">ViewyumIn the warehouse All software, the local warehouse has been built,Then you can install ityumsource file , Enteryum install the package name to install.

Share a picture Share a picture

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1472 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.