Header Ads

recent

PowerShell DSC on Linux--Part1

This article explain you how to start DSC on Linux, it will explain you how to setup, configure DSC on Linux environment and also how to integrate with Windows Pull server. To know more about DSC please refer DSC Desired State Configuration.

Get Start with DSC setup on Linux

Before start with actual setup and configuration, we should know below points.
  • Which Linux Operating System Version Support for PS-DSC.
  • Required mandatory platform.
  • Prerequisites for setup.
The following minimum Linux operating system versions are support for DSC for Linux.

  • Red Hat Enterprise Linux Server 5, 6 and 7 (x86/x64)
  • Ubuntu Server 12.04 LTS, 14.04 LTS, 16.04 LTS (x86/x64)
  • SUSE Linux Enterprise Server 10, 11 and 12 (x86/x64)
  • Debian GNU/Linux 6, 7 and 8 (x86/x64)
  • Oracle Linux 5, 6 and 7 (x86/x64)
  • CentOS 5, 6, and 7 (x86/x64)

The following table describes the required package dependencies for DSC for Linux.




Required package
Description
Minimum version
Glibc
GNU C Library
2.4 - 31.30
python
Python
2.4 - 3.4
omi
Open Management Infrastructure
1.1.0-0
openssl
OpenSSL Libraries
0.9.8e or 1.0
python-ctypes
Python CTypes library
Must match Python version
libcurl
cURL http client library
7.15.1
unzip*
De-archiver for .zip files
n/a






















Before Install DSC on Linux box, we should install OMI package on Linux.

For DSC Linux OMI minimum version is required 1.1.0.0, current available version is 1.0.8.1 .

To Install OMI on Linux system you can use .rpm or .deb file, it will also openSSL version ssl_098 or ssl_100 for X86/x64. for Ubuntu and Debian GNU/Linux .dbe file required to install and for CentOS, Red Hat Enterprise Linux, SUSE Linux Enterprise Server, and Oracle Linux .rpm file should install.


In this article i will be using Ubuntu 14.04 Linux OS in my Lab, so all the commands and setup will be related to Ubuntu.

Install OMI on Ubuntu

Following command will be use to install OMI on ubuntu.

sudo dpkg -i ./omi-1.1.0.ssl_100.x64.deb

Testing OMI on Ubuntu


sudo /opt/omi/bin/omicli ei root/omi OMI_Identify

Follow above steps and get ready your environment to Install DSC on Linux, In next section will be starting with Setup and Install  DSC on Linux Ubuntu.


No comments:

Systemadminworld. Powered by Blogger.