This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
installation:02-software-components [2019/11/11 22:07] mpospisek [System variables setting] |
installation:02-software-components [2020/03/25 21:17] mpospisek ↷ Links adapted because of a move operation |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Software Components ====== | ====== Software Components ====== | ||
+ | |||
+ | ADUCID supports two database systems: PostgreSQL and Microsoft SQL. | ||
+ | * If you decide to use default PostgerSQL database, install it according to the next section. | ||
+ | * If you want to use Microsoft SQL database located on some other host, refer to section [[installation: | ||
===== PostgreSQL ===== | ===== PostgreSQL ===== | ||
Line 33: | Line 37: | ||
<sxh bash> | <sxh bash> | ||
# IPv4 local connections: | # IPv4 local connections: | ||
- | host all | ||
host all | host all | ||
</ | </ | ||
Line 39: | Line 42: | ||
<codedoc code: | <codedoc code: | ||
logout | logout | ||
+ | systemctl restart postgresql-9.6.service | ||
</ | </ | ||
Line 48: | Line 52: | ||
<codedoc code: | <codedoc code: | ||
cd /opt | cd /opt | ||
- | wget https:// | + | wget https:// |
- | tar -xvf openjdk-13_linux-x64_bin.tar.gz | + | tar -xvf openjdk-13.0.2_linux-x64_bin.tar.gz |
+ | ln -s jdk-13.0.2 jdk-13 | ||
</ | </ | ||
==== Software Configuration ==== | ==== Software Configuration ==== | ||
- | < | + | We need to add one more file to JDK distribution |
- | vi /etc/environment | + | <codedoc bash> |
+ | /opt/ | ||
</ | </ | ||
- | <sxh> | + | < |
- | export JAVA_HOME=/ | + | version=1 |
- | export PATH=$PATH:/ | + | sequence.allfonts=default |
</ | </ | ||
- | |||
- | <codedoc code: | ||
- | source / | ||
- | echo $JAVA_HOME | ||
- | java -version | ||
- | </ | ||
- | |||
===== Tomcat ===== | ===== Tomcat ===== | ||
Line 82: | Line 81: | ||
# install tomcat to the /opt/tomcat directory | # install tomcat to the /opt/tomcat directory | ||
mkdir / | mkdir / | ||
- | tar xvf apache-tomcat-9*tar.gz -C / | + | |
+ | tar xvf apache-tomcat-9*tar.gz -C / | ||
# symlink /opt/tomcat to / | # symlink /opt/tomcat to / | ||
ln -s / | ln -s / | ||
Line 133: | Line 134: | ||
[Install] | [Install] | ||
- | WantedBy=multi-user.target" >/ | + | WantedBy=multi-user.target |
</ | </ | ||
Line 167: | Line 168: | ||
| | ||
| | ||
- | | + | |
</ | </ | ||
Line 219: | Line 220: | ||
URIEncoding=" | URIEncoding=" | ||
</ | </ | ||
+ | |||
+ | Make tomcat user also owner of the jdk-13 directory | ||
+ | <codedoc code: | ||
+ | chown -R tomcat:root / | ||
+ | </ | ||
Optional: | Optional: | ||
Line 229: | Line 235: | ||
CodeIT Apache 2.4 and related modules | CodeIT Apache 2.4 and related modules | ||
- | Download CodeIT Apache 2.4.25 **(NOT NEWER)** RPMs from %%https:// | + | Download CodeIT Apache 2.4.25 **(NOT NEWER)** RPMs from %%https:// |
- | Except for modules libnghttp2 and apr-util. They will be downloaded from the epel-release repository. | + | **If the files are no longer on the above URL, you can download them from here:** {{ : |
<codedoc code: | <codedoc code: | ||
Line 238: | Line 244: | ||
cd apache/ | cd apache/ | ||
- | wget ~~codedoc: | + | wget ~~codedoc: |
- | wget ~~codedoc: | + | wget ~~codedoc: |
- | wget ~~codedoc: | + | wget ~~codedoc: |
- | wget ~~codedoc: | + | wget ~~codedoc: |
- | wget ~~codedoc: | + | wget ~~codedoc: |
- | + | </ | |
+ | |||
+ | Put them into selected directory (/ | ||
+ | |||
+ | Except for modules libnghttp2 and apr-util. They will be downloaded from the epel-release repository. | ||
+ | |||
+ | <codedoc code: | ||
yum -y localinstall apr-1.5.2-1.el7.codeit.x86_64.rpm | yum -y localinstall apr-1.5.2-1.el7.codeit.x86_64.rpm | ||
yum -y localinstall httpd-filesystem-2.4.25-3.el7.codeit.noarch.rpm | yum -y localinstall httpd-filesystem-2.4.25-3.el7.codeit.noarch.rpm | ||
Line 347: | Line 359: | ||
</ | </ | ||
- | <sxh bash> | + | <codedoc code:bash> |
cat 00-mpm.conf | grep prefork | cat 00-mpm.conf | grep prefork | ||
+ | # ... result should be: | ||
LoadModule mpm_prefork_module modules/ | LoadModule mpm_prefork_module modules/ | ||
- | </sxh> | + | </codedoc> |
- | <sxh bash> | + | <codedoc code:bash> |
- | echo \ | + | vi 00-proxy.conf |
- | "# This file configures all the proxy modules: | + | </ |
+ | |||
+ | < | ||
+ | # This file configures all the proxy modules: | ||
LoadModule proxy_module modules/ | LoadModule proxy_module modules/ | ||
#LoadModule lbmethod_bybusyness_module modules/ | #LoadModule lbmethod_bybusyness_module modules/ | ||
Line 370: | Line 386: | ||
#LoadModule proxy_hcheck_module modules/ | #LoadModule proxy_hcheck_module modules/ | ||
#LoadModule proxy_scgi_module modules/ | #LoadModule proxy_scgi_module modules/ | ||
- | #LoadModule proxy_wstunnel_module modules/ | + | #LoadModule proxy_wstunnel_module modules/ |
</ | </ | ||
Line 378: | Line 394: | ||
<sxh bash; highlight: [9]> | <sxh bash; highlight: [9]> | ||
- | echo \ | + | # |
- | "# | + | |
# This file loads most of the modules included with the Apache HTTP | # This file loads most of the modules included with the Apache HTTP | ||
# Server itself. | # Server itself. | ||
Line 451: | Line 466: | ||
LoadModule version_module modules/ | LoadModule version_module modules/ | ||
#LoadModule vhost_alias_module modules/ | #LoadModule vhost_alias_module modules/ | ||
- | #LoadModule watchdog_module modules/ | + | #LoadModule watchdog_module modules/ |
</ | </ | ||
Line 473: | Line 488: | ||
systemctl enable httpd.service | systemctl enable httpd.service | ||
</ | </ | ||
+ | |||
+ | [<> |