Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:adm:server_preparation [2019/06/04 11:57]
urbanl [Start Tomcat automatically after system startup - Debian] Selinux change on Centos
tutorial:adm:server_preparation [2019/06/10 13:13]
urbanl old revision restored (2019/04/12 10:38)
Line 291: Line 291:
 <code bash> <code bash>
 systemctl enable tomcat8 systemctl enable tomcat8
-</code> 
- 
-=== On CentOS turn off Selinux === 
-On CentOS in Selinux you need to allow tomcat to connect to database through network. 
-<code bash> 
-setsebool -P tomcat_can_network_connect_db true 
-</code> 
-Then check it. 
-<code bash> 
-getsebool -a |grep tomcat 
-</code> 
-If it's set right you will se this line with "on" on the end. 
-<code> 
-tomcat_can_network_connect_db --> on 
 </code> </code>
 ====  Apache Tomcat configuration recommended for production usage ==== ====  Apache Tomcat configuration recommended for production usage ====
  • by koulaj