User Tools

Site Tools


documentation:server-install-components

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
Previous revision
Next revision Both sides next revision
documentation:server-install-components [2018/11/28 21:10]
mpospisek [Tomcat]
documentation:server-install-components [2019/01/04 11:16]
mpospisek [System variables setting]
Line 127: Line 127:
 Group=tomcat Group=tomcat
 Type=forking Type=forking
-Environment=JAVA_HOME=/usr/java/default+#Environment=JAVA_HOME=/usr/java/default 
 +Environment=JAVA_HOME=/usr/lib/jvm/jre
 Environment=CATALINA_PID=/opt/tomcat/tomcat.pid Environment=CATALINA_PID=/opt/tomcat/tomcat.pid
 Environment=CATALINA_HOME=/opt/tomcat Environment=CATALINA_HOME=/opt/tomcat
Line 289: Line 290:
 WantedBy=multi-user.target WantedBy=multi-user.target
 </sxh>  </sxh> 
-   
-<codedoc code:bash> 
-vi /etc/sysconfig/httpd 
-</codedoc> 
  
-<sxh bash>  +Modify /etc/sysconfig/httpd 
-# Add these lines ... +    
-LANG=C +<sxh bash> 
-OPENAAA_PROTOCOL="aaa" +echo 'LANG=C' >>/etc/sysconfig/httpd 
-OPENAAA_HANDLER="/usr/local/bin/aducid" +echo 'OPENAAA_PROTOCOL="aaa"' >>/etc/sysconfig/httpd 
-OPENAAA_AUTHORITY="your.server.dnsname"+echo 'OPENAAA_HANDLER="/usr/local/bin/aducid"' >>/etc/sysconfig/httpd 
 +echo OPENAAA_AUTHORITY=\"`hostname`\>>/etc/sysconfig/httpd 
 +tail -3 <sxh bash> 
 </sxh>  </sxh> 
 +
  
 ==== Config files settings ====  ==== Config files settings ==== 
Line 310: Line 310:
 </codedoc> </codedoc>
  
-<sxh bash; highlight: [4,9,20,21,22,23]> +<sxh bash; highlight: [4,9,17,20,21,22,23]> 
 ### Keep the Include conf.modules.d/*.conf setting in the file, ### Keep the Include conf.modules.d/*.conf setting in the file,
 ### but append one line in front of it, so the result will be: ### but append one line in front of it, so the result will be:
Line 330: Line 330:
  
 # Place these three lines at the end of file # Place these three lines at the end of file
-EnableTrace Off+TraceEnable Off
 Include /opt/aaa/conf/aducid-aaa.conf Include /opt/aaa/conf/aducid-aaa.conf
 Include /opt/aaa/conf/aducid-aim.conf Include /opt/aaa/conf/aducid-aim.conf
Line 340: Line 340:
  
 <codedoc code:bash> <codedoc code:bash>
-cd /opt/rh/httpd24/root/etc/httpd/conf.modules.d/+cd /etc/httpd/conf.modules.d/
 mv 00-optional.conf 00-optional.conf.xxx mv 00-optional.conf 00-optional.conf.xxx
 mv 00-lua.conf 00-lua.conf.xxx mv 00-lua.conf 00-lua.conf.xxx