In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
VI. Yum changes domestic sources
Sometimes the source that comes with the system is not easy to use, some are foreign sources, and the access speed is not as fast as the domestic one.
Delete the previous dvd.repo and restore the previous backup
Delete CentOs-base.repo
Download the source of 163
Curl-O http://mirrors.163.com/.help/CentOS7-Base-163.repo
Curl-O
7. Download rpm package for yum
Install the extended source epel
When you use yum list to view it, you will find that there is an extra pile of epel.
Download only and do not install
Yum downloader
Download to the current path
Yum install-y package name downloadonly
You need to confirm whether the downloaded rpm package has been installed.
The location of the download package
Ls / var/cache/yum/x86_64/7/ Warehouse name / packages
Download the package to the specified path
Yum install-y package name-- downloadonly-- downloaddir= path
After downloading zsh, the package can be found in the / tmp/ directory.
Reinstall already installed packages
View the package according to the command
Yum provides "/ * / vim"
8. Source code package
Convention: source package storage path / usr/local/src/
Download the source package
Wget https://ftp.bit.nl/apache/httpd-2.2.29.tar.gz
Extract and view
Tar-zxvf http-2.4.39
View the documentation README
View INSTALL installation documentation
Start the installation and specify the installation path. / configure-- prefix=/usr/local/apache2
Can you use echo $? Check to see if it is correct. 0 means there is no problem. 1 or other instructions are incorrect. Check whether the command is correct.
Prompt APR not found to download the corresponding package
Specific solution reference: https://www.cnblogs.com/redhatlinux/archive/2012/04/16/2451768.html this document
Apache make compilation error solution reference: https://blog.51cto.com/lsxme/2048003
Make & & make install
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.