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
Last revision Both sides next revision
installation:02-software-components [2020/01/26 13:43]
mpospisek [Software Configuration]
installation:02-software-components [2020/03/25 21:14]
mpospisek ↷ Page name changed from installation:software-components to installation:02-software-components
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:ms-sql|MS SQL Database]]. 
  
 ===== PostgreSQL ===== ===== PostgreSQL =====
Line 33: Line 37:
 <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 78: Line 81:
 # 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 129: Line 134:
    
 [Install] [Install]
-WantedBy=multi-user.target" >/usr/lib/systemd/system/tomcat9.service+WantedBy=multi-user.target
 </sxh>  </sxh> 
  
Line 163: Line 168:
  -XX:+UseG1GC   -XX:+UseG1GC 
  -XX:+UseStringDeduplication   -XX:+UseStringDeduplication 
- -XX:MaxGCPauseMillis=100+ -XX:MaxGCPauseMillis=100"
 </sxh>  </sxh> 
    
Line 215: Line 220:
     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 225: 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://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 234: Line 244:
 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
Line 472: Line 488:
 systemctl enable httpd.service systemctl enable httpd.service
 </codedoc> </codedoc>
 +
 +[<>
installation/02-software-components.txt · Last modified: 2020/03/25 21:17 by mpospisek