In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
CentOS 6.5 Build Local Yum Source (http)
YUM is mainly used to automatically upgrade, install\remove rpm packages. It can automatically find and resolve dependencies between rpm packages. To successfully update systems and software with YUM tools, a repository containing various rpm packages is required. The server that provides the software repository is customarily called the "source" server. There are a large number of origin servers on the network, but due to the limitations of network connection speed and bandwidth, software installation takes too long or even fails. Especially when there are a lot of servers and a lot of software packages that need to be upgraded, the slow process of updating is unbearable.
in comparison, that great advantage of local YUM origin servers are fast network connection and stability of the local area network. With the YUM origin server in the local area network, software upgrades and installations of other YUM clients will not be affected even if Internet connectivity is interrupted.
This http method uses Nginx as a web application
First, start Nginx
1, Install Nginx
This process is slightly
2. Configure the nginx.conf file
vi /etc/nginx/nginx.conf
Add the following to http{:
autoindex on; #Enable nginx directory browsing
autoindex_exact_size off; #File size starts in KB
autoindex_localtime on; #Show file modification time as server local time
3. Visit nginx to see if it can be accessed normally
http://10.1.130.188
II. Installation of yum source
1. Mount CentOS 6.5 ISO image
Mount CentOS6.5 ISO image file in VMware virtual machine to linux:
Create directory: mkdir -p /mnt/cdrom
Mount to directory: mount /dev/cdrom /mnt/cdrom
After mounting, you can view all CentOS 6.5 files in the/mnt/cdrom directory:
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.