User Tools

Site Tools


installation:02-software-components

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
Next revision Both sides next revision
installation:02-software-components [2019/11/18 12:02]
mpospisek [Software Configuration]
installation:02-software-components [2020/01/27 14:29]
mpospisek [Software Installation]
Line 39: Line 39:
 <codedoc code:bash> <codedoc code:bash>
 logout logout
 +systemctl restart postgresql-9.6.service
 </codedoc> </codedoc>
  
Line 48: Line 49:
 <codedoc code:bash> <codedoc code:bash>
 cd /opt cd /opt
-wget https://download.java.net/java/GA/jdk13/5b8a42f3905b406298b72d750b6919f6/33/GPL/openjdk-13_linux-x64_bin.tar.gz+wget https://download.java.net/java/GA/jdk13.0.2/d4173c853231432d94f001e99d882ca7/8/GPL/openjdk-13.0.2_linux-x64_bin.tar.gz
    
-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
 </codedoc> </codedoc>
  
 ==== Software Configuration ==== ==== Software Configuration ====
 +We need to add one more file to JDK distribution
 +<codedoc bash>
 +/opt/jdk-13/lib/fontconfig.properties
 +</codedoc>
  
 +<sxh bash> 
 +version=1 
 +sequence.allfonts=default  
 +</sxh>
 ===== Tomcat ===== ===== Tomcat =====
  
Line 69: Line 78:
 # install tomcat to the /opt/tomcat directory # install tomcat to the /opt/tomcat directory
 mkdir /opt/apache-tomcat-9.0.6 mkdir /opt/apache-tomcat-9.0.6
-tar xvf apache-tomcat-9*tar.gz -C /opt/apache-tomcat-9.0.6 --strip-components=1+ 
 +tar xvf apache-tomcat-9*tar.gz -C /opt/apache-tomcat-9.0.6 ~~codedoc:clean:--~~strip-components=1 
 # symlink /opt/tomcat to /opt/apache-tomcat-9.0.6 # symlink /opt/tomcat to /opt/apache-tomcat-9.0.6
 ln -s /opt/apache-tomcat-9.0.6 /opt/tomcat ln -s /opt/apache-tomcat-9.0.6 /opt/tomcat
Line 120: Line 131:
    
 [Install] [Install]
-WantedBy=multi-user.target" >/usr/lib/systemd/system/tomcat9.service+WantedBy=multi-user.target
 </sxh>  </sxh> 
  
Line 154: Line 165:
  -XX:+UseG1GC   -XX:+UseG1GC 
  -XX:+UseStringDeduplication   -XX:+UseStringDeduplication 
- -XX:MaxGCPauseMillis=100+ -XX:MaxGCPauseMillis=100"
 </sxh>  </sxh> 
    
Line 206: Line 217:
     URIEncoding="UTF-8" />     URIEncoding="UTF-8" />
 </sxh>   </sxh>  
 +
 +Make tomcat user also owner of the jdk-13 directory
 +<codedoc code:bash>
 +chown -R tomcat:root /opt/jdk-13/
 +</codedoc>
  
 Optional:  Optional: 
Line 216: 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://repo.codeit.guru/packages/centos/7/x86_64/%%. Put them into selected directory (/root/apache/CodeIT) and from it yum localinstall one module after another, to prevent installation from external repositories.+Download CodeIT Apache 2.4.25 **(NOT NEWER)** RPMs from %%https://repo.codeit.guru/packages/centos/7/x86_64/%%. 
  
-Except for modules libnghttp2 and apr-utilThey will be downloaded from the epel-release repository.+**If the files are no longer on the above URL, you can download them from here:** {{ :install:httpd-2.4.25-codeit.zip | httpd-2.4.25-codeit.zip}}
  
 <codedoc code:bash> <codedoc code:bash>
Line 225: Line 241:
 cd apache/CodeIT cd apache/CodeIT
  
-wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/centos/7/x86_64/apr-1.5.2-1.el7.codeit.x86_64.rpm +wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/archive/centos/7/x86_64/apr-1.5.2-1.el7.codeit.x86_64.rpm 
-wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/centos/7/x86_64/httpd-2.4.25-3.el7.codeit.x86_64.rpm +wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/archive/centos/7/x86_64/httpd-2.4.25-3.el7.codeit.x86_64.rpm 
-wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/centos/7/x86_64/httpd-filesystem-2.4.25-3.el7.codeit.noarch.rpm +wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/archive/centos/7/x86_64/httpd-filesystem-2.4.25-3.el7.codeit.noarch.rpm 
-wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/centos/7/x86_64/httpd-tools-2.4.25-3.el7.codeit.x86_64.rpm +wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/archive/centos/7/x86_64/httpd-tools-2.4.25-3.el7.codeit.x86_64.rpm 
-wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/centos/7/x86_64/mod_ssl-2.4.25-3.el7.codeit.x86_64.rpm +wget ~~codedoc:clean:https:~~//repo.codeit.guru/packages/archive/centos/7/x86_64/mod_ssl-2.4.25-3.el7.codeit.x86_64.rpm 
- +</codedoc> 
 + 
 +Put them into selected directory (/root/apache/CodeIT) and from it yum localinstall one module after another, to prevent installation from external repositories. 
 + 
 +Except for modules libnghttp2 and apr-util. They will be downloaded from the epel-release repository. 
 + 
 +<codedoc code:bash>
 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
installation/02-software-components.txt · Last modified: 2020/03/25 21:17 by mpospisek