update
This commit is contained in:
@@ -8,11 +8,11 @@ echo ""
|
|||||||
echo -e "${idsCL[LightGreen]}Cluster Control Removal Script${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}Cluster Control Removal Script${idsCL[Default]}"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# cd ~
|
cd ~
|
||||||
# rm -f ./install-cc
|
rm -f ./install-cc
|
||||||
# wget https://severalnines.com/downloads/cmon/install-cc
|
wget https://severalnines.com/downloads/cmon/install-cc
|
||||||
# chmod +x ./install-cc
|
chmod +x ./install-cc
|
||||||
# sed -i 's/\/var\/lib\/mysql\/mysql.sock/\/var\/run\/mysqld\/mysqld.sock/g' ./install-cc
|
sed -i 's/\/var\/lib\/mysql\/mysql.sock/\/var\/run\/mysqld\/mysqld.sock/g' ./install-cc
|
||||||
|
|
||||||
|
|
||||||
read -n 1 -p "Are you sure you wish to remove Cluster Control and all data (Y/n)?" choice
|
read -n 1 -p "Are you sure you wish to remove Cluster Control and all data (Y/n)?" choice
|
||||||
@@ -51,13 +51,14 @@ case "$choice" in
|
|||||||
[Nn]) echo ''; exit 0;;
|
[Nn]) echo ''; exit 0;;
|
||||||
* )
|
* )
|
||||||
|
|
||||||
# ./install-cc
|
./install-cc
|
||||||
#
|
|
||||||
# #read -n 1 -p "Login at https://10.10.10.50 and setup the admin user, once complete then press ENTER" choice
|
#read -n 1 -p "Login at https://10.10.10.50 and setup the admin user, once complete then press ENTER" choice
|
||||||
#
|
|
||||||
# /opt/copycerts.sh
|
/opt/copycerts.sh
|
||||||
# apt install -y mailutils xtrabackup
|
apt install -y mailutils xtrabackup
|
||||||
|
|
||||||
|
echo
|
||||||
echo
|
echo
|
||||||
read -p "Enter the admin password for MySQL: " pwd
|
read -p "Enter the admin password for MySQL: " pwd
|
||||||
echo "Enter the root password for adding back in the admin user for MySQL:"
|
echo "Enter the root password for adding back in the admin user for MySQL:"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#!/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/branch/master/colors.inc)"
|
source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)"
|
||||||
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/default.inc)"
|
source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)"
|
||||||
|
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
|
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
|
||||||
|
|||||||
Reference in New Issue
Block a user