Ubuntu 16.04にApache Tomcatをインストールするメモ

1.Tomcatのインストール
#get install tomcat8
#apt-get install tomcat8-docs tomcat8-examples tomcat8-admin
#systemctl start tomcat8
#systemctl stop tomcat8
URL確認
http://example.com:8080/

2.tomcat-users.xmlの設定
/var/lib/tomcat8/conf/tomcat-users.xml
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user username="username" password="password" roles="manager-gui,admin-gui"/>
tomcat8再起動
#systemctl restart tomcat8

Tomcat

Posted by arkgame