Get started with SureMDM for Linux devices

Linux being one of the most secure operating system, many companies have opted it due to its versatility, security and cost effective nature.

SureMDM supports management of all versions of Linux devices. You can remotely install apps, create/delete directories, remotely transfer files and perform many file operations on the device.

 

Supported Java Platforms

OpenJDK 7 or above. Refer to http://openjdk.java.net/install/ for details

OR

Oracle JDK 7 or above. Refer to http://www.oracle.com/technetwork/java/javase/downloads/index.html for detail

 

Install SureMDM Nix Agent on Linux machine

1.  Download SureMDM Nix Agent from website using the below command.

     Command: wget https://suremdm.42gears.com/nix/nix.tar.gz

Step1

2.  To extract tar file use the below command

     Command: tar -xvzf nix.tar.gz

3.  Install SureMDM Nix Agent using the below command.

     Command for SaaS: sudo ./nix/installnix.sh [-y] [-c<account id>]

     Where

      y is assumed to be always yes while upgrading Nix agent.

      c is Customer ID or Account ID

      Example: sudo ./nix/installnix.sh -y -c1111111

     Command for On Premise: sudo  ./nix/installnix.sh [-y] [-c<account id>] [-s"<server path>"]

     Where

     y is assumed to be always yes while upgrading Nix agent.

     c is the Customer ID or Account ID

     s is the SureMDM server path

     Example: sudo  nix/installnix.sh -y -c11111 -s"http://192.168.1.8/suremdm"

     Note: Please enter Linux user password if password prompt appears during this process.

4.  SureMDM Nix Agent will be installed on the Linux machine and will be enrolled to SureMDM web console.

      

 

Troubleshooting

1.  wget command: In case ‘wget ’ command is not installed, please use the below command.

     Command: sudo apt-get install wget

     Or

     sudo yum install wget

2.  Below mentioned are the commands helpful in managing and monitoring SureMDM Nix agent

     Command to check SureMDM Nix Agent service status: sudo service nix status

     Command to start SureMDM Nix agent: sudo service nix start

     Command to stop SureMDM Nix agent: sudo service nix stop

     Command to restart SureMDM Nix agent: sudo service nix restart

 

If you need any further help in getting started with SureMDM for Linux, contact our support team.