Installation is very simple, casually write, record down may be useful later. First introduce the environment: centos6.x,wdcp_v2.5.10,apache2.2.24, other versions of their own reference.
Casually, the initial installation WDCP is the use of source code installation, the source code extracted to/ROOT/LANMP. The following is the Install Agent Module command (note Other versions, source path differences):
The code is as follows |
Copy Code |
cd/root/lanmp/httpd-2.2.24/modules/proxy/#进入源码目录 /www/wdlinux/httpd-2.2.24/bin/apxs-i-c-a mod_proxy.c proxy_util.c #编译安装 /www/wdlinux/httpd-2.2.24/bin/apxs-i-c-a mod_proxy_http.c /www/wdlinux/httpd-2.2.24/bin/apxs-i-c-a mod_proxy_ftp.c /www/wdlinux/httpd-2.2.24/bin/apxs-i-c-a mod_proxy_connect.c |
If normal, it will generate mod_proxy.so, mod_proxy_connect.so, mod_proxy_ftp.so, Mod_proxy_ in/www/wdlinux/httpd-2.2.24/modules/. Http.so several files. Also check to see if/www/wdlinux/httpd-2.2.24/conf/httpd.conf added the following lines if the manual increase is not increased:
The code is as follows |
Copy Code |
LoadModule Proxy_module modules/mod_proxy.so LoadModule Proxy_http_module modules/mod_proxy_http.so LoadModule Proxy_ftp_module modules/mod_proxy_ftp.so LoadModule Proxy_connect_module modules/mod_proxy_connect.so |
Then restart Apache, finish the call!
In the middle also did not encounter what installs the question, probably is because installs relatively simple, hoped that has the help to everybody.