HLServer: OS X Server Setup
From Headus Docs
Revision as of 05:07, 15 January 2014 (edit) Headus (Talk | contribs) (→Update) ← Previous diff |
Revision as of 09:11, 21 June 2016 (edit) (undo) Headus (Talk | contribs) (→Setup) Next diff → |
||
Line 21: | Line 21: | ||
</ul> | </ul> | ||
- | == Setup == | + | == Setup v2 == |
+ | |||
+ | Double click the '''setup''' script to start the installation. | ||
+ | First you will be asked where you want to install the hlserver | ||
+ | files, so just tap the Enter key here to accept the default ... | ||
+ | |||
+ | <pre> | ||
+ | If prompted, type in your password for sudo access. | ||
+ | |||
+ | Installation location (/usr/local/hlserver) ? | ||
+ | </pre> | ||
+ | |||
+ | Next you will most likely be asked for your password for sudo access; | ||
+ | this is so the install folder can be created and the service daemon | ||
+ | started ... | ||
+ | |||
+ | <pre> | ||
+ | sudo mkdir -p /usr/local/hlserver | ||
+ | Password: | ||
+ | sudo chown architec /usr/local/hlserver | ||
+ | sudo cp com.headus.hlserver.plist /Library/LaunchDaemons | ||
+ | sudo chown root /Library/LaunchDaemons/com.headus.hlserver.plist | ||
+ | sudo chmod 644 /Library/LaunchDaemons/com.headus.hlserver.plist | ||
+ | cp -f hlmanager hlserver hlserver.conf .keys /usr/local/hlserver | ||
+ | sudo launchctl unload /Library/LaunchDaemons/com.headus.hlserver.plist | ||
+ | sudo rm -f /tmp/hlserver.pid | ||
+ | sudo launchctl load /Library/LaunchDaemons/com.headus.hlserver.plist | ||
+ | </pre> | ||
+ | |||
+ | After that, the setup script will wait for the service to start up, and | ||
+ | then runs the manager command ... | ||
+ | |||
+ | <pre> | ||
+ | Waiting for HLServer to start ... 10 9 8 | ||
+ | Trying HLManager ... | ||
+ | Trying architec@localhost ... Connected ... Fetching ... | ||
+ | </pre> | ||
+ | |||
+ | Once hlmanager is connected, you will see something like this ... | ||
+ | |||
+ | <pre> | ||
+ | Server v2.00 localhost up 00:00 | ||
+ | |||
+ | Your login has been added automatically to | ||
+ | the hlserver.conf file for Manager access. | ||
+ | If you want to add Manager access for other | ||
+ | users, you will need to edit that file on | ||
+ | the server. | ||
+ | |||
+ | ---------------------------------------------- | ||
+ | |||
+ | No valid floating licenses found. Please | ||
+ | email the following code to your vendor so | ||
+ | new license keys can be generated. | ||
+ | |||
+ | RF55 RDH4 WGA4 9P2D XECG F530 2MHX 9ZST | ||
+ | |||
+ | Copy of above code: '/tmp/hlmanager-code.txt' | ||
+ | |||
+ | If you've already received your license keys, | ||
+ | now use the "add" command to append one at | ||
+ | a time to the keys file on the server. | ||
+ | </pre> | ||
+ | |||
+ | == Setup v1 == | ||
Double click the '''setup''' script to start the installation. | Double click the '''setup''' script to start the installation. |
Revision as of 09:11, 21 June 2016
|
Download the TGZ file and double click it to extract the contents into the hlserver folder.
The following files make up the OS X license server installation:
Setup v2Double click the setup script to start the installation. First you will be asked where you want to install the hlserver files, so just tap the Enter key here to accept the default ... If prompted, type in your password for sudo access. Installation location (/usr/local/hlserver) ? Next you will most likely be asked for your password for sudo access; this is so the install folder can be created and the service daemon started ... sudo mkdir -p /usr/local/hlserver Password: sudo chown architec /usr/local/hlserver sudo cp com.headus.hlserver.plist /Library/LaunchDaemons sudo chown root /Library/LaunchDaemons/com.headus.hlserver.plist sudo chmod 644 /Library/LaunchDaemons/com.headus.hlserver.plist cp -f hlmanager hlserver hlserver.conf .keys /usr/local/hlserver sudo launchctl unload /Library/LaunchDaemons/com.headus.hlserver.plist sudo rm -f /tmp/hlserver.pid sudo launchctl load /Library/LaunchDaemons/com.headus.hlserver.plist After that, the setup script will wait for the service to start up, and then runs the manager command ... Waiting for HLServer to start ... 10 9 8 Trying HLManager ... Trying architec@localhost ... Connected ... Fetching ... Once hlmanager is connected, you will see something like this ... Server v2.00 localhost up 00:00 Your login has been added automatically to the hlserver.conf file for Manager access. If you want to add Manager access for other users, you will need to edit that file on the server. ---------------------------------------------- No valid floating licenses found. Please email the following code to your vendor so new license keys can be generated. RF55 RDH4 WGA4 9P2D XECG F530 2MHX 9ZST Copy of above code: '/tmp/hlmanager-code.txt' If you've already received your license keys, now use the "add" command to append one at a time to the keys file on the server. Setup v1Double click the setup script to start the installation.
If the setup script runs smoothly, hlserver will be started and hlmanager is run as a final check. You should see something like the following as output ... Waiting for HLServer to start ... 10 9 8 Trying HLManager ... Trying architec@localhost ... Server localhost up 4 seconds <--------- Licenses ----------> <------------------------- Users -------------------------> Name Status Free Used Id Hostname User App Age Idle uvlayoutv2 29 days 4 0 hlserver will be automatically restarted whenever the system is rebooted, and you can stop and start it via the launchctl command. We recommend that you keep the hlserver folder in case you need to re-run the setup script. It can be moved if you dont want to leave it on your Desktop or in the Downloads folder. UpdateIf you need to update your keys file (e.g. replacing temp keys with permanent ones) then re-run the setup script and answer y to the "Do you have updated keys" question. Type Enter to edit the keys file, cut'n'paste in the new keys, then save the file, kill the window, and re-run the setup script to restart HLServer and check the results with HLManager. |