User Tools

Site Tools


installation:start

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
installation:start [2014/04/03 02:56]
asok
installation:start [2018/03/10 23:42] (current)
asok [Required for OS versions earlier than OpenSuse Leap 42.3]
Line 34: Line 34:
 ^ maintenance_work_mem |     ​16MB ​      ​| ​  ​512MB ​  ​| ​  ​1GB ​  ​| ​  ​2GB ​   | ^ maintenance_work_mem |     ​16MB ​      ​| ​  ​512MB ​  ​| ​  ​1GB ​  ​| ​  ​2GB ​   |
 ^ effective_cache_size ​ |     ​64KB ​      ​| ​   1GB    |   ​3GB ​  ​| ​ 6GB    | ^ effective_cache_size ​ |     ​64KB ​      ​| ​   1GB    |   ​3GB ​  ​| ​ 6GB    |
 +^ statement_timeout ​ |     ​3600000 ​      ​| ​   3600000 ​   |   ​3600000 ​  ​| ​ 3600000 ​   |
  
 ***For OpenSuse 12.1 and later**, you will need to add the following lines in **/​etc/​sysctl.conf** ***For OpenSuse 12.1 and later**, you will need to add the following lines in **/​etc/​sysctl.conf**
Line 58: Line 59:
  
 <​code>​ <​code>​
-      ln -s /usr/share/tomcat6 ​/usr/tomcat+      ln -s /usr/share/tomcat ​/usr/tomcat
 </​code>​ </​code>​
  
Line 95: Line 96:
  
 OpenSuse now uses **systemd** based service runner, instead of /​etc/​init.d/​tomcat. OpenSuse now uses **systemd** based service runner, instead of /​etc/​init.d/​tomcat.
 +
 +  * Using Yast, install tomcat container and webapps modules
 +  * Create symbolic link tomcat in folder /usr using File Manager or the following command
 +
 +<​code>​
 +      ln -s /​usr/​share/​tomcat /usr/tomcat
 +</​code>​
 +
 +  * Unzip sharedlib.zip into /​usr/​tomcat/​lib to place additional .jar files.
 +  * Copy da.war into folder /​usr/​tomcat/​webapps
  
 You need to make the following changes You need to make the following changes
Line 112: Line 123:
 - **/​usr/​lib/​systemd/​system/​tomcat.service** -- comment out user and group. - **/​usr/​lib/​systemd/​system/​tomcat.service** -- comment out user and group.
  
 +==== Required for OS versions earlier than OpenSuse Leap 42.3 ====
 - **/​usr/​sbin/​tomcat-sysd** -- comment out the routine for checking uid=0 - **/​usr/​sbin/​tomcat-sysd** -- comment out the routine for checking uid=0
 +
  
 There is a bug in the yast in 12.3. You cannot stop automatic startup of firewall. You need to run these commands There is a bug in the yast in 12.3. You cannot stop automatic startup of firewall. You need to run these commands
Line 123: Line 136:
 systemctl disable SuSEfirewall2.service systemctl disable SuSEfirewall2.service
 </​code>​ </​code>​
 +
 +If the Java version is OpenJDK 1.7 in **AWS**, please copy the certificate from an Windows machine
 +
 +copy C:\Program Files\Java\jdk1.8.0_25\jre\lib\security\cacerts to /​var/​lib/​ca-certificates/​java-cacerts from Windows to SUSE 
 +
 +
 +====Notes====
 +To Change hostname in OpenSuse, edit the following files:
 +
 +<​file>​
 +/​etc/​HOSTNAME
 +/​etc/​hostnames
 +</​file>​
  
/srv/www/htdocs/wiki/data/attic/installation/start.1396493762.txt.gz · Last modified: 2014/04/03 02:56 by asok