This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
installation:03-aducid-software [2019/08/01 09:09] tjotov created |
installation:03-aducid-software [2020/02/14 09:47] mpospisek [Installation] |
||
---|---|---|---|
Line 3: | Line 3: | ||
**Prepare the aducid-aaa.service** | **Prepare the aducid-aaa.service** | ||
- | <sxh bash> | + | <codedoc code:bash> |
- | # --- AAA modules need the following directories are created before installation: | + | # AAA modules need the following directories are created before installation: |
mkdir -p / | mkdir -p / | ||
Line 15: | Line 15: | ||
mkdir -p / | mkdir -p / | ||
- | # --- Files for aducid-aaa-modules. | + | </ |
- | # **Please check your server hostname in these files, as indicated.** | + | Files for aducid-aaa-modules. |
- | # --- Export system variables | + | Export system variables |
- | # / | + | < |
- | echo \ | + | vi / |
- | "#!/bin/bash | + | </ |
+ | <sxh> | ||
+ | #!/bin/bash | ||
export OPENAAA_PROTOCOL=aaa | export OPENAAA_PROTOCOL=aaa | ||
- | export OPENAAA_HANDLER=/ | + | export OPENAAA_HANDLER=/ |
export OPENAAA_AUTHORITY=`hostname` | export OPENAAA_AUTHORITY=`hostname` | ||
- | " | + | </sxh> |
- | # --- Define the aducid-aaa.service | + | Define the aducid-aaa.service |
- | # / | + | < |
- | echo \ | + | vi / |
- | "[Unit] | + | </ |
+ | |||
+ | <sxh> | ||
+ | [Unit] | ||
Description=The ADUCID AAA Module | Description=The ADUCID AAA Module | ||
After=network.target remote-fs.target nss-lookup.target | After=network.target remote-fs.target nss-lookup.target | ||
Line 43: | Line 48: | ||
[Install] | [Install] | ||
WantedBy=multi-user.target | WantedBy=multi-user.target | ||
- | " | + | </sxh> |
- | # --- Create service files | + | Create service files |
- | # / | + | < |
- | echo \ | + | vi / |
- | "OPENAAA_PROTOCOL=aaa | + | </ |
- | OPENAAA_HANDLER=/ | + | |
+ | <sxh> | ||
+ | OPENAAA_PROTOCOL=aaa | ||
+ | OPENAAA_HANDLER=/ | ||
OPENAAA_AUTHORITY=`hostname` | OPENAAA_AUTHORITY=`hostname` | ||
- | " > / | ||
</ | </ | ||
< | < | ||
Line 101: | Line 108: | ||
**Directory to import mypeig.aducid.com info** | **Directory to import mypeig.aducid.com info** | ||
- | <sxh> | + | <codedoc> |
mkdir -p ~/ | mkdir -p ~/ | ||
- | </sxh> | + | </codedoc> |
Put the following files into the above directory and strip the " | Put the following files into the above directory and strip the " | ||
* {{ : | * {{ : | ||
* {{ : | * {{ : | ||
- | <sxh> | + | <codedoc> |
cd ~/ | cd ~/ | ||
mv insert_home_aim_mypeig.sql.file insert_home_aim_mypeig.sql | mv insert_home_aim_mypeig.sql.file insert_home_aim_mypeig.sql | ||
mv mypeig.aducid.com.crt.file mypeig.aducid.com.crt | mv mypeig.aducid.com.crt.file mypeig.aducid.com.crt | ||
- | </sxh> | + | </codedoc> |
Line 122: | Line 129: | ||
* Copy the repository directory from the ADUCID Server Kit DVD to / | * Copy the repository directory from the ADUCID Server Kit DVD to / | ||
- | Install | + | Install the aducid-installer script |
- | <sxh> | + | <codedoc code:bash> |
# in this directory, rpm files are located | # in this directory, rpm files are located | ||
cd / | cd / | ||
Line 129: | Line 136: | ||
yum localinstall aducid-repository-1.0-4.el7.centos.noarch.rpm | yum localinstall aducid-repository-1.0-4.el7.centos.noarch.rpm | ||
# dtto as above | # dtto as above | ||
- | yum localinstall aducid-installer-4.1.0-1.rc1.el7.centos.noarch.rpm | + | yum localinstall aducid-installer-4.x.y-1.z.el7.centos.noarch.rpm |
- | # now, the install script will be in the path (/ | + | </ |
+ | |||
+ | Now, the install script will be in the path (/ | ||
+ | <codedoc code: | ||
aducid-installer | aducid-installer | ||
- | </sxh> | + | </codedoc> |
+ | |||
+ | {{ : | ||
The aducid-installer script (see / | The aducid-installer script (see / | ||
- | | hostname | + | | AIM host | Preferably whole DNS name | |
- | | service provider ID | AIM machine inner identification. DNS hostname is a good candidate. | | + | | SPID | (Service Provider ID) AIM machine inner identification. DNS hostname is a good candidate. | |
- | | icon file | 100x100 .png file that will be seen on client | + | | Display Name | AIM identification that will be displayed on user PEIGs | |
- | | replication password | + | | Internal Network | Network for R4 (Server App <-> AIM) communication | |
+ | | AIM Sync Public/ | ||
+ | | DB Password | Password for DB access | | ||
+ | | Server | ||
+ | | Proofing | ||
===== Post-install checks ===== | ===== Post-install checks ===== | ||
Line 152: | Line 168: | ||
</ | </ | ||
- | Other certificates used by ADUCID server are listed in / | + | Other certificates used by ADUCID server are listed in / |
<sxh bash> | <sxh bash> | ||
PUBLIC_KEY=/ | PUBLIC_KEY=/ | ||
Line 165: | Line 181: | ||
postinstall checks | postinstall checks | ||
<codedoc code: | <codedoc code: | ||
- | orange-d3:~ root$ systemctl -l status httpd.service | + | aim:~ root$ systemctl -l status httpd.service |
● httpd.service - The Apache HTTP Server | ● httpd.service - The Apache HTTP Server | ||
| | ||
Line 180: | Line 196: | ||
| | ||
- | orange-d3:~ root$ systemctl -l status aducid-aaa.service | + | aim:~ root$ systemctl -l status aducid-aaa.service |
● aducid-aaa.service - The ADUCID AAA Module | ● aducid-aaa.service - The ADUCID AAA Module | ||
| | ||
Line 193: | Line 209: | ||
| | ||
- | Jun 25 23: | + | Jun 25 23: |
- | Jun 25 23: | + | Jun 25 23: |
- | Jun 25 23: | + | Jun 25 23: |
- | Jun 25 23: | + | Jun 25 23: |
- | Jun 25 23: | + | Jun 25 23: |
- | Jun 25 23: | + | Jun 25 23: |
- | Jun 25 23: | + | Jun 25 23: |
- | Jun 25 23: | + | Jun 25 23: |
- | Jun 25 23: | + | Jun 25 23: |
- | Jun 25 23: | + | Jun 25 23: |
- | orange-d3:~ root$ systemctl -l status tomcat9.service | + | aim:~ root$ systemctl -l status tomcat9.service |
● tomcat9.service - Apache Tomcat 9.0.6 Servlet Container | ● tomcat9.service - Apache Tomcat 9.0.6 Servlet Container | ||
| | ||
Line 211: | Line 227: | ||
Main PID: 921 (java) | Main PID: 921 (java) | ||
| | ||
- | | + | |
- | Jun 25 22: | + | Jun 25 22: |
- | Jun 25 22: | + | Jun 25 22: |
- | Jun 25 22: | + | Jun 25 22: |
- | Jun 25 22: | + | Jun 25 22: |
</ | </ | ||
Line 226: | Line 242: | ||
<codedoc code: | <codedoc code: | ||
- | orange-d3:~ root$ tail -f / | + | aim:~ root$ tail -f / |
Not found in ' | Not found in ' | ||
Not found in SystemResource Directory/ | Not found in SystemResource Directory/ |