Preparing a Linux device for remote installation of Network Agent

To prepare a device running Linux for remote installation of Network Agent:

  1. Test the device configuration:
    1. Check if you can connect to the device through an SSH client (such as PuTTY).

      If you cannot connect to the device, open the /etc/ssh/sshd_config file and make sure that the following settings have the respective values listed below:

      PasswordAuthentication no

      ChallengeResponseAuthentication yes

      Save the file (if necessary) and restart the SSH service using the sudo service ssh restart command.

    2. Disable the Sudo password for the user account under which the device is to be connected.

      Use the visudo command in Sudo to open the sudoers configuration file. In the file you have opened, specify the following: username ALL = (ALL) NOPASSWD: ALL. In this case, user name is the user account, which is to be used for the device connection using SSH.

    3. Save the sudoers file and then close it.
    4. Connect to the device again through SSH and make sure that the Sudo service does not prompt you to enter a password; you can do this using the sudo whoami command.
  2. Download and create an installation package:
    1. Before installation on the device, make sure that it already has all the dependencies (programs and libraries) installed for this package.

      You can view the dependencies for each package on your own, using utilities that are specific for the Linux distribution on which the package is to be installed. For more details about utilities, refer to your operating system documentation.

    2. Download the Network Agent installation package.
    3. To create a remote installation package, use the following files:
      • klnagent.kpd
      • akinstall.sh
      • DEB or RPM package of Network Agent
  3. Create a remote installation task with the following settings:
    • In the Settings window of the New Task Wizard, select the Using operating system resources by means of Administration Server check box. Clear all other check boxes.
    • In the Select Account window, to run the task, specify the settings of the user account, which is used for the device connection through SSH.
  4. Run the remote installation task.

Installation may return an error if you are installing Network Agent with SSH on devices running Fedora versions earlier than version 20. In this case, for successful installation of Network Agent, comment out the Defaults requiretty option in the /etc/sudoers file. For a detailed description of the condition of the Defaults requiretty option that may cause problems during SSH connection, please refer to the Bugzilla bugtracker website.

Page top