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/01/27 18:59]
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 39: Line 40:
 kernel.shmmax=17179869184 ​  #if you want max shared_buffer size of 16GB. kernel.shmmax=17179869184 ​  #if you want max shared_buffer size of 16GB.
 kernel.shmall=4194304 kernel.shmall=4194304
 +</​code>​
 +   * Reload configuration using command
 +<​code>​
 +sysctl -p /​etc/​sysctl.conf ​
 </​code>​ </​code>​
  
Line 54: Line 59:
  
 <​code>​ <​code>​
-      ln -s /usr/share/tomcat6 ​/usr/tomcat+      ln -s /usr/share/tomcat ​/usr/tomcat
 </​code>​ </​code>​
  
Line 61: Line 66:
   * Edit file /​usr/​tomcat/​conf/​server.xml to change port 8080 to 80   * Edit file /​usr/​tomcat/​conf/​server.xml to change port 8080 to 80
   * Edit file /​usr/​tomcat/​conf/​tomcat6.conf to change TOMCAT_USER from tomcat to root   * Edit file /​usr/​tomcat/​conf/​tomcat6.conf to change TOMCAT_USER from tomcat to root
-  * Edit file /​usr/​tomcat/​bin/catalina.sh to add the following ​line as the first un-commented ​line+  * Edit file /​usr/​tomcat/​conf/tomcat6.conf to add the following line
  
 <​code>​ <​code>​
-      ​set CATALINA_OPTS="​-Djava.awt.headless=true -Xmx1400M"​+      CATALINA_OPTS="​-Djava.awt.headless=true -Xmx1400M"​
 </​code>​ </​code>​
  
Line 81: Line 86:
 </​code>​ </​code>​
  
- 
-====Legacy Report Generator CrystalClear 5.4==== 
-Ensure that the file /etc/hosts has the IP address as per crystalclear.properties. 
  
 **Using Yast, set up System Services(Runlevel) so that PostgreSQL and Tomcat are automatically started at boot. Reboot server to complete installation** **Using Yast, set up System Services(Runlevel) so that PostgreSQL and Tomcat are automatically started at boot. Reboot server to complete installation**
Line 94: 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 111: 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 122: 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.1390849188.txt.gz · Last modified: 2014/01/27 18:59 by asok