質問編集履歴

1

tomcatのインストール手順や設定方法を追記しました。

2021/09/03 08:32

投稿

aki-
aki-

スコア0

test CHANGED
File without changes
test CHANGED
@@ -22,4 +22,48 @@
22
22
 
23
23
 
24
24
 
25
+ tomcatのインストール手順
26
+
27
+ ・wgetコマンドでtomcatのダウンロードページのリンクからダウンロード
28
+
29
+ ・tarコマンドで、ダウンロードしたファイルを解凍
30
+
31
+ 設定
32
+
33
+ ・/etc/httpd/conf/httpd.confのファイルの末尾に、
34
+
35
+  ProxyPass /tomcat9/ ajp://localhost:8009/
36
+
37
+  ProxyPassReverse /tomcat9/ ajp://localhost:8009/を追記
38
+
39
+ ・tomcatの設定ファイル(server.xml)の
40
+
41
+  <!--
42
+
43
+ <Connector protocol="AJP/1.3"
44
+
45
+ address="::1"
46
+
47
+ port="8009"
48
+
49
+ redirectPort="8443" />
50
+
51
+ -->
52
+
53
+ ここのコメントアウトを外す
54
+
55
+
56
+
57
+ 起動手順
58
+
59
+ ・sh ./apache-tomcat-9.0.52/bin/startup.shで起動
60
+
61
+ 起動動作確認
62
+
63
+ ・ブラウザでhttp://<Tomcatが動いているマシンのIP>:8080にアクセス
64
+
65
+
66
+
67
+
68
+
25
69
  拙い説明で申し訳ありませんが、よろしくお願いいたします。