{"id":844,"date":"2013-06-29T22:12:12","date_gmt":"2013-06-29T20:12:12","guid":{"rendered":"http:\/\/sccmfaq.wordpress.com\/?p=844"},"modified":"2013-06-29T22:12:12","modified_gmt":"2013-06-29T20:12:12","slug":"sccm-2012-sp1-using-linux-client-on-debian-6","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=844","title":{"rendered":"SCCM 2012 SP1 &#8211; Using Linux Client on Debian 6"},"content":{"rendered":"<p>Hi, here&#8217;s Martin again.<\/p>\n<p>With the cumulative Update 2 for Microsoft System Center 2012 configuration Manager there was added Support for some more Linux Distribution, and for me, I waited for the Support of Debian, Debian is my fav. Unfortunately only Debian 5 and Debian 6 is currently supported, Debian 7 &#8220;Wheezy&#8221; is not supported.<br \/>\nSo, what do you Need?<!--more--><br \/>\nYou will have <strong>installed CU2 on your SCCM 2012 SP1 Infrastructure<\/strong>:<br \/>\nhttp:\/\/www.ronnipedersen.com\/2013\/06\/installing-sccm-2012-sp1-cu2-quick-start-guide\/<\/p>\n<p>Next you will Need a<strong> installed Linux<\/strong>, I used the Mini Boot CD from Debian 6 to get a Standard Desktop System x64. This takes about 30 Minutes.<\/p>\n<p>After this, you have to download the additional SCCM 2012 SP1\u00a0Clients, thus a Push Installation is not supported for Non-Windows Clients:<br \/>\nhttp:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=36212<br \/>\nThe following Linux\/Unix and Mac Versions are supported:<br \/>\nMac OS X 10.6 (Snow Leopard)<br \/>\nMac OS X 10.7 (Lion)<br \/>\nMac OS X 10.8 (Mountain Lion)<br \/>\nAIX Version 7.1, 6.1, 5.3<br \/>\nSolaris Version 11 (SPARC and x86) , 10 (SPARC and x86), 9 (SPARC)<br \/>\nHP-UX Version 11iv2 (PA-RISC and IA64) , 11iv3 (PA-RISC and IA64)<br \/>\nRHEL Version 6 (x64 and x86) , 5 (x64 and x86), 4 (x64 and x86)<br \/>\nSLES Version 11 (x64 and x86), 10 (x64 and x86), 9 (x86)<br \/>\nCentOS Version 6 (x64 and x86), 5 (x64 and x86)<br \/>\nDebian Version 6 (x64 and x86), 5 (x64 and x86)<br \/>\nUbuntu Version 12.4 LTS (x64 and x86), 10.4 LTS (x64 and x86)<br \/>\nOracle Linux 6 (x64 and x86), 5 (x64 and x86)<\/p>\n<p>Now you got all the prerequisites, extract the downloaded additional Clients, and bring the data on your Linux Client. If this is done, start a console and elevate it to get root Access. If this is done, navigate to the Folder of the Client Installation files and type:<br \/>\n<code>chmod +x install<\/code><br \/>\nWhen this is done, start the Installation by:<br \/>\n<code>.\/install \u2013mp $FQDN-SCCM -sitecode $Sitecode ccm-Universal-x64.$Downloaded-Version.tar<br \/>\n<\/code>For more Installation properties of the Linux Client, look at this TechNet article: http:\/\/technet.microsoft.com\/en-us\/library\/jj573939.aspx#BKMK_CmdLineInstallLnUClient<br \/>\nIf you would like to control the Installation procedure, refer to: \/var\/opt\/microsoft\/scxcm.log<br \/>\nSo with a HTTP hierarchy, the Client will now create a self signed certificate and uses this to identify to SCCM. The Client will now Show up in the SCCM console, and the most important part now is to &#8220;Approve&#8221; (right click on the Client and choose &#8220;Approve&#8221;) the Client, because the Client is handled as a Workgroup Client (with Standard Settings, only members of the trusted forests are automatically approved).<br \/>\nIf you would like to force a policy download just type the following command in the console:<br \/>\n<code>\/opt\/microsoft\/configmgr\/bin\/ccmexec -rs policy<\/code><br \/>\nOr to start a Hardware Inventory:<br \/>\n<code>\/opt\/microsoft\/configmgr\/bin\/ccmexec -rs hinv<\/code><br \/>\nIf you want to increase the Level of Information written to the log file, modify the following file: \/opt\/microsoft\/configmgr\/etc\/scxcm.conf<br \/>\nRefer to this link for more Information: http:\/\/technet.microsoft.com\/en-us\/library\/hh427342.aspx#BKMK_LogFilesforLnU<\/p>\n<p>You should now able to see a Hardware Inventory in the Resource Explorer of your Linux Client:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-855\" alt=\"Hardware Inventory Debian 6\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_01.png?w=300\" width=\"300\" height=\"229\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_01.png 857w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_01-300x230.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_01-768x588.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>And now what? I want to go chatting with IRC, and for this, I want to deploy IRCII on my Debian via SCCM 2012, so, I have to create a legacy Package, because the new Application Model does not work for Linux Clients. So I don&#8217;t need a package Location, because in Linux, usually the data for an application is downloaded through the repository. This is the command used for the Installation of IRCII:<br \/>\n<code>apt-get install ircii -y<\/code><br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_04.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_04.png?w=300\" alt=\"SCCM 2012 Linux program\" width=\"300\" height=\"164\" class=\"aligncenter size-medium wp-image-864\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_04.png 1348w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_04-300x165.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_04-1024x563.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_04-768x422.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>After a policy refresh (see above), IRCII is installed on my Debian:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_02.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-857\" alt=\"IRC\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_02.png?w=300\" width=\"300\" height=\"240\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_02.png 585w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_02-300x241.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>You can also Monitor the deployment process whithin the console:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_05.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_05.png?w=300\" alt=\"SCCM 2012 Linux deployment\" width=\"300\" height=\"240\" class=\"aligncenter size-medium wp-image-866\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_05.png 1069w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_05-300x240.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_05-1024x820.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_05-768x615.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>And the application is reported to SCCM after a Hardware Inventory:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/06\/debian_03.png?w=300\" alt=\"Linux Installed Application ircii\" width=\"300\" height=\"229\" class=\"aligncenter size-medium wp-image-862\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_03.png 858w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_03-300x230.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/06\/debian_03-768x588.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>So from now on, you can manage and Report Linux Clients aswell \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, here&#8217;s Martin again. With the cumulative Update 2 for Microsoft System Center 2012 configuration Manager there was added Support for some more Linux Distribution, and for me, I waited for the Support of Debian, Debian is my fav. Unfortunately only Debian 5 and Debian 6 is currently supported, Debian 7 &#8220;Wheezy&#8221; is not supported. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-844","post","type-post","status-publish","format-standard","hentry","category-client-agent"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=844"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/844\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}