User Tools

Site Tools


documentation:server-install-aducid

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
documentation:server-install-aducid [2018/11/08 00:59]
mpospisek [File and directory preparation]
documentation:server-install-aducid [2018/12/04 22:08]
mpospisek [File and directory preparation]
Line 2: Line 2:
 ===== File and directory preparation ===== ===== File and directory preparation =====
  
-Directories for aducid-aaa-modules+**Directories for aducid-aaa-modules**
  
 AAA modules need the following directories are created before installation: AAA modules need the following directories are created before installation:
 <codedoc code:bash> <codedoc code:bash>
-mkdir /opt/aaa/install+mkdir -p /opt/aaa/install
 mkdir /opt/aaa/logs mkdir /opt/aaa/logs
 mkdir /opt/aaa/conf mkdir /opt/aaa/conf
Line 131: Line 131:
 </sxh> </sxh>
  
 +**Directory to import mypeig.aducid.com info**
 +<sxh>
 +mkdir -p ~/psqltools/myPEIG
 +</sxh>
 +Put the following files into the above directory and strip the ".file" extension:
 +  * {{ :documentation:install:insert_home_aim_mypeig.sql.file |insert_home_aim_mypeig.sql.file}}
 +  * {{ :documentation:install:mypeig.aducid.com.crt.file |mypeig.aducid.com.crt.file}}
 +<sxh>
 +cd ~/psqltools/myPEIG 
 +mv insert_home_aim_mypeig.sql.file insert_home_aim_mypeig.sql
 +mv mypeig.aducid.com.crt.file mypeig.aducid.com.crt
 +</sxh>
  
 + 
 ===== Installation ===== ===== Installation =====
  
Line 145: Line 158:
 cd /media/ADUCID/repository/el7/x86_64 cd /media/ADUCID/repository/el7/x86_64
 # find the exact filename using the TAB key in the command prompt # find the exact filename using the TAB key in the command prompt
-yum localinstall aducid-repository-+yum localinstall aducid-repository-1.0-4.el7.centos.noarch.rpm
 # dtto as above # dtto as above
-yum localinstall aducid-installer-   +yum localinstall aducid-installer-4.1.0-1.rc1.el7.centos.noarch.rpm   
 # now, the install script will be in the path (/usr/local/bin), invoke it # now, the install script will be in the path (/usr/local/bin), invoke it
 aducid-installer aducid-installer
Line 171: Line 184:
  
 Other certificates used by ADUCID server are listed in /opt/tomcat/conf/ADUCID.properties. After you set this parameters to your certificate files, restart of the tomcat9.service is needed. Other certificates used by ADUCID server are listed in /opt/tomcat/conf/ADUCID.properties. After you set this parameters to your certificate files, restart of the tomcat9.service is needed.
-<codedoc code:bash>+<sxh bash>
 PUBLIC_KEY=/opt/aaa/certs/wild.aducid.com.crt PUBLIC_KEY=/opt/aaa/certs/wild.aducid.com.crt
 PRIVATE_KEY=/opt/aaa/certs/wild.aducid.com.key PRIVATE_KEY=/opt/aaa/certs/wild.aducid.com.key
-</codedoc>+</sxh>
  
 It is recommended to restart the server after installation. It is recommended to restart the server after installation.
Line 183: Line 196:
 postinstall checks postinstall checks
 <codedoc code:bash> <codedoc code:bash>
-orange-d3:~ root$ systemctl -l status httpd24-httpd.service +orange-d3:~ root$ systemctl -l status httpd.service 
-● httpd24-httpd.service - The Apache HTTP Server +● httpd.service - The Apache HTTP Server 
-   Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; enabled; vendor preset: disabled) +   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) 
-   Active: active (running) since Mon 2018-06-25 22:54:51 CEST9min ago +   Active: active (running) since Wed 2018-11-07 23:11:21 CET2h 50min ago 
- Main PID: 913 (httpd) + Main PID: 4800 (httpd) 
-   Status: "Total requests: 11; Idle/Busy workers 100/0;Requests/sec: 0.0187; Bytes served/sec:  37 B/sec" +   Status: "Total requests: 38; Idle/Busy workers 100/0;Requests/sec: 0.00373; Bytes served/sec:   7 B/sec" 
-   CGroup: /system.slice/httpd24-httpd.service +   CGroup: /system.slice/httpd.service 
-           ├─ 913 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND +           ├─4800 /usr/sbin/httpd -DFOREGROUND 
-           ├─1129 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND +           ├─4801 /usr/sbin/httpd -DFOREGROUND 
-           ├─1130 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND +           ├─4802 /usr/sbin/httpd -DFOREGROUND 
-           ├─1131 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND +           ├─4803 /usr/sbin/httpd -DFOREGROUND 
-           ├─1132 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND +           ├─4804 /usr/sbin/httpd -DFOREGROUND 
-           ├─1133 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND +           ├─4806 /usr/sbin/httpd -DFOREGROUND 
-           └─1697 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND +           └─5528 /usr/sbin/httpd -DFOREGROUND 
-  +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: msg:accept:SSLv3 read certificate verify A +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: msg:accept:SSLv3 read finished A +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: msg:accept:SSLv3 write change cipher spec A +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: msg:accept:SSLv3 write finished A +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: msg:accept:SSLv3 flush data +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: msg:negotiate:SSL negotiation finished successfully +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: id=a6ae3724b541fb22127a207882e99ee2d1b0c762922ceff78dd4839872a712ab hash=8112 index=0 +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: 127.0.0.1:8888 sent 94 byte(s) +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: 127.0.0.1:8888 recv 168 byte(s) +
-Jun 25 23:03:03 orange-d3.aducid.com [1697]: msg:alert write:warning:close notify +
-  +
-# do not be confused with the following message: "The ADUCID Apache HTTP Server"+
 orange-d3:~ root$ systemctl -l status aducid-aaa.service orange-d3:~ root$ systemctl -l status aducid-aaa.service
-● aducid-aaa.service - The ADUCID Apache HTTP Server+● aducid-aaa.service - The ADUCID AAA Module
    Loaded: loaded (/usr/lib/systemd/system/aducid-aaa.service; enabled; vendor preset: disabled)    Loaded: loaded (/usr/lib/systemd/system/aducid-aaa.service; enabled; vendor preset: disabled)
    Active: active (running) since Mon 2018-06-25 22:54:50 CEST; 11min ago    Active: active (running) since Mon 2018-06-25 22:54:50 CEST; 11min ago
Line 270: Line 271:
  
 Other log files: Other log files:
-  * AIM/opt/tomcat/log/aim.log +AIM /opt/tomcat/log/aim.log | 
-  tomcat9.service: /opt/tomcat/logs/+tomcat9.service /opt/tomcat/logs/| 
-  aducid-aaa.service /var/log/messages +aducid-aaa.service /var/log/messages | 
-  * httpd24-httpd.service /var/log/httpd24/*+httpd.service /var/log/httpd/* |
  
  
 RPM Component summary RPM Component summary
-aducid-configurator.rpm installation and config script +aducid-configurator.rpm installation and config script | 
-aducid-repository.rpm yum repository file +aducid-repository.rpm yum repository file | 
-aducid-aaa-modules.rpm Apache settings for ADUCID components +aducid-aaa-modules.rpm Apache settings for ADUCID components | 
-aim.rpm AIM and all basic components +aim.rpm AIM and all basic components | 
-aducid-proof.rpm Identity proofing apps +aducid-proof.rpm | Sample identity proofing apps |
-aducid-demo.rpm Demo apps+