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:07]
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 291: Line 292:
      
 <codedoc code:bash> <codedoc code:bash>
 +echo 'LANG=C' >>/etc/sysconfig/httpd
 +echo 'OPENAAA_PROTOCOL="aaa"' >>/etc/sysconfig/httpd
 +echo 'OPENAAA_HANDLER="/usr/local/bin/aducid"' >>/etc/sysconfig/httpd
 +echo 'OPENAAA_AUTHORITY="your.server.dnsname"' >>/etc/sysconfig/httpd
 vi /etc/sysconfig/httpd vi /etc/sysconfig/httpd
 </codedoc> </codedoc>
  
 <sxh bash>  <sxh bash> 
-Add these lines ... +Edit this lines ...
-LANG=C +
-OPENAAA_PROTOCOL="aaa" +
-OPENAAA_HANDLER="/usr/local/bin/aducid"+
 OPENAAA_AUTHORITY="your.server.dnsname" OPENAAA_AUTHORITY="your.server.dnsname"
 </sxh>  </sxh> 
Line 310: Line 312:
 </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 332:
  
 # 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 342:
  
 <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