环境:
apache2.0.63
jakarta-tomcat-connectors-jk-1.2.6-src.tar.gz
confluence3.0.1-std
原理:
将 confluence3.0.1-std tomcat 改为8009端口提供服务,并使apache来响应访问请求,并将访问请求发送至tomcat 8009端口
start:
安装apache2.0.63目录为:/usr/local/apache2
http://cid-81c7350075f27e4c.spaces.live.com/blog/cns!81C7350075F27E4C!148.entry
安装jakarta-tomcat-connectors-jk-1.2.6-src.tar.gz
http://cid-81c7350075f27e4c.spaces.live.com/blog/cns!81C7350075F27E4C!251.entry
安装confluence /usr/local/confluence
http://cid-81c7350075f27e4c.spaces.live.com/blog/cns!81C7350075F27E4C!249.entry
配置confulence
vi /usr/local/confluence/conf/server.xml
清空所有内容并添加:
<Server port="8005" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector port="8009" minSpareThreads="5" maxThreads="256" protocol="AJP/1.3" URIEncoding="UTF-8"/>
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps">
<Context path="/confluence" docBase="/usr/local/confluence/confluence"/>
<Logger className="org.apache.catalina.logger.FileLogger"/>
</Host>
</Engine>
</Service>
</Server>
之后依次重新启动 tomcat 和 apache ,访问 IP/confluence 就可以访问confluence