How to Install Allxon Agent with Device Name or Device Profile Options?

Step 1: Open Allxon Installer

 

  • On Linux OS:

  1. Open the Terminal
  2. Enter the installation command with desired options (refer to Step 2.):
sudo bash -c "$(wget -qO - https://get.allxon.net/linux)" -s [options] [arguments]
  • On Windows OS:
  1. Download allxon-installer.exe (input: "https://get.allxon.net/windows/allxon-installer.exe" on your brower)
  2. Open the Terminal as an Admin
  3. Navigate to the location of allxon-installer.exe
  4. Enter the installation command with desired options (refer to Step 2.):
allxon-installer.exe --confirm-command install [options]=[arguments]

Step 2: Introduction to Options

These two options can be used separately or in combination.


  • Device Name

- Linux:

sudo bash -c "$(wget -qO - https://get.allxon.net/linux)" -s --name "Your device's name"

- Windows:

allxon-installer.exe --confirm-command install name="your's device's name"

  • Device Profile
- Linux:
sudo bash -c "$(wget -qO - https://get.allxon.net/linux)" -s --profile path/profile.json
- Windows:
allxon-installer.exe --confirm-command install profile="path/profile.json" 
  • The profile file is a JSON file that contains the fields under the Profile section in the Allxon Portal. This file can be used to set the profile during installation and should be in the above format.

    profile={
    "store": "My Store",
    "phone": "12345678",
    "asset": "ASSET123",
    "address": "123 Main St",
    "city": "Anytown",
    "state": "CA",
    "country": "USA",
    "zip": "12345",
    "note": "This is a note",
    "tags": [
    "tag1",
    "tag2"
    ]
    }

Notes:

1. country: should be in ISO 3166-1 alpha-2 format. 

2. tag: only up to three tags, each up to 10 characters

 

*You can also download the JSON template directly.

 

  • Used In Combination:

- Linux:

sudo bash -c "$(wget -qO - https://get.allxon.net/linux)" -s --name "Your device name" --profile path/profile.json

- Windows: 

allxon-installer.exe install name="my device" profile="path/profile.json"

 

For more options, learn more at: https://github.com/allxon/allxon-cli/blob/master/docs/Home.md