msm/installers/redhat.sh

21 lines
639 B
Bash
Raw Normal View History

UPDATE_URL="https://raw.githubusercontent.com/msmhq/msm/master"
wget -q ${UPDATE_URL}/installers/common.sh -O /tmp/msmcommon.sh
2012-11-03 22:35:11 +00:00
source /tmp/msmcommon.sh && rm -f /tmp/msmcommon.sh
function update_system_packages() {
install_log "Updating sources"
2013-12-15 10:14:19 +00:00
sudo yum update --skip-broken || install_error "Couldn't update packages"
}
function install_dependencies() {
install_log "Installing required packages"
sudo yum install screen rsync zip java jq || install_error "Couldn't install dependencies"
}
function enable_init() {
install_log "Enabling automatic startup and shutdown"
2012-11-03 22:20:53 +00:00
sudo chkconfig --add msm
}
install_msm