This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
installation:02-software-components [2019/11/11 22:12] mpospisek [Config files settings] |
installation:02-software-components [2020/01/27 14:29] mpospisek [Software Installation] |
||
---|---|---|---|
Line 39: | Line 39: | ||
<codedoc code: | <codedoc code: | ||
logout | logout | ||
+ | systemctl restart postgresql-9.6.service | ||
</ | </ | ||
Line 48: | Line 49: | ||
<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 78: | ||
# 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 131: | ||
[Install] | [Install] | ||
- | WantedBy=multi-user.target" >/ | + | WantedBy=multi-user.target |
</ | </ | ||
Line 167: | Line 165: | ||
| | ||
| | ||
- | | + | |
</ | </ | ||
Line 219: | Line 217: | ||
URIEncoding=" | URIEncoding=" | ||
</ | </ | ||
+ | |||
+ | Make tomcat user also owner of the jdk-13 directory | ||
+ | <codedoc code: | ||
+ | chown -R tomcat:root / | ||
+ | </ | ||
Optional: | Optional: | ||
Line 229: | Line 232: | ||
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 241: | ||
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 |