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
- 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
- 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
- Verify that the required RPMs are installed.
- Create a directory in the /tmp folder:
mkdir /tmp/landesk
- Change to that directory.
cd /tmp/landesk
- Copy or download the following files to this directory:
Using a mounted share:mkdir /mnt1
Using HTTP:
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/- http://CoreServer/ldlogon/066e6c79.0 (On each Core Server this file is unique. Replace the 066e6c79 to match the .0 file in ldlogon.)
- http://CoreServer/ldlogon/Default Linux Agent.sh (Substitute the actual configuration name here.)
- http://CoreServer/ldlogon/Default Linux Agent.ini (Substitute the actual configuration name here.)
- http://CoreServer/ldlogon/unix/linux/* (All the files from this directory. Usually they must be downloaded one at a time.)
- 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)"
- 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
- 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)
- Install the following Debian Packages with apt-get.
sudo apt-get install xinetd
Note: Not required for the LANDesk Agent but used for share access. sudo apt-get install openssh-server
sudo apt-get smbfs
Note: openssh-server is required only for a push of the LANDesk agent, which isn't yet working from my testing. - 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
- Make a temporary directory.
mkdir /tmp/ldms
- Copy the [hash].0 file from ldlogon to the temp directory.
cp /mnt/*.0 /tmp/ldms/
- Copy the baseclient.tar.gz file to the temp directory.
cp /mnt/unix/linux/baseclient.tar.gz /tmp/ldms/
- Untar and decompress the baseclient.tar.gz file.
cd /tmp/ldms tar -xzf baseclient.tar.gz
- Install the LANDesk Agent Debian packages.
sudo dpkg -i pds2*.deb cba8*.deb ldiscan*.deb
- Copy the .0 file to the /usr/LANDesk/common/cbaroot/certs directory.
sudo cp /tmp/ldms/*.0 /usr/LANDesk/common/cbaroot/certs/
- The LANDesk Agent for Debian is now installed.
- 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. - Add a cron job to run the inventory scanner daily or as desired.
Unsupported Platforms with RPM capability
- Verify that the platform supports RPMs and that all required RPMs are installed.
- Create a directory in the /tmp folder:
mkdir /tmp/landesk
- Change to that directory.
cd /tmp/landesk
- Copy or download the following files to this directory:
Using a mounted share:mkdir /mnt1
Using HTTP:
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/- http://CoreServer/ldlogon/066e6c79.0 (On each Core Server this file is unique. Replace the 066e6c79 to match the .0 file in ldlogon.)
- http://CoreServer/ldlogon/Default Linux Agent.sh (Substitute the actual configuration name here.)
- http://CoreServer/ldlogon/Default Linux Agent.ini (Substitute the actual configuration name here.)
- http://CoreServer/ldlogon/unix/linux/* (All the files from this directory. Usually they must be downloaded one at a time.)
- 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)"
- Extract all the tar.gz files.
tar -xzf [eachfile].tar.gz
- Install the RPMs manually. Start out in this order: pds, cba, sdclient, vulscan.
- Copy the .0 file to the /usr/LANDesk/common/cbaroot/certs directory.
sudo cp /tmp/ldms/*.0 /usr/LANDesk/common/cbaroot/certs/
- 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
- Create a directory in the /tmp folder:
mkdir /tmp/landesk
- Change to that directory.
cd /tmp/landesk
- Copy or download the following files to this directory:
baseclient.tar.gz
monitoring.tar.gz
Using a mounted share:mkdir /mnt1
Using HTTP:
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/http://CoreServer/ldlogon/unix/linux/baseclient.tar.gz
http://CoreServer/ldlogon/unix/linux/monitoring.tar.gz - Extract both the tar.gz files.
tar -xzf *.tar.gz
- Extract the ldiscan-8.versionid.i386.rpm and find the ldiscan file.
- Extract the smbase rpm and find the lsmbios file.
- Create the following directories:
mkdir /usr/LANDesk/ldms mkdir /usr/LANDesk/smbase
- Place ldiscan in the /usr/LANDesk/ldms directory.
- Place lsmbios in the /usr/LANDesk/smbase directory.
- Add a cron job to run the inventory scanner daily or as desired.
Unsupported Platforms without RPM capability - Inventory Only
- Create the following directory: /usr/LANDesk/ldms folder:
mkdir /usr/LANDesk/ldms
- Change to that directory.
cd /usr/LANDesk/ldms
- Download the linux scanner using a command line web utility such as wget or lynx.
http://CoreServer/ldlogon/unix/linux/ldiscnux
- 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. - Add a cron job to run the inventory scanner daily or as desired.