Install SCCM Client Agent On Linux Computers

Prajwal Desai
Posted by Prajwal Desai

In this post we will take a look at on how to install SCCM client agent on linux computers. With the release of Configuration Manager 2012 SP1 one of the interesting update was SCCM being capable of managing Linux, Unix and Macintosh computers. In other words the SCCM client agents could now be installed on non windows-based computers. Before you ca

n manage a Linux or UNIX server with Configuration Manager, you must install the Configuration Manager client for Linux and UNIX on each Linux or UNIX computer. You can accomplish this manually or by use of a shell script that installs the client remotely.

The install script provided by Microsoft supports command line properties that modify the installation behavior and reference the client installation package. The install script and client installation package must be located on the client.

Microsoft System Center 2012 Configuration Manager SP1 supports the management of Apple Mac clients. The client for Mac computers allows you to discover, collect inventory, manage settings, and deploy applications and patches using your Configuration Manager environment. Microsoft System Center 2012 Configuration Manager SP1 also supports the management of UNIX and Linux servers.

The clients for UNIX and Linux extends the scope of your Configuration Manager environment to collect inventory, deploy software, and run reports about UNIX and Linux servers in your enterprise. The client operates as a workgroup client that is managed by Configuration Manager.

Note – Configuration Manager does not support the use of client push installation for Linux or UNIX servers. The client agent has to be installed manually using a install script provided by Microsoft.

Lab Setup – The lab setup includes a domain controller name AD.PRAJWAL.LOCAL, a SCCM server SCCM.PRAJWAL.LOCAL. To install the client agent on linux machine we have a RHEL 5.0 (32 bit) installed and the name of this machine is LINUX.

Supported Versions

Macintosh -Mac OS X 10.6 (Snow Leopard) and Mac OS X 10.7 (Lion)

Linux, Unix

– RHEL Version 6 (x86 & x64), RHEL Version 5 (x86 & x64) ,RHEL Version 4 (x86 & x64)

-Solaris Version 10 (x86 & SPARC), Solaris Version 9 (SPARC)

-SLES Version 11 (x86 & x64), SLES Version 10 SP1 (x86 & x64),SLES Version 9 (x86)

Download the client agent file for Linux SC 2012 CM SP1 RTM client for RHEL.exe. Double click the file and extract the files to a folder. After you extract you will see .tar files along with script named install.

SCCM 2012 SP1 Client Agent On Linux Computers Snap 1

Copy all the files on the linux machine to a directory. In this post i have copied all the files to the path /opt/CCM/.

SCCM 2012 SP1 Client Agent On Linux Computers Snap 2

Before you proceed and install the client agent on linux machine make sure that your linux machine is properly communicating with SCCM server. You can use Ping to check the connectivity to the SCCM server. To resolve the hostname, open the terminal on linux machine and type the command vi /etc/resolv.conf. Add an entry of name server and the IP address in the file and save the file.

SCCM 2012 SP1 Client Agent On Linux Computers Snap 3


On the RHEL5 computer, use root credentials to run the following command to enable the script to run as a program chmod +x install and then execute the command  ./install –mp <hostname> -sitecode <code> ccm-RHEL5x86.tar. 

SCCM 2012 SP1 Client Agent On Linux Computers Snap 4

The client agent installation is complete. In case you change the hostname of linux machine after the installation of client agent, then you must reboot the linux machine once.

SCCM 2012 SP1 Client Agent On Linux Computers Snap 5

Launch the ConfigMgr console, Click on Assets and Compliance, Under All systems we see that a new device LINUX is seen. The client agent has been installed and the linux machine can be now managed by SCCM 2012 SP1 server.

SCCM 2012 SP1 Client Agent On Linux Computers Snap 6

Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
14 Comments