This document will attempt to outline a basic install of UBMoD.
This installation document assumes you are running a Red Hat based Linux system and already have Apache, PHP, Perl and MySQL installed and running.
# rpm -Uvh ubmod-x.x.x-x.el6.noarch.rpm
mysql> create database ubmod; mysql> grant all on ubmod.* to ubmoduser@localhost identified by 'password'; mysql> quit; $ mysql -u ubmoduser -p ubmod < /usr/share/doc/ubmod-x.x.x/ddl/ubmod.sql
/etc/ubmod/settings.ini
with your
site specific settings.[database] host = localhost dbname = ubmod user = ubmoduser password = password
$ ubmod-shredder -v -s -H your.host.org -f pbs -d /var/spool/pbs/server_priv/accounting
$ ubmod-shredder -v -s -H your.host.org -f sge -i /var/lib/gridengine/default/common/accounting
$ ./shredder/bin/ubmod-slurm-helper -v
$ ubmod-shredder -v -u
/etc/httpd/conf.d/ubmod.conf
with
your site specific settings.Listen 8080 <VirtualHost *:8080> DocumentRoot /usr/share/ubmod/html <Directory /usr/share/ubmod/html> RewriteEngine On RewriteRule ^api/rest/(.*)$ api/rest/index.php?path_info=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?path_info=$1 [L,QSA] </Directory> </VirtualHost>
# /etc/init.d/httpd reload