ubuntu 14.04 安装tomcat服务器 配置图片路径和文件路径

root@hett-PowerEdge-T30:/usr/local/src# ll
total 235956
drwxr-xr-x  6 root root      4096  3月 26 14:48 ./
drwxr-xr-x 11 root root      4096  3月 20 09:43 ../
-rw-r--r--  1 root root   9532698  3月 26 14:48 apache-tomcat-8.5.29.tar.gz
drwxr-xr-x  8 uucp  143      4096  9月  6  2017 jdk1.8.0_151/
-rw-r--r--  1 root root 189736377  3月 20 08:56 jdk-8u151-linux-x64.tar.gz
drwxr-xr-x  9 1001 1001      4096  3月 20 09:37 nginx-1.9.8/
-rw-r--r--  1 root root    887800  3月 20 09:36 nginx-1.9.8.tar.gz
drwx------  8 root root      4096  3月 26 13:20 red5/
drwxrwxr-x  8 hett hett      4096  3月 20 09:10 red5-server/
-rw-r--r--  1 root root  41430006  3月 20 09:07 red5-server-1.0.10-M4.tar.gz
root@hett-PowerEdge-T30:/usr/local/src# tar -xvzf apache-tomcat-8.5.29.tar.gz

root@hett-PowerEdge-T30:/usr/local/src/apache-tomcat-8.5.29# ll
total 120
drwxr-xr-x 9 root root  4096  3月 26 14:49 ./
drwxr-xr-x 7 root root  4096  3月 26 14:49 ../
drwxr-x--- 2 root root  4096  3月 26 14:49 bin/
drwx------ 2 root root  4096  3月  5 21:13 conf/
drwxr-x--- 2 root root  4096  3月 26 14:49 lib/
-rw-r----- 1 root root 57092  3月  5 21:13 LICENSE
drwxr-x--- 2 root root  4096  3月  5 21:11 logs/
-rw-r----- 1 root root  1723  3月  5 21:13 NOTICE
-rw-r----- 1 root root  7138  3月  5 21:13 RELEASE-NOTES
-rw-r----- 1 root root 16246  3月  5 21:13 RUNNING.txt
drwxr-x--- 2 root root  4096  3月 26 14:49 temp/
drwxr-x--- 7 root root  4096  3月  5 21:11 webapps/
drwxr-x--- 2 root root  4096  3月  5 21:11 work/
root@hett-PowerEdge-T30:/usr/local/src/apache-tomcat-8.5.29# cd bin/
root@hett-PowerEdge-T30:/usr/local/src/apache-tomcat-8.5.29/bin# ./startup.sh
修改配置文件更改端口号

修改ip

原文地址:https://www.cnblogs.com/youran-he/p/8652113.html