tomcat在ubuntu上的默认目录
2014-01-15 16:40
246 查看
Tomcat 6 Directory Locations on Ubuntu Server 11.04
I started playing around with Ubuntu Server on a locally created virtualbox virtual machine today and used aptitude to install tomcat 6.0.28. Being used to the implementation one downloads directly from the ApacheSoftware Foundation, quite a few minutes were spent figuring out where files were placed. Below are the locations for folks spending time searching the web to find out things like where the webapps directory is on Ubuntu Server 11.04 or where the tomcat6
access logs might be located.
Default Installation Paths
Logs: /var/log/tomcat6
Binaries and Libs: /usr/share/tomcat6 (although libs are symlinked to /usr/share/java and some jars inside the bin directory get symlinked to /usr/share/java as well)
System start/stop/status script: /etc/init.d/tomcat6.
CATALINA_HOME: /usr/share/tomcat6
CATALINA_BASE: /var/lib/tomcat6
The default webapps directory location is under /var/lib/tomcat6/
Configuration files are under /etc/tomcat6/
I haven't given it a try yet but I prefer storing java options inside a setenv.sh script but the /etc/init.d/tomcat6 doesn't have any reference to setenv.sh like /usr/share/tomcat6/bin/catalina.sh does, so it will
be interesting to see whether enabling jmx via setenv.sh will work or if I'll need to modify /etc/init.d/tomcat6.
相关文章推荐
- 修改Tomcat的默认访问目录
- ubuntu 打开终端默认路径不是家目录
- [转]更改Tomcat默认目录+端口+设置缺省网页的方法
- Ubuntu 15下 Apache修改网站根目录及默认网页
- ubuntu 下修改apache的默认端口与根目录
- ubuntu 下修改apache的默认端口与根目录
- Linux下修改Tomcat的默认目录
- tomcat 默认目录修改
- linux下修改tomcat的默认目录
- 将ubuntu默认的目录中文名改为英文
- linux 下 tomcat 默认目录
- Ubuntu Apache 各项默认目录
- ubuntu14.04 apache修改网站根目录以及默认网页
- Ubuntu-tomcat7目录
- ubuntu-16.04更改mysql默认数据存储目录
- 修改Tomcat的默认访问目录
- Tomcat发布网站修改端口、修改默认发布目录、多域名绑定)
- Ubuntu 16 apache2 修改网站默认目录以及默认首页
- Tomcat应用程序目录、端口、默认目录、应用程序默认打开文件、使用数据库连接池等方面的配置
- tomcat 默认网站和虚拟目录配置