Created
February 23, 2016 01:25
-
-
Save LawrenceHwang/0bbe1c40d37aeba4d0c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/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