Difference between revisions of "Install xpl hub"

From xPL
Jump to: navigation, search
(Created page with "My [http://xplproject.org.uk/wiki/index.php/Project_documentation#Hub_Specification xPL hub] is based on John Bent's [http://johnb.xplproject.org.uk/info/perl/ xPL ToolKit for...")
 
(Install the hub =)
Line 2: Line 2:
 
is based on John Bent's [http://johnb.xplproject.org.uk/info/perl/ xPL ToolKit for Perl].
 
is based on John Bent's [http://johnb.xplproject.org.uk/info/perl/ xPL ToolKit for Perl].
  
= Install the hub ==
+
= Install the hub =
  
Download the tarball.
+
Download the [http://www.dspc.ch/xPL/Downloads/xPL_base.tar.bz2 tarball].
 +
It contains:
 +
* <code>xpl-hub.pl</code>: the hub
 +
* <code>xpl-monitor.pl</code>: a monitor which allows to view the xPL messages
 +
* <code>xpl-send.pl</code>: a utility for sending xPL messages
 +
* <code>xPL</code>: a directory containing Perl functions common to all the scripts
 +
 
 +
Move it to the location you want the scripts to reside.
 +
This could be <code>/opt/xPL</code> or <code>/usr/opt/xPL</code>.
 +
I personally create a <code>control</code> user who will run these scripts
 +
and I place the files in <code>/home/control/Documents/Controls</code> on a Linux machine
 +
or in <code>/Users/control/Documents/Controls</code> on a Mac.
 +
 
 +
Extract it:
 +
tar -xvjpf xPL_base.tar.bz2
 +
 
 +
= Test the hub =

Revision as of 11:42, 16 March 2014

My xPL hub is based on John Bent's xPL ToolKit for Perl.

Install the hub

Download the tarball. It contains:

  • xpl-hub.pl: the hub
  • xpl-monitor.pl: a monitor which allows to view the xPL messages
  • xpl-send.pl: a utility for sending xPL messages
  • xPL: a directory containing Perl functions common to all the scripts

Move it to the location you want the scripts to reside. This could be /opt/xPL or /usr/opt/xPL. I personally create a control user who will run these scripts and I place the files in /home/control/Documents/Controls on a Linux machine or in /Users/control/Documents/Controls on a Mac.

Extract it:

tar -xvjpf xPL_base.tar.bz2

Test the hub