Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Using the file transfer method of your choice, transfer the downloaded Chariot MQTT Server zip file to the server.

  2. From a command prompt, create a new user 'chariot' and give the user super user privileges

    Code Block
    languagebash
    sudo adduser chariot
    sudo usermod -aG sudo chariot


  3. From the command prompt, install the unzip utility.

    Code Block
    languagebash
    sudo apt-get install unzip


  4. From the command prompt, switch user to the 'chariot' user

    Code Block
    languagebash
    su chariot


  5. From the command prompt, run the unzip command on the file. For example, unzip the files into a directory named Chariotchariot

    Code Block
    languagebash
    sudo unzip /tmp/chariot_linux.zip -d ./chariot


  6. From the command prompt, run the Chariot service install script in the directory where the files were unzipped.

    Code Block
    languagebash
    cd chariot
    sudo /bin/bash ./install.sh


  7. From the command prompt, change ownership to 'chariot', log out of the 'chariot' user, remove 'chariot' from the sudo group and log in as 'chariot'

    Code Block
    languagebash
    cd ..
    sudo chown -R chariot:chariot ./chariot
    ctrl + dexit
    sudo deluser chariot sudo
    su chariot


  8. The Chariot MQTT Server should now be installed in the Linux server and will run automatically when the server is booted.




...