...
Unpack rlm_nl.tar.gz into the place you want the server to be installed. In our example, it will be "/opt". This will create a directory called "rlm", so everything will be inside "/opt/rlm".
Inside this directory, there will be some files and directories:
Code Block [maxwell@mylinuxbox rlm]$ pwd /opt/local/howtorlm/rlm [maxwell@mylinuxbox rlm]$ ll total 1492 drwxr-xr-x 2 maxwell maxwell 4096 Nov 14 12:47 init.d_script drwxr-xr-x 2 maxwell maxwell 4096 Oct 18 14:57 licenses drwxr-xr-x 2 maxwell maxwell 4096 Oct 18 14:57 logs -rw-r--r-- 1 maxwell maxwell 476 Oct 11 14:35 nextlimit.set -rw-r--r-- 1 maxwell maxwell 822 Nov 14 12:48 README_RLM.txt -rwxr-xr-x 1 maxwell maxwell 1190336 Oct 11 09:59 rlm lrwxrwxrwx 1 maxwell maxwell 7 Dec 10 19:00 rlmdown -> rlmutil lrwxrwxrwx 1 maxwell maxwell 7 Dec 10 19:00 rlmhostid -> rlmutil lrwxrwxrwx 1 maxwell maxwell 7 Dec 10 19:00 rlmreread -> rlmutil lrwxrwxrwx 1 maxwell maxwell 7 Dec 10 19:00 rlmstat -> rlmutil -rwxr-xr-x 1 maxwell maxwell 261048 Oct 11 14:35 rlmutil
- With a text editor, open ./init.d_script/rlm and change the following lines:
Line 14: rlmuser=maxwell
Change "maxwell" to the user under which rlm will run. This user must NOT be root. The user must have read write and execute permissions on the rlm installation folder.
Line 17: rlmdir=/opt/rlm
Change /opt/rlm to the path where you want to install rlm. In our example is /opt/rlm, but it can be wherever you want.
Line 23: debuglog=$rlmdir/logs/rlm.log
Change $rlmdir/logs/rlm.log to the file path where you want to write the rlm server logs. In our example is /opt/rlm/logs/rlm.log, but it can be wherever you want.
Line 26: licsdir=$rlmdir/licenses
Change $rlmdir/licenses to the folder where you want to store the maxwell license. The LicenseActivator program will save the floating license in $HOME/Maxwell so in theory you could set licsdir=/home/$rlmuser/Maxwell. BUT THIS IS NOT THE NORMAL PRACTISE WITH RLM. Normally the licenses are in the same folder as rlm, i.e: licsdir=$rlmdir, so we strongly suggest moving the license from $HOME/Maxwell to $rlmdir. - Save ./init_d_script/rlm
- On Fedora Core, and CentOS, copy ./init.d_script/rlm to /etc/rc.d/init.d (this needs root permissions to be done)
On Debian and Debian-like distros (Ubuntu....) copy ./init.d_script/rlm to /etc/init.d (this needs root permissions to be done) Run the command:
On Fedora Core, and CentOS (actually /etc/init.d is a soft link to /etc/rc.d/init.d)
Code Block cd /etc/rc.d/init.d
On Debian and Debian-like distros (Ubuntu....)
Code Block cd /etc/init.d
Run the command: (this needs root permissions to be done)
Code Block ln -s ../init.d/rlm /etc/rc3.d/S99rlm
Run the command: (this needs root permissions to be done)
Code Block ln -s ../init.d/rlm /etc/rc5.d/S99rlm
Run the command:
Code Block /etc/init.d/rlm start
to start the license server. The RLM License Server will now start automatically on boot.
Check that the license server is up and running opening a web browser and opening the following URL:
Code Block http://localhost:5054
If the license server machine will also be running Maxwell Render, create a text file named maxwell_license.lic in the $HOME/Maxwell directory with just one line that reads:
Code Block HOST localhost ANY 5053
This line tells Maxwell which computer to connect to, and using which port, in order to get a license from the RLM License Server running on that particular computer. In this case, the computer is "localhost". Instead of "localhost" (without the quotes) this could be the IP address, i.e: 192.168.0.13
Proceed with the Maxwell installation as described here.
...