ubuntu-11.04-i386-desktop
apt-get install apache2 tomcat6 openjdk-6-jdk tomcat6-admin tomcat6-docs tomcat6-examples
tomcat6路径:/var/lib/tomcat6/webapps/ROOT
jdk路径: /usr/lib/jvm/java-1.6.0.openjdk
a2enmod proxy proxy_connect proxy_http
vi /etc/apache2/mods-enabled/proxy.conf
ProxyRequests On
AddDefaultCharset off
Order deny,allow
Allow from all
# Deny from all
# #Allow from .example.com
ProxyVia Off
vi /etc/apache2/httpd.conf
ServerName yes:80
ProxyPass
ProxyPassReverse
/etc/init.d/apache2 restart
阅读(1476) | 评论(0) | 转发(0) |