Installation instructions (for REXEC versions <= 1.3)
There are three parts to an REXEC installation:
- Installing and configuring SSLeay.
- Installing REXEC.
- Starting the daemons and running applications.
1. Installing and configuring SSLeay.
(Yes, this should be automated and pathnames should be
configurable.)
- gzip -d SSLeay-0.9.0b.tar.gz
- tar xvf SSLeay-0.9.0b.tar.gz
- cd SSLeay-0.9.0b
- Read the INSTALL file. Three things will are required:
- Telling SSL where perl is.
- Telling SSL where you want its home to be (e.g., /usr/local/ssl)
- Telling SSL what type of system you have (e.g. linux-elf).
- cp ssleay.cnf
SSLeay-0.9.0b/apps/ssleay.cnf
- make
- make install
- mkdir -p /usr/mill/include
- mkdir -p /usr/mill/lib/ssl
- cd /usr/local/ssl
- Add /usr/local/ssl/bin to your PATH.
- cp include/* /usr/mill/include
- cp lib/* /usr/mill/lib/ssl
- bin/CA.sh -newca (creates directory demoCA).
(Use 'Certificate Authority' for name.)
- mkdir -p /usr/mill/pkg/ssl/etc
- mv demoCA /usr/mill/pkg/ssl/etc/ca
- cd /usr/mill/pkg/ssl/etc/ca
- cp cacert.pem certs
- cd certs
- ln -s cacert.pem `x509 -noout -hash < cacert.pem`.0
- ssleay genrsa > svr_key.pem
- ssleay req -new -key svr_key.pem -out svr_req.pem
(Use 'Cluster Node' for name.)
- ssleay ca -in svr_req.pem -out svr_cert.pem
- For each node in the cluster which will run jobs,
- cp svr_key.pem /etc/svr_key.pem
- cp svr_cert.pem /etc/svr_cert.pem
- chmod 700 /etc/svr_key.pem
- chmod 700 /etc/svr_cert.pem
- For each user who will run jobs on the cluster,
(Users will execute these commands, except for the signing at the end.)
- mkdir ~/.rexec
- chmod 700 ~/.rexec
- cd ~/.rexec
- ssleay genrsa > cli_key.pem
- ssleay req -new -key cli_key.pem -out cli_req.pem
(Use your login name.)
- ssleay ca -in cli_req.pem -out cli_cert.pem
(CA does this)
2. Installing REXEC
- gzip -d rexec-1.3.tar.gz
- tar xvf rexec-1.3.tar
- cd rexec-1.3
- ./configure (defaults to /usr/local)
- make
- make install
3. Starting the daemons and running applications
- Read the README file in the rexec-1.3 directory.
Last Modified: Wed Sep 6 19:35:13 PDT 2000
bnc,
PGP Public Key.