In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
It is believed that many inexperienced people have no idea about how to compile and install CentOS Apache. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
1. Download: CentOS Apache
[root@localhost src] # chmod + x httpd-2.2.8.tar.gz
[root@localhost src] # tar-zxvf httpd-2.2.8.tar.gz
2) CentOS Apache sets the compilation parameters of the compiler
[root@localhost src] # cd httpd-2.2.8
[root@localhost httpd-2.2.8] #. / configure-prefix=/usr/local/apache2-enable-module=so
3) CentOS Apache compilation and installation:
[root@localhost httpd-2.2.8] # make; make install
# if there are no errors, then Apache is already installed in the / usr/local/apache2 directory
4. CentOS Apache starts the service:
[root@localhost httpd-2.2.8] # / usr/local/apache2/bin/apachectl start
5. CentOS Apache determines the startup status:
[root@localhost apache2] # netstat-utl
Tcp 0 0 *: http *: * LISTEN
# seeing the above line indicates that your Apache has been started.
# visit it with a browser and see It worksworks.This means that apache has been installed successfully.
After reading the above, have you mastered how to compile and install CentOS Apache? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.