Loading

  1. Step 1. Download Warp 10™
  2. Step 2. Extract Warp 10™
  3. Step 3. Configure Java path
  4. Step 4. Bootstrap Warp 10™
  5. Step 5. Run Warp 10™
  6. Step 6. Setup a systemd unit

Standalone Warp 10™ deployment

Step 1. Download Warp 10™

Go to download page, download the latest tar.gz from Bintray.

Step 2. Extract Warp 10™

tar xf warp10-X.Y.Z.tar.gz
cd warp10-X.Y.Z

Step 3. Configure Java path

You have to define the JAVA_HOME environment variable. You can set it in the Warp 10™ script bin/warp10-standalone.sh.

Step 4. Bootstrap Warp 10™

This will prepare for you the environment of the Warp 10™ platform:

  • Create warp10 user if needed
  • Generate the standalone configuration file from template
  • Prepare directory hierarchy
  • Set files permissions

Start bootstrap as root:

sudo bin/warp10-standalone.init bootstrap

If you have special needs, you can now adapt the configuration files in etc/conf.d/.

Step 5. Run Warp 10™

As root:

sudo bin/warp10-standalone.init start

or instead of using warp10-standalone.init you can use warp10-standalone.sh as warp10 user:

sudo -u warp10 /opt/warp10-X.Y.Z/bin/warp10-standalone.sh start

At the first start, this script will initialize the LevelDB database. An initial set of tokens will be generated and displayed on the screen with some useful commands to start playing with your Warp 10™ instance.

Useful resources:

  • Warp 10™ standalone config files are gathered in etc/conf.d/ directory.
  • Initials tokens are available in the etc/initial.tokens
  • Logs are available in the logs directory
  • Data are stored via LevelDB in the leveldb directory

Step 6. Setup a systemd unit

If you want Warp 10™ to start automatically, edit the bin/warp10.service and define ExecStart and ExecStop keys to set the path to your Warp 10™ instance:

[Unit]
Description=Warp 10 Standalone

[Service]
Type=forking
User=warp10
ExecStart=/opt/warp10/bin/warp10-standalone.sh start
ExecStop=/opt/warp10/bin/warp10-standalone.sh stop
SuccessExitStatus=143
RestartSec=10s
TimeoutStartSec=60s
#If you do not want systemd to monitor and restart Warp 10 automatically, comment the restart always option:
Restart=always

#You can customize system limits here: see https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Process%20Properties
#LimitNOFILE=1000000
#LimitCORE=infinity
#LimitNPROC=32000
#LimitMEMLOCK=500000

[Install]
WantedBy=multi-user.target

Link the unit file to system files, reload services, and activate the unit.

ln -s /opt/warp/bin/warp10.service /etc/systemd/system/warp10.service
systemctl daemon-reload
systemctl enable warp10

Reboot your system and check the system journal :

journalctl -f -u warp10