update
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Wrapper script for install, for easier execution via URL.
|
# 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 http://scity.xyz/colorsinc)"
|
||||||
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/default.inc)"
|
source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)"
|
||||||
|
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
|
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
|
||||||
else APTFUNC="${ATYPE}"
|
else APTFUNC="${ATYPE}"
|
||||||
fi
|
fi
|
||||||
echo ""
|
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
|
do_with_root $APTFUNC -y install wget curl git
|
||||||
|
|
||||||
@@ -26,9 +26,9 @@ echo -e "useAutoremove=1
|
|||||||
opennms=false" > /opt/idssys/LinUPx/settings.conf
|
opennms=false" > /opt/idssys/LinUPx/settings.conf
|
||||||
|
|
||||||
echo ""
|
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 ""
|
||||||
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 ""
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
|||||||
@@ -1,22 +1,22 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Wrapper script for install, for easier execution via URL.
|
# 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 http://scity.xyz/colorsinc)"
|
||||||
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/default.inc)"
|
source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)"
|
||||||
|
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
|
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
|
||||||
else APTFUNC="${ATYPE}"
|
else APTFUNC="${ATYPE}"
|
||||||
fi
|
fi
|
||||||
echo ""
|
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
|
#cd /tmp
|
||||||
wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
|
#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 dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
|
||||||
do_with_root percona-release enable-only tools release
|
#do_with_root percona-release enable-only tools release
|
||||||
do_with_root $APTFUNC update
|
#do_with_root $APTFUNC update
|
||||||
do_with_root $APTFUNC -y install wget curl git percona-xtrabackup-24
|
do_with_root $APTFUNC -y install wget curl git mariadb-backup
|
||||||
|
|
||||||
do_with_root set -eu
|
do_with_root set -eu
|
||||||
do_with_root git clone https://git.schroedercity.com/voltron/MySQL-BU.git /opt/idssys/mysqlbu
|
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
|
BACKUPSTOKEEP=3
|
||||||
" > /opt/idssys/mysqlbu/settings.conf
|
" > /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 ""
|
||||||
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 ""
|
||||||
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 ""
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Wrapper script for install, for easier execution via URL.
|
# 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 http://scity.xyz/colorsinc)"
|
||||||
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/default.inc)"
|
source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)"
|
||||||
|
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
|
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
|
||||||
else APTFUNC="${ATYPE}"
|
else APTFUNC="${ATYPE}"
|
||||||
fi
|
fi
|
||||||
echo ""
|
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
|
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 ""
|
||||||
echo -e "${CS[color,LightYellow]}NodeMgmt has been Installed${CS[color,Default]}"
|
echo -e "${idsCL[Yellow]}NodeMgmt has been Installed${idsCL[Default]}"
|
||||||
echo ""
|
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 ""
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user