Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:adm:server_preparation [2019/03/18 15:05] urbanl new tomcat instalation |
tutorial:adm:server_preparation [2019/09/23 12:05] kolycheva [Optional - Management Interface for Tomcat] |
||
---|---|---|---|
Line 23: | Line 23: | ||
yum update -y | yum update -y | ||
# other recommended packages installation | # other recommended packages installation | ||
- | yum install -y net-tools nano wget mc vim-enhanced screen sysstat bzip2 ssmtp bash-completion lsof haveged nmap zip unzip psmisc telnet | + | yum install -y net-tools nano wget mc vim-enhanced screen sysstat bzip2 ssmtp bash-completion lsof haveged nmap zip unzip psmisc telnet |
# enable haveged after OS start | # enable haveged after OS start | ||
systemctl start haveged.service | systemctl start haveged.service | ||
Line 429: | Line 429: | ||
==== Rotating Tomcat logs ==== | ==== Rotating Tomcat logs ==== | ||
- | Tomcat logger appneds to the logfile at ''/ | + | Tomcat logger appneds to the logfile at ''/ |
<file txt tomcat> | <file txt tomcat> | ||
/ | / | ||
Line 469: | Line 469: | ||
/ | / | ||
/ | / | ||
- | rotate | + | rotate |
daily | daily | ||
dateext | dateext | ||
Line 545: | Line 545: | ||
Again, restart the tomcat: | Again, restart the tomcat: | ||
<code bash> | <code bash> | ||
- | systemctl | + | service tomcat8 |
</ | </ | ||
====== Apache httpd as a reverse proxy ====== | ====== Apache httpd as a reverse proxy ====== | ||
Line 792: | Line 792: | ||
AddOutputFilterByType DEFLATE text/plain | AddOutputFilterByType DEFLATE text/plain | ||
AddOutputFilterByType DEFLATE text/xml | AddOutputFilterByType DEFLATE text/xml | ||
+ | AddOutputFilterByType DEFLATE application/ | ||
+ | AddOutputFilterByType DEFLATE application/ | ||
# Remove browser bugs (only needed for really old browsers) | # Remove browser bugs (only needed for really old browsers) |