This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
installation:start [2014/04/02 16:58] 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 85: | 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 98: | 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 115: | 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 | ||
- | For adding a loopback interface, in function start, add the line | + | |
- | <code> | + | |
- | ifconfig lo:1 inet 10.0.0.99 netmask 255.0.0.0 up | + | |
- | </code> | + | |
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 130: | 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> | ||