Apache Install and use document _linux

Source: Internet
Author: User
Tags documentation file copy zip
First, the preparatory work:
1 PCs, install Linux operating system reference documentation Linux installation. docx
2 installation reference documentation for GCC installation of GCC. zip
3 Apache installation package httpd-2.0.63.tar.gz

Second, the installation of Aoache:
#cd/opt
#gunzip httpd-2.0.63.tar.gz
#tar –XVF Httpd-2.0.63.tar
#cd httpd-2.0.63
#./configure--prefix=/opt/apache2–enable-so–enable-proxy–enable-proxy-ajp–enable-proxy-http–enable-proxy-ftp– Enable-proxy-connect–enable-proxy-balancer
#make
#make Install
Note: 1 paths, to be installed under/opt/apache2
2 A missing file may be reported when make is executed because Linux does not have GCC installed, so install the GCC,GCC installation Reference "GCC installation. zip" first.


Third, to supplement the lack of Apache files
After the above execution, put mod_wl_20.so this file copy to/opt/apache2/moules
Mode_wl_20.so can be found under Bea \server\lib\linux\i686.



Four, configure Apache
Apache configuration file in/opt/apache2/conf/httpd.conf, find the line listen 80, add the following below.
Include conf/weblogic.conf
Under Conf Create a new file: Weblogic.conf, the inside configuration is as follows.
LoadModule Weblogic_module modules/mod_wl_20.so

<Location/ACS-server/ACS>
SetHandler Weblogic-handler
Weblogiccluster 135.251.218.17:7013,135.251.218.14:7013
Debug All
Wltempdir "/opt/apache2/logs"
Debugconfiginfo on
Dynamicserverlist off
</Location>
<Location/ACS-server/hnmACS>
SetHandler Weblogic-handler
Weblogiccluster 135.251.218.17:7013,135.251.218.14:7013
Debug All
Wltempdir "/opt/apache2/logs"
Debugconfiginfo on
Dynamicserverlist off
</Location>
<Location/csr>
SetHandler Weblogic-handler
Weblogiccluster 135.251.218.17:7013,135.251.218.14:7013
Debug All
Wltempdir "/opt/apache2/logs"
Debugconfiginfo on
Dynamicserverlist off
</Location>
<Location/report>
SetHandler Weblogic-handler
Weblogiccluster 135.251.218.17:7013,135.251.218.14:7013
Debug All
Wltempdir "/opt/apache2/logs"
Debugconfiginfo on
Dynamicserverlist off
</Location>
<Location/hdm>
SetHandler Weblogic-handler
Weblogiccluster 135.251.218.17:7013,135.251.218.14:7013
Debug All
Wltempdir "/opt/apache2/logs"
Debugconfiginfo on
# dynamicserverlist off
</Location>
<ifmodule mod_weblogic.c>
#Include conf/weblogic.conf
Weblogiccluster 135.251.218.17:7013,135.251.218.14:7013
MatchExpression *.jsp
MatchExpression *.do
Debug All
Wllogfile Logs/wlacess_mimm.log
Wltempdir "/opt/apache2/logs"
# Statpath True
Debugconfiginfo on
Keepaliveenabled True
Keepalivesecs 15
</IfModule>


V. Running and Testing
#cd/opt/apache2/bin
#./apachectl start
Start Apache
If you enter Http://apache where IP/HDM can access the HDM deployed on 14 and 17, then the configuration is proven to be successful!
You shutdown14 and 17 of any machine that can still access
#./apachectl stop
Turn off Apache


VI. Matters of note
1, according to the application name to be deployed in weblogic.conf to configure a location
2, if the installation directory in/opt/apache2, you can directly copy the existing weblogic.conf and httpd.conf

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.