Quantcast
Channel: Ivanti User Community : All Content - Linux and Unix
Viewing all articles
Browse latest Browse all 182

How to install the Linux agent through the command prompt version 8.8 and prior?

$
0
0

Description

The Linux agent may need to be installed manually if using a platform for which Agent deployment support does not yet exist. Manual installation is also necessary if SSH is not installed on the Linux Device.

Resolution

To manually install the Linux agent, follow the steps for the specified platform below.

 

Manual Install on All Supported Linux Platfroms for 8.8 and Later

  1. From the Linux workstation, map a drive to the Core Server's ldlogon share.
    mount -t cifs -o username=User1,password=P@sswd! workgroup=Domain.tld //CoreServer/ldlogon /mnt
  2. Change to the mounted directory and run linuxpull.sh with the parameter of the Agent Configuration's .ini file.
    cd /mnt 

    ./linuxpull.sh "Default Linux Server Configuration.ini"

 

The linux agent will now install automatically using the settings from the chosen agent configuration.

Manual Install on All Supported Linux Platfroms for 8.7 and Earlier

Red Hat Enterprise Server 3 or 4 and SUSE 9 or 10

  1. Verify that the required RPMs are installed.

  2. Create a directory in the /tmp folder:
    mkdir /tmp/landesk
  3. Change to that directory.
    cd /tmp/landesk
  4. Copy or download the following files to this directory:

      Using a mounted share:
    mkdir /mnt1
      mount -t smbfs -o username=SomeUser,password=p@sswd!,workgroup=Domain //CoreServer/ldlogon /mnt1
      cp /mnt1/ldlogon/*.0 /tmp/landesk/
      cp /mnt1/ldlogon/Default\ Linux\ Configuration.sh /tmp/landesk/
      cp /mnt1/ldlogon/Default\ Linux\ Configuration.ini /tmp/landesk/
      cp /mnt1/ldlogon/unix/linux/* /tmp/landesk/
    Using HTTP:
     
  5. If the machine is an IPMI/BMC machine (with Monitoring included in the installation), type the following on a command line:
    export BMCPW="(bmc password)"
  6. Running as root, execute the shell script for the configuration. For example, to deploy the  Default Linux Configuration use the full path used in step 2:
    /tmp/landesk/Default\ Linux\ Configuration.sh
  7. A link to /usr/LANDesk/common/ldiscan.sh is created in /etc/cron.daily, however cron tasks can be setup as desired.

Debian / Ubuntu (Tested with Kubuntu 7.0.4)

  1. Install the following Debian Packages with apt-get.
    sudo apt-get install xinetd
      sudo apt-get smbfs

    Note: Not required for the LANDesk Agent but used for share access. sudo apt-get install openssh-server

       Note: openssh-server is required only for a push of the LANDesk agent, which isn't yet working from my testing.

  2. Mount a drive to the Core Server's LDLOGON share.
    sudo mount -t smbfs -o username=SomeUser,password=p@sswd!,workgroup=Domain //CoreServer/ldlogon /mnt
  3. Make a temporary directory.
    mkdir /tmp/ldms
  4. Copy the [hash].0 file from ldlogon to the temp directory.
    cp /mnt/*.0 /tmp/ldms/
  5. Copy the baseclient.tar.gz file to the temp directory.
    cp /mnt/unix/linux/baseclient.tar.gz /tmp/ldms/
  6. Untar and decompress the baseclient.tar.gz file.
    cd /tmp/ldms tar -xzf baseclient.tar.gz
  7. Install the LANDesk Agent Debian packages.
    sudo dpkg -i pds2*.deb cba8*.deb ldiscan*.deb
  8. Copy the .0 file to the /usr/LANDesk/common/cbaroot/certs directory.
    sudo cp /tmp/ldms/*.0 /usr/LANDesk/common/cbaroot/certs/
  9. The LANDesk Agent for Debian is now installed.

  10. Run an inventory scan.
    sudo /usr/LANDesk/ldms/ldiscan -ntt=CoreServer -f
    Note: SMBIOS data is currently not gathered as the LANDesk packages required to gather this data is not yet ported to Debian.

  11. Add a cron job to run the inventory scanner daily or as desired.

Unsupported Platforms with RPM capability

  1. Verify that the platform supports RPMs and that all required RPMs are installed.

  2. Create a directory in the /tmp folder:
    mkdir /tmp/landesk
  3. Change to that directory.
    cd /tmp/landesk
  4. Copy or download the following files to this directory:

      Using a mounted share:
    mkdir /mnt1
      mount -t smbfs -o username=SomeUser,password=p@sswd!,workgroup=Domain //CoreServer/ldlogon /mnt1
      cp /mnt1/ldlogon/*.0 /tmp/landesk/
      cp /mnt1/ldlogon/Default\ Linux\ Configuration.sh /tmp/landesk/
      cp /mnt1/ldlogon/Default\ Linux\ Configuration.ini /tmp/landesk/
      cp /mnt1/ldlogon/unix/linux/* /tmp/landesk/
    Using HTTP:
     
  5. If the machine is an IPMI/BMC machine (with Monitoring included in the installation), type the following on a command line:
    export BMCPW="(bmc password)"
  6. Extract all the tar.gz files.
    tar -xzf [eachfile].tar.gz
  7. Install the RPMs manually. Start out in this order: pds, cba, sdclient, vulscan.

  8. Copy the .0 file to the /usr/LANDesk/common/cbaroot/certs directory.
    sudo cp /tmp/ldms/*.0 /usr/LANDesk/common/cbaroot/certs/
  9. Install smbase and ldsmbios in order to be able to scan for BIOS data such as the serial number or asset tag.

Unsupported Platforms without RPM capability - Inventory Only With BIOS Data

  1. Create a directory in the /tmp folder:
    mkdir /tmp/landesk
  2. Change to that directory.
    cd /tmp/landesk
  3. Copy or download the following files to this directory:

      baseclient.tar.gz
      monitoring.tar.gz

      Using a mounted share:
    mkdir /mnt1
      mount -t smbfs -o username=SomeUser,password=p@sswd!,workgroup=Domain //CoreServer/ldlogon /mnt1
      cp /mnt1/ldlogon/unix/linux/baseclient.tar.gz /tmp/landesk/
      cp /mnt1/ldlogon/unix/linux/monitoring.tar.gz /tmp/landesk/
    Using HTTP:
    http://CoreServer/ldlogon/unix/linux/baseclient.tar.gz  
       http://CoreServer/ldlogon/unix/linux/monitoring.tar.gz
  4. Extract both the tar.gz files.
    tar -xzf *.tar.gz
  5. Extract the ldiscan-8.versionid.i386.rpm and find the  ldiscan file.

  6. Extract the smbase rpm and find the  lsmbios file.

  7. Create the following directories:
    mkdir /usr/LANDesk/ldms mkdir /usr/LANDesk/smbase
  8. Place  ldiscan in the /usr/LANDesk/ldms directory.

  9. Place  lsmbios in the /usr/LANDesk/smbase directory.

  10. Add a cron job to run the inventory scanner daily or as desired.

Unsupported Platforms without RPM capability - Inventory Only

  1. Create the following directory: /usr/LANDesk/ldms folder:
    mkdir /usr/LANDesk/ldms
  2. Change to that directory.
    cd /usr/LANDesk/ldms
  3. Download the linux scanner using a command line web utility such as wget or lynx.
      http://CoreServer/ldlogon/unix/linux/ldiscnux
  4. Run an inventory scan.
    sudo /usr/LANDesk/ldms/ldiscnux -ntt=CoreServer -f
    Note: SMBIOS data is currently not gathered as the LANDesk packages required to gather this data can only be installed with RPMs.

  5. Add a cron job to run the inventory scanner daily or as desired.

Viewing all articles
Browse latest Browse all 182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>