2008. 11. 10. 19:26
[Linux][Ubuntu] Tomcat, Apache2 설치
2008. 11. 10. 19:26 in Linux/Ubuntu
1. jdk
$ sudo apt-get install sun-java6-jdk
2. tomcat
$ sudo apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
- /etc/default/tomcat5.5 : Path정보
- /etc/tomcat5.5 : server.xml, web.xml
- /etc/init.d/tomcat5.5 : stop, start, restart
- /usr/share/tomcat5.5 : tomcat home
- /var/lib/tomcat5.5 : tomcat Vars
- /var/log/tomcat5.5 : tomcat Logs
$ sudo vi /etc/default/tomcat5.5
- JAVA_HOME 앞의 주석처리 제거
3. apache2
$ sudo apt-get install apache2
- /etc/apache2 : apache config
- /usr/lib/apache2 : modules
- /etc/init.d/apache2 : stop, start, reload
- /usr/sbin/a2* 실행파일 : apache mod, site 설정, 해제 스크립트
4. jd connector
$ sudo apt-get install libapache2-mod-jk
$ sudo apt-get install sun-java6-jdk
2. tomcat
$ sudo apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
- /etc/default/tomcat5.5 : Path정보
- /etc/tomcat5.5 : server.xml, web.xml
- /etc/init.d/tomcat5.5 : stop, start, restart
- /usr/share/tomcat5.5 : tomcat home
- /var/lib/tomcat5.5 : tomcat Vars
- /var/log/tomcat5.5 : tomcat Logs
$ sudo vi /etc/default/tomcat5.5
- JAVA_HOME 앞의 주석처리 제거
3. apache2
$ sudo apt-get install apache2
- /etc/apache2 : apache config
- /usr/lib/apache2 : modules
- /etc/init.d/apache2 : stop, start, reload
- /usr/sbin/a2* 실행파일 : apache mod, site 설정, 해제 스크립트
4. jd connector
$ sudo apt-get install libapache2-mod-jk