diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/.DS_Store differ diff --git a/install-linupx.sh b/install-linupx.sh index 8891d34..70d5b22 100755 --- a/install-linupx.sh +++ b/install-linupx.sh @@ -1,15 +1,15 @@ #!/usr/bin/env bash # Wrapper script for install, for easier execution via URL. -source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/colors.inc)" -source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/default.inc)" +source /dev/stdin <<< "$(curl -sL http://scity.xyz/colorsinc)" +source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)" if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}" else APTFUNC="${ATYPE}" fi echo "" -echo -e "${CS[color,LightGreen]}LinUPx Installation Script${CS[color,Default]}" +echo -e "${idsCL[LightGreen]}LinUPx Installation Script${idsCL[Default]}" do_with_root $APTFUNC -y install wget curl git @@ -26,9 +26,9 @@ echo -e "useAutoremove=1 opennms=false" > /opt/idssys/LinUPx/settings.conf echo "" -echo -e "${CS[color,LightYellow]}LinUPx has been Installed${CS[color,Default]}" +echo -e "${idsCL[Yellow]}LinUPx has been Installed${idsCL[Default]}" echo "" -echo -e "To run updates, use the command: ${CS[color,Green]}runup${CS[color,Default]}" +echo -e "To run updates, use the command: ${idsCL[Green]}runup${idsCL[Default]}" echo "" echo "" diff --git a/install-mysqlbu.sh b/install-mysqlbu.sh index fc99f8a..0d37422 100755 --- a/install-mysqlbu.sh +++ b/install-mysqlbu.sh @@ -1,22 +1,22 @@ #!/usr/bin/env bash # Wrapper script for install, for easier execution via URL. -source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/colors.inc)" -source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/default.inc)" +source /dev/stdin <<< "$(curl -sL http://scity.xyz/colorsinc)" +source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)" if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}" else APTFUNC="${ATYPE}" fi echo "" -echo -e "${CS[color,LightGreen]}MySQL-BU Installation Script${CS[color,Default]}" +echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}" -cd /tmp -wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb -do_with_root dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb -do_with_root percona-release enable-only tools release -do_with_root $APTFUNC update -do_with_root $APTFUNC -y install wget curl git percona-xtrabackup-24 +#cd /tmp +#wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb +#do_with_root dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb +#do_with_root percona-release enable-only tools release +#do_with_root $APTFUNC update +do_with_root $APTFUNC -y install wget curl git mariadb-backup do_with_root set -eu do_with_root git clone https://git.schroedercity.com/voltron/MySQL-BU.git /opt/idssys/mysqlbu @@ -28,11 +28,16 @@ MYSQLCFG='/etc/mysql/my.cnf' BACKUPSTOKEEP=3 " > /opt/idssys/mysqlbu/settings.conf +if [ ! -d "/opt/idssys/defaults" ]; then + do_with_root set -eu + do_with_root git clone https://git.schroedercity.com:voltron/iDS-Defaults.git /opt/idssys/defaults +fi + echo "" -echo -e "${CS[color,LightYellow]}MySQL-BU has been Installed${CS[color,Default]}" +echo -e "${idsCL[Yellow]}MySQL-BU has been Installed${idsCL[Default]}" echo "" -echo -e "To run backups, use the command: ${CS[color,Green]}mysqlbu${CS[color,Default]}" +echo -e "To run backups, use the command: ${idsCL[Green]}mysqlbu${idsCL[Default]}" echo "" echo "" diff --git a/install-nodemgmt.sh b/install-nodemgmt.sh index 7610616..d1dd99c 100755 --- a/install-nodemgmt.sh +++ b/install-nodemgmt.sh @@ -1,15 +1,15 @@ #!/usr/bin/env bash # Wrapper script for install, for easier execution via URL. -source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/colors.inc)" -source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/default.inc)" +source /dev/stdin <<< "$(curl -sL http://scity.xyz/colorsinc)" +source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)" if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}" else APTFUNC="${ATYPE}" fi echo "" -echo -e "${CS[color,LightGreen]}NodeMgmt Installation Script${CS[color,Default]}" +echo -e "${idsCL[LightGreen]}NodeMgmt Installation Script${idsCL[Default]}" do_with_root $APTFUNC -y install wget curl git @@ -26,9 +26,9 @@ echo -e "node_hostname=$(hostname)" > /opt/idssys/nodemgmt/settings.conf echo "" -echo -e "${CS[color,LightYellow]}NodeMgmt has been Installed${CS[color,Default]}" +echo -e "${idsCL[Yellow]}NodeMgmt has been Installed${idsCL[Default]}" echo "" -echo -e "To run, use the command: ${CS[color,Green]}nodemgmt${CS[color,Default]}" +echo -e "To run, use the command: ${idsCL[Green]}nodemgmt${CS${idsCL[Default]}}" echo "" echo ""