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)05/31 Report--
In this article, the editor introduces in detail "how to configure the reverse proxy and load balancer of Apache service". The content is detailed, the steps are clear, and the details are handled properly. I hope that this article "reverse proxy and load balancer configuration of Apache service" can help you solve your doubts.
Install apache
Direct yum installation of backend host
Yum install httpd-y
The reverse proxy is compiled and installed with source code.
Yum install apr-devel pcre-devel apr-util-devel openssl-devel-y
Compile and install the apache service
Cd / usr/local/src/
Wget http://mirrors.hust.edu.cn/apache/httpd/httpd-2.2.34.tar.gz
Tar zxf httpd-2.2.34.tar.gz
Cd httpd-2.2.34
. / configure-- prefix=/usr/local/http-- enable-so-- enable-modules= "all"
Make & & make install
Configure apache
Modify the port of the backend host to 8080
Sed-I "s#Listen 80#Listen 8080g" / etc/httpd/conf/httpd.conf
/ etc/init.d/httpd start
Configure reverse proxy server
First of all, open the relevant modules
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
Modify the configuration file
Cat > > / usr/local/http/conf/httd.conf
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.