Last active
July 17, 2018 16:47
-
-
Save jadbaz/966dc43c5d31670ecf78de0ba7d59483 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
# Install Zenoss | |
# Zenoss requirements | |
yum -y remove mysql-libs.x86_64 | |
# Download Zenoss | |
wget https://codeload.github.com/zenoss/core-autodeploy/tar.gz/4.2.5 | |
tar -xvf 4.2.5 | |
cd core-autodeploy-4.2.5 | |
# Customize Zenoss installtion | |
# Edit file zenpack_actions.txt to remove the line below: | |
# +/opt/zenoss/packs/ZenPacks.zenoss.Microsoft.Windows-2.0.2-py2.7.egg | |
sed -i '/ZenPacks.zenoss.Microsoft.Windows-2.0.2-py2.7.egg/d' zenpack_actions.txt | |
# rpm repository "apt-sw-be" is dead!!! | |
# Problem: https://github.com/repoforge/rpms/issues/375 | |
# Solution: https://github.com/repoforge/rpms/issues/375#issuecomment-239300834 | |
sed -e 's/apt.sw.be/repository.it4i.cz\/mirrors\/repoforge/g' core-autodeploy.sh > core-autodeploy.sh.tmp && mv core-autodeploy.sh.tmp core-autodeploy.sh | |
# comment the read JDK for non-interactive installation | |
sed -e 's/less licenses\/Oracle-BCLA-JavaSE/#less licenses\/Oracle-BCLA-JavaSE/g' core-autodeploy.sh > core-autodeploy.sh.tmp && mv core-autodeploy.sh.tmp core-autodeploy.sh | |
# Install Zenoss (interactive) | |
sh core-autodeploy.sh <<< $'\nq\nyes\n' | |
# Interactively: <Enter>, <q>, "yes" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment