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 [2019/01/27 08:19]
mpospisek [File and directory preparation]
documentation:server-install-aducid [2019/01/27 12:07]
mpospisek [Installation]
Line 2: Line 2:
 ===== File and directory preparation ===== ===== File and directory preparation =====
  
-**Directories for aducid-aaa-modules**+**Prepare the aducid-aaa.service**
 <sxh bash> <sxh bash>
 # --- AAA modules need the following directories are created before installation:​ # --- AAA modules need the following directories are created before installation:​
Line 52: Line 52:
 OPENAAA_AUTHORITY=`hostname` ​ OPENAAA_AUTHORITY=`hostname` ​
 " > /​etc/​sysconfig/​aducid-aaa " > /​etc/​sysconfig/​aducid-aaa
- +</​sxh>​ 
-/​opt/​aaa/​bin/​aducid-aaa.sh +<​codedoc>​ 
-echo \ +vi /​opt/​aaa/​bin/​aducid-aaa.sh 
-"#!/bin/bash -x+</​codedoc>​ 
 +<sxh> 
 +#!/bin/bash -x
 # #
 # Start stop or restart the ADUCID-AAA service # Start stop or restart the ADUCID-AAA service
Line 68: Line 70:
 usage () usage ()
 { {
-        echo $\"​Usage:​ $0 {start|stop|restart}\" 1>&2+        echo $"​Usage:​ $0 {start|stop|restart}"​ 1>&2
         RETVAL=2         RETVAL=2
 } }
Line 88: Line 90:
 } }
   ​   ​
-case \"$1\" in+case "​$1"​ in
     stop) stop ;;     stop) stop ;;
     status) status ;;     status) status ;;
Line 96: Line 98:
    
 exit $RETVAL exit $RETVAL
-" > /​opt/​aaa/​bin/​aducid-aaa.sh 
 </​sxh>​ </​sxh>​
  
Line 122: Line 123:
  
 Install and run the aducid-installer script Install and run the aducid-installer script
-<codedoc code:bash>+<sxh>
 # in this directory, rpm files are located # in this directory, rpm files are located
 cd /​media/​ADUCID/​repository/​el7/​x86_64 cd /​media/​ADUCID/​repository/​el7/​x86_64
Line 131: Line 132:
 # 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
-</codedoc>+</sxh>
  
 The aducid-installer script (see /​usr/​local/​bin/​aducid-installer.sh) asks about AIM server parameters: The aducid-installer script (see /​usr/​local/​bin/​aducid-installer.sh) asks about AIM server parameters: