There are manyArticleSpecifically, I have built a single-host cluster on Linux by referring to mod_proxy + Apache + Tomcat server Load balancer and cluster configuration.
Here, I will only list the problems encountered.
According to the reference documents, Tomcat clusters are easy to build. An error occurred while installing Apache. Because the proxy module is not installed by default during Apache installation, I cannot use the Server Load balancer function during the first installation.
Record the Apache installation process here:
1. configuration is required because Apache is installed in the form of source code.
. /Configure -- prefix =/usr/local/apache2/-- enable-so -- enable-proxy-connect = shared -- enable-proxy-FTP = shared -- enable -proxy-HTTP = shared -- enable-proxy-AJP = shared -- enable-proxy-balancer = shared
The preceding command can also compile the modules involved in Server Load balancer. After compilation and installation, if the corresponding *. So file is displayed in the/usr/local/apache2/modules/directory, the installation is successful.
2. Make clean
3. Make
4. Make install