Skip to content

Instantly share code, notes, and snippets.

@LawrenceHwang
Created February 23, 2016 01:25
Show Gist options
  • Save LawrenceHwang/0bbe1c40d37aeba4d0c4 to your computer and use it in GitHub Desktop.
Save LawrenceHwang/0bbe1c40d37aeba4d0c4 to your computer and use it in GitHub Desktop.
# !/bin/bash
# Please manually download the omi-1.0.8.4.
# The wget doesn't work because of the javascript used in the site
# https://collaboration.opengroup.org/omi/documents/34607/omi-1.0.8.4.packages.tar.gz
yum -y install pam-devel
yum -y install openssl-devel
# wget https://collaboration.opengroup.org/omi/documents/34607/omi-1.0.8.4.packages.tar.gz
tar -xvf omi-1.0.8.4.packages.tar.gz
yes | rpm -Uvh ./omi-1.0.8.ssl_100.x64.rpm
wget https://github.com/Microsoft/PowerShell-DSC-for-Linux/releases/download/v1.1.1-70/dsc-1.1.1.packages.tar.gz
# cd omi-1.0.8/ ; ./configure ; make ; make install
tar -xvf dsc-1.1.1.packages.tar.gz
yes | rpm -Uvh dsc-1.1.1-70.ssl_100.x64.rpm
firewall-cmd --add-port=5986/tcp --permanent
firewall-cmd --reload
systemctl enable omid
systemctl start omid
systemctl status omid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment