Unix Installation Instructions


Installing Rush

1) Choose a local directory to install rush.


2) Configure the
/usr/local/rush/etc/hosts file

3) (OPTIONAL) Configure the /usr/local/rush/etc/rush.conf file.

4) (OPTIONAL) Configure the /usr/local/rush/etc/templates file.

5) (OPTIONAL) Configure the /usr/local/rush/etc/.submit and /usr/local/rush/etc/.render files.

6) Configure daemon to start on boot.

     Irix: 
            cp $RUSH_DIR/etc/S99rush /etc/init.d/rush
            chmod +x /etc/init.d/rush
            chmod 755 /etc/init.d/rush
            ln -s /etc/init.d/rush /etc/rc2.d/S99rush
            ln -s /etc/init.d/rush /etc/rc0.d/K01rush

     Linux:
            cp $RUSH_DIR/etc/S99rush /etc/rc.d/init.d/rush
            chmod +x /etc/rc.d/init.d/rush
            chmod 755 /etc/rc.d/init.d/rush
            ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc3.d/S99rush
            ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc5.d/S99rush    
	    ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc0.d/K01rush
	    ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc6.d/K01rush

7) Start the daemon, and test it

8) (OPTIONAL) Setup accounting log rotations.

9) (OPTIONAL) Security issues.

Once you have things working on the first machine, then you can easily install rush on the rest of the machines. See 'Network Install' below..

Network Install

To install rush on the rest of the network (assuming you've got it working on one machine), you will want to rdist(1) the /usr/local/rush directory to all the machines, start the daemons, and verify they're running. FIRST, make sure *all* the hostnames you will be installing on are configured in the /usr/local/rush/etc/hosts file. Then, release everything to the net, and start the daemons:


    # IRIX REMOTES
    foreach i ( octane1 octane2 octane3 octane4 )
        rdist -c /usr/local/rush             ${i}:/usr/local/rush
	rdist -c /usr/local/rush/etc/S99rush ${i}:/etc/init.d/rush
        rsh $i ln -s /etc/init.d/rush /etc/rc2.d/S99rush
        rsh $i ln -s /etc/init.d/rush /etc/rc0.d/K01rush
	rsh $i /etc/init.d/rush start
    end

    # LINUX REMOTES
    foreach i ( linux1 linux2 linux3 linux4 )
        echo -n Working on ${i}: dist..
        rdist -c /usr/local/rush             ${i}:/usr/local/rush
	rdist -c /usr/local/rush/etc/S99rush ${i}:/etc/rc.d/init.d/rush
        rsh $i ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc3.d/S99rush
        rsh $i ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc5.d/S99rush    
	rsh $i ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc0.d/K01rush
	rsh $i ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc6.d/K01rush
	rsh $i /etc/rc.d/init.d/rush start
    end
    

Now verify all the daemons have started.

    rush -ping +any           # pings all daemons in rush/etc/hosts
    

Installing WWW-RUSH

To use www-rush, the web GUI interface for rush, make sure *one* of the rush machines is also running a web server (like Apache). You would only need to the following config on the web server.

1) Copy the www-rush perl script to the webserver's 'cgi-bin' directory.

    cp /usr/local/rush/cgi-bin/www-rush /usr/local/apache/cgi-bin

2) Install the www-rush documentation in the 'htdocs' directory.

    cp -rp /usr/local/rush/html/www-rush /usr/local/apache/htdocs/www-rush

3) Test it by opening Netscape to the URL for the script.

    http://yourserver.com/cgi-bin/www-rush

4) Customize the www-rush script's variables if need be