You will first need to build, test and install the following prerequisites:
The Moab Accounting Manager server and clients are written in Perl. Perl 5.8 or higher is required. Use 'perl -v' to see what level of Perl is installed.
For RedHat-based systems:
[root]# yum install perl
Command-line clients and Perl API scripts use a security promotion method (gauth or suidperl) to authenticate and encrypt communications with the server. It is recommended that you install and use setuid perl as the security promotion method if it is available for your system. Otherwise, configure will compile and use gauth as the security promotion method. Use 'suidperl -v' to see if suidperl is installed. See the description for the security.promotion configuration parameter in the Client Configuration section for more information about the two security promotion methods.
For RedHat-based systems:
[root]# yum install perl-suidperl
For SUSE-based systems
[root]# chmod 4755 /usr/bin/sperl*
For Debian-based systems:
[root]# apt-get install perl-suid
If you intend to use the PostgreSQL, the MySQL or other external database, you will need to install it. PostgreSQL is recommended since it is an excellent database supporting all necessary features and has been more thoroughly tested than the others. The only thing needed for SQLite is the sqlite3 client for bootstrapping.
For PostgreSQL on Redhat-based systems:
[root]# yum install postgresq1 postgresql-libs postgresql-server postgresql-devel
For PostgreSQL on SUSE-based systems:
[root]# zypper install postgresq1 postgresql-libs postgresql-server postgresql-devel
For PostgreSQL on Debian-based systems:
[root]# apt-get install postgresql postgresql-common postgresql-client postgresql-server-dev-9.1
For MySQL on Redhat-based systems:
[root]# yum install mysql mysql-devel mysql-server
For MySQL on SUSE-based systems:
[root]# zypper install mysql mysql-server
For MySQL on Debian-based systems:
[root]# apt-get install mysql-common mysql-server libmysqlclient-dev
For SQLite on Debian-based systems:
[root]# apt-get install sqlite3
LibXML2 is needed by the XML::LibXML perl module to communicate via the SSSRMAP message format. The libxml2 development package is needed for the XML::LibXML perl module to install properly.
For RedHat-based systems:
[root]# yum install libxml2 libxml2-devel
For SUSE-based systems:
[root]# zypper install libxml2 libxml2-devel
For Debian-based systems:
[root]# apt-get install libxml2 libxml2-dev
The interactive control program (goldsh) can support command-line-editing capabilities if readline support is enabled.
For RedHat-based systems:
[root]# yum install ncurses-devel readline-devel
For SUSE-based systems:
[root]# zypper install ncurses-devel readline-devel
For Debian-based systems:
[root]# apt-get install ncurses-dev libreadline.dev
Moab Accounting Manager provides a web-based GUI so that managers, users, and administrators can interact with the accounting and allocation system. The web interface utilizes Perl CGI and SSL and needs to have an httpd server (preferably apache) installed. mod_ssl is also needed and is often bundled as part of the apache2 server.
For RedHat-based systems:
[root]# yum install httpd mod_ssl
For SUSE-based systems:
[root]# zypper install apache2
For Debian-based systems:
[root]# apt-get install apache2
OpenSSL is used to encode the secret key and is used in the web interface to encrypt communications with the server.
For RedHat-based systems:
[root]# yum install openssl
For Debian-based systems:
[root]# apt-get install openssl
In some distributions (e.g. redHad-based systems), Security-Enhanced Linus (SELinux) blocks the use of setuid perl (used in client authentication). If you are using setuid perl as the security promotion method (this is the default if available), you will need to disable SELinux.
For RedHat-based systems:
[root]# vi /etc/sysconfig/selinux SELINUX=disabled [root]# setenforce 0
(Undefined variable: MyVariables.!CopyrightInfo!)