Once you have obtained the Linux AxSupervisor image, via CD or download, you will initially have a file on your machine named
similar to AX_Supervisor_for_Linux_x86-3.4.. Expand this file—for example, change to its parent directory and enter the following command:
n.zip
root@<host>:/home/<user># unzip AX_Supervisor_for_Linux_x86-3.4.#.zip
This command expands the image and produces the directory hierarchy:
| dist | folder |
| docs | folder |
| install-data | folder |
| lexicon | folder |
| modules | folder |
| overlay | folder |
| install.sh | shell script |
| INSTALL | installation instructions |
| README | README document |
| setup-linux-x86.tgz | Tar archive |
Please review the README and INSTALL. When you are ready to begin the installation process, type the following at the command prompt:
root@<host>:/home/<user># bash install.sh
This script steps you through the installation process by asking a series of yes/no questions, where the default choice (press
ENTER) appears in capital letters, that is YES or NO instead of yes or no. Some of the more complicated questions include:
Would you like to configure which users can use Niagara AX [YES/no]:
If you answer yes to this question, any user you provide will be added to the new group 'niagarad', have permissions to start/stop/query the NiagaraAX platform service, and have Desktop and Menu Icons installed to their home directory. If you choose not to configure any users, you'll still be able to run 'niagarad' and NiagaraAX, but it can only be controlled as 'root'.
If you want to add users later, use the command usermod -G -a niagarad UserNameYouWantToAdd
Should Niagara AX users be allowed to accomplish certain root privileged tasks? This is limited to setting system time, date, timezone, reboot, TCP/IP and NTP settings [yes/NO]:
This is a very important question, as is it only asked once, and can not be re-configured after the installation completes
(unless you uninstall, then install again). If you answer yes to this question, then a setuid binary called 'ndsupport' will
be installed in ${NIAGARA_HOME}/bin.
Through this binary the wb, station or niagara daemon will obtain root privileges and perform the desired operation. If you choose not to install this executable, or if you delete it for some reason after you have installed it, then you will not be able to set or execute any of the listed operations through 'niagarad', 'wb', or 'station'.
Should Niagara AX add necessary "/etc/sudoers" information for the group niagarad? [yes/NO]:
This is a convenience. If you choose yes, then the /etc/sudoers entry required to allow members of the group 'niagarad' to execute '/usr/bin/niagaradctl' as the user 'niagarad' is automatically generated and added to the file ‘/etc/sudoers’. If you choose no, then the necessary entry will still be generated and logged, you will just need to manually modify the
‘/etc/sudoers’ file through vim or visudo.
The remainder of the questions asked by the installer should not require explanation. The installer will ask you to review
your choices and then it copies files. If the installer fails at any step, please send an email to Tridium support that specifies
your Linux distribution, version, and the install.log file.
Important information is included at the end of the installation script. Please take the time to read this information and complete any additional
steps it may ask you to do.
Once you have installed NiagaraAX, the following is in /opt/Niagara/Niagara-3.4.n/
Copyright © 2000-2016 Tridium Inc. All rights reserved.