在debian7.8安装wcp知识库
原文: http://git.oschina.net/macplus/WCP/wikis/wcp%E7%9F%A5%E8%AF%86%E5%BA%93%E7%B3%BB%E7%BB%9F%E7%9A%84%E5%AE%89%E8%A3%85 1、安装tomcat6 test@debian78:~$ wget http://apache.fayea.com/tomcat/tomcat-6/v6.0.44/bin/apache-tomcat-6.0.44.tar.gz test@debian78:~$ tar xzvf apache-tomcat-6.0.44.tar.gz test@debian78:~$ sudo mv apache-tomcat-6.0.44 /usr/local/apache-tomcat test@debian78:~$ sudo chown -R root:root /usr/local/apache-tomcat test@debian78:~$ sudo vi /etc/profile 末尾添加: export CATALINA_HOME=/usr/local/apache-tomcat test@debian78:~$ sudo cp /usr/local/apache-tomcat/bin/catalina.sh /etc/init.d/tomcat