This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tomcat [2020/06/11 21:36] k2patel [RHEL 8 / Tomcat 9] |
tomcat [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 55: | Line 55: | ||
=== Create User === | === Create User === | ||
<code bash> | <code bash> | ||
- | groupadd --system tomcat -g 91 // with group id 91 | + | groupadd --system tomcat -g 91 # with group id 91 |
- | useradd -u 91 -d /usr/share/tomcat -r -s /bin/false -g tomcat tomcat // with user id 91 | + | useradd -u 91 -d /usr/share/tomcat -r -s /bin/false -g tomcat tomcat # with user id 91 |
</code> | </code> | ||
Line 131: | Line 131: | ||
</code> | </code> | ||
- | :!: Set SSL [[tomcat#tomcat_ssl|tomcat#tomcat_ssl]] | + | :!: Set SSL[[tomcat#tomcat_ssl|tomcat#tomcat_ssl]] \\ |
+ | :?: Set Auto redirect if needed [[tomcat#setting_up_redirect|tomcat#setting_up_redirect]] | ||
+ | === Start Service === | ||
+ | <code bash> | ||
+ | systemctl daemon-reload | ||
+ | systemctl enable tomcat | ||
+ | systemctl start tomcat | ||
+ | </code> | ||
=== Firewall === | === Firewall === |