facebook twitter hatena line email

「Linux/tomcatインストール」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(ページの作成:「==インストール== # yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps ==インストール確認== # rpm -ql tomcat5 ==サービス起動== # /sbin/ser...」)
 
(相違点なし)

2015年5月20日 (水) 03:15時点における最新版

インストール

# yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps 

インストール確認

# rpm -ql tomcat5

サービス起動

# /sbin/service tomcat5 start

http確認

http://localhost:8080/

document_root確認

vi /usr/share/tomcat5/conf/server.xmlのwebapps

<Host name="localhost" appBase="webapps"

サービス自動起動

# /sbin/chkconfig tomcat5 on
# /sbin/chkconfig tomcat5 --list