Apache Installation

Reviews
Shared by: hao nguyen
Stats
views:
14
rating:
not rated
reviews:
0
posted:
2/28/2009
language:
English
pages:
0
Apache Installation 1. Down the latest version of apache (version 2.0.54) 2. Install the software using the custom setup. Then select to change the destination folder, make this "c:\apache" (if the directory does not exists then create it). use all existing defaults after this. 3. Once installed you should have a directory "c:\apache\apache2" and a apache server running on port 80. Use your browser to test this. Tomcat Installation 1. Create a folder "c:\tomcat" on your hard drive in preparation for the tomcat installation. 2. Down the tomcat binary (tomcat 4.1.31) 3. Start the installation but do not take the default directory but change it to "c:\tomcat\tomcat-4-1-31". 4. Enter your the username as admin and a password. 5. Once installed you should have a directory "c:\tomcat\tomcat-4-1-31" and a tomcat server running on port 8080. 6. Use your browser to test this: http://localhost:8080/examples/jsp/index.html (JSP test) http://localhost:8080/examples/servlets/index.html (Servlet test) JK Connector Installation 1. Down load the latest connector mod_jk-1.2.14-apache-2.0.54. You will have noticed that it matches the apache_2.0.54 version we installed earlier. 2. Place the file mod_jk-1.2.14-apache-2.0.54.so in "c:\apache\apache2\modules", note that both .dll or .so files are OK. 3. Add the following line to the apache config file in "c:\apache\apache2\conf\httpd.conf" LoadModule jk_module/mod_jk-2.0.54.so 4. You could run the following command to test the syntax of the apache config file, you should get "syntax OK" c:\apache\apache2\bin\apache.exe -t 5. Edit tomcat configuration file "c:\tomcat\tomcat-4-1-31\conf\server.xml" and add the following below: edit one find this line: add this line just below: edit two find this line: add this below: 7. Once the changes have been saved we need to restart tomcat. Once tomcat has been restarted check to see if a file called I"c:\tomcat\tomcat-4-1-31\conf\auto\mod_jk.conf" exists if not then go back and repeat step 5. 6. Create the workers file called "workers.properties" and save it to "c:\tomcat\tomcat-4-1-31\conf\jk" # Definition for Ajp13 worker worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # END workers.properties 7. In the last step open up apaches config file and add to the bottom of it the following: Include c:\tomcat\tomcat-4-1-31\conf\auto\mod_jk.conf Check Tomcat/Apache 1. Stop and restart Tomcat. 2. Stop and restart Apache. 3. Check the following web pages Test apache - http://localhost (if not working see step apache installation) Test tomcat - http://localhost:8080/examples/jsp/index.html (if not working see tomcat installation) Test tomcat/apache - http://localhost/examples/jsp/index.html (if not working see jk installation) 4. if all web pages work then mod_jk is working. if not then retrace all of the above

Shared by: hao nguyen
Other docs by hao nguyen
The Family Bed
Views: 15  |  Downloads: 0
The Crying Game
Views: 16  |  Downloads: 0
Sob Stories
Views: 3  |  Downloads: 0
Senses Of Wonder
Views: 5  |  Downloads: 0
Safe-Sleep Alert
Views: 15  |  Downloads: 0
Safe Sleep
Views: 87  |  Downloads: 0
Inside The Mind Of A Baby
Views: 13  |  Downloads: 0
How To Trim A Baby
Views: 3  |  Downloads: 0
How Does Your Baby Grow
Views: 17  |  Downloads: 0
Gear Guide for Baby
Views: 8  |  Downloads: 0
Baby Essentials
Views: 0  |  Downloads: 0
All About Ear Infections
Views: 7  |  Downloads: 0
Your New Baby
Views: 16  |  Downloads: 0
Origami
Views: 29  |  Downloads: 3
Related docs
Apache-mods
Views: 24  |  Downloads: 0
Installation Apache_ PHP _ MySQL
Views: 0  |  Downloads: 0
installation of
Views: 47  |  Downloads: 1
Apache Server
Views: 12  |  Downloads: 2
apache_apache_tomcat_v3
Views: 504  |  Downloads: 8
Boeing AH-64 Apache
Views: 2  |  Downloads: 0
Apache, instalasi untuk pemula (bag-1)
Views: 118  |  Downloads: 11
Introduction to Apache Roller.ppt
Views: 38  |  Downloads: 1