Helios

 view release on metacpan or  search on metacpan

INSTALL  view on Meta::CPAN


If you don't want to submit jobs via HTTP, you don't have to install Apache, 
though the Helios::Panoptes admin interface (packaged separately) will still 
need it.

Once the Helios base libraries are installed, you can optionally install the 
job submission CGI in your host's cgi-bin directory to support job submission 
via HTTP.  If your cgi-bin directory is, say, /usr/local/apache/cgi-bin:

    cp cgi-bin/submitJob.pl /usr/local/apache/cgi-bin/
 	chown root.root /usr/local/apache/cgi-bin/submitJob.pl
	chmod a+rx /usr/local/apache/cgi-bin/submitJob.pl
    
should put submitJob.pl in the right place and set the proper ownership and 
permissions.

    
# CHANGE HISTORY
# 2012-01-04: Split out Ubuntu instructions into separate INSTALL.ubuntu file.
# Updated both new files for the most recent releases of the OSes.  Clarified
# generic instructions in places.

INSTALL.redhat  view on Meta::CPAN

built-in CGI support.  The most obvious choice is the Apache HTTP Server, which 
you can install with:

    yum install httpd

You'll need to edit your Apache configuration to enable mod_cgi.  Once your 
Apache server is configured, install the submitJob.pl program as a CGI program 
by issue these commands as root or via sudo:

    cp cgi-bin/submitJob.pl /var/www/cgi-bin
	chown root.root /var/www/cgi-bin/submitJob.pl
	chmod a+rx /var/www/cgi-bin/submitJob.pl
	
You'll also need to edit your Apache configuration to add the HELIOS_INI env var
so submitJob.pl can find the helios.ini file; use the SetEnv directive in your 
Apache configuration for this:

    SetEnv HELIOS_INI /path/to/helios.ini


5) Install Helios::Panoptes (optional)

INSTALL.redhat  view on Meta::CPAN


3) Install Helios & dependencies

Edit the helios.ini to set the MySQL datasource name, username, and password.  
Also set the pid_path parameter to a location Helios can write PID files and 
grant the user you will run Helios services as access.  For example, to create 
a /var/run/helios directory (the default location) and make it usable by the 
user 'helios', as root or via sudo issue:

    mkdir /var/run/helios
    chown helios /var/run/helios
    chmod u+rw /var/run/helios

Next, set the HELIOS_INI environment variable to point to the helios.ini file:

    export HELIOS_INI=/path/to/helios.ini

Make sure to use an absolute path!

Now that the Helios configuration is set, use the CPAN shell to install the 
remaining Helios dependencies and Helios itself.  As root or via sudo, issue

INSTALL.redhat  view on Meta::CPAN

built-in CGI support.  The most obvious choice is the Apache HTTP Server, which 
you can install with:

    yum install httpd

You'll need to edit your Apache configuration to enable mod_cgi.  Once your 
Apache server is configured, install the submitJob.pl program as a CGI program 
by issue these commands as root or via sudo:

    cp cgi-bin/submitJob.pl /var/www/cgi-bin
	chown root.root /var/www/cgi-bin/submitJob.pl
	chmod a+rx /var/www/cgi-bin/submitJob.pl
	
You'll also need to edit your Apache configuration to add the HELIOS_INI env var
so submitJob.pl can find the helios.ini file; use the SetEnv directive in your 
Apache configuration for this:

    SetEnv HELIOS_INI /path/to/helios.ini


5) Install Helios::Panoptes (optional)

INSTALL.ubuntu  view on Meta::CPAN

built-in CGI support.  The most obvious choice is the Apache HTTP Server, which 
you can install with:

    apt-get install apache2

You'll need to edit your Apache configuration to enable mod_cgi.  Once your 
Apache server is configured, install the submitJob.pl program as a CGI program 
by issue these commands as root or via sudo:

    cp cgi-bin/submitJob.pl /usr/lib/cgi-bin
	chown root.root /usr/lib/cgi-bin/submitJob.pl
	chmod a+rx /usr/lib/cgi-bin/submitJob.pl
	
You'll also need to edit your Apache configuration to add the HELIOS_INI env var
so submitJob.pl can find the helios.ini file; use the SetEnv directive in your 
Apache configuration for this:

    SetEnv HELIOS_INI /path/to/helios.ini


5) Install Helios::Panoptes (optional)



( run in 0.681 second using v1.01-cache-2.11-cpan-71847e10f99 )