Installation and Configuration of a Stand-alone Continuum Worker
Overview
This article is intended to help those needing to install a stand-alone continuum worker.
Prerequisite
Ensure Python 2.7 is installed, it will not be on Ubuntu 16.04 or newer. To test this perform which python2.7
in the CLI. If no path is returned then Python 2.7 is not installed.
Install Python 2.7 (if needed)
1. Update Package Manager List
sudo apt-get update
2. Install Python 2.7 (If Necessary)
sudo apt-get install python2.7
Install Worker
1. Download the Continuum Install Script
curl -O https://s3.amazonaws.com/versionone-...tinuum-worker-<installer-version>-installer.sh
2. Make the Script Executable
chmod +x continuum-worker-<installer-version>-installer.sh
3. Move the installer to /tmp
mv continuum-worker-<installer-version>-installer.sh /tmp/
4. Add the Continuum User
sudo adduser continuum
- When prompted provide a password and document the password.
5. Give the Continuum User Root Access
sudo usermod -aG sudo continuum
6. Restrict Access to the Continuum Home Directory
sudo chmod 750 /home/continuum
7. Switch to the Continuum User
sudo su - continuum
8. Switch to the Temp Folder
cd /tmp
9. Run the Installer
./continuum-worker-<installer-version>-installer.sh -u '<Fully-qualified URL of Continuum UI server, ex https://yourcontinuuminstance.com>' -k '<encryption key from continuum.yaml file>'
10. Configure the Continuum application server to use the stand-alone worker
1. Remove the line for ctm-poller from the file referenced by $CONTINUUM_SERVICES
2. Update the Linux user's continuum.yaml file (~/continuum/continuum.yaml) to enable a stand-alone worker by adding the following under the system header (two space indentation)
system:
single_server_mode: false
11. Source the user's profile
. ~/.profile
12. Restart Continuum Services
ctm-restart-services