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 [2020/01/26 13:19]
mpospisek [DB configuration]
installation:02-software-components [2020/02/06 11:10]
mpospisek [DB configuration]
Line 33: Line 33:
 <sxh bash> <sxh bash>
 # IPv4 local connections: # IPv4 local connections:
-host    all             all             10.0.0.0/             md5 
 host    all             all             127.0.0.1/32            trust host    all             all             127.0.0.1/32            trust
 </sxh> </sxh>
Line 39: Line 38:
 <codedoc code:bash> <codedoc code:bash>
 logout logout
-systmctl restart postgresql-9.6.service+systemctl restart postgresql-9.6.service
 </codedoc> </codedoc>
  
Line 49: Line 48:
 <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 70: Line 77:
 # 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 121: Line 130:
    
 [Install] [Install]
-WantedBy=multi-user.target" >/usr/lib/systemd/system/tomcat9.service+WantedBy=multi-user.target
 </sxh>  </sxh> 
  
Line 155: Line 164:
  -XX:+UseG1GC   -XX:+UseG1GC 
  -XX:+UseStringDeduplication   -XX:+UseStringDeduplication 
- -XX:MaxGCPauseMillis=100+ -XX:MaxGCPauseMillis=100"
 </sxh>  </sxh> 
    
Line 207: Line 216:
     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 217: Line 231:
 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 226: Line 240:
 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