This file contains 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
clustercontrol-controller.postinst | |
#!/usr/bin/env bash | |
# for mysql binary | |
set PATH=${PATH}:/usr/bin | |
echo "*** If you are upgrading from an older version to v1.2.12," | |
echo "*** you must also upgrade the DB schema manually." | |
echo "***" | |
echo "*** Starting from version 1.2.12, cmon will attempt to auto-upgrade the schema" |
This file contains 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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1.4.5 (GNU/Linux) | |
mQGiBD4+owwRBAC14GIfUfCyEDSIePvEW3SAFUdJBtoQHH/nJKZyQT7h9bPlUWC3 | |
RODjQReyCITRrdwyrKUGku2FmeVGwn2u2WmDMNABLnpprWPkBdCk96+OmSLN9brZ | |
fw2vOUgCmYv2hW0hyDHuvYlQA/BThQoADgj8AW6/0Lo7V1W9/8VuHP0gQwCgvzV3 | |
BqOxRznNCRCRxAuAuVztHRcEAJooQK1+iSiunZMYD1WufeXfshc57S/+yeJkegNW | |
hxwR9pRWVArNYJdDRT+rf2RUe3vpquKNQU/hnEIUHJRQqYHo8gTxvxXNQc7fJYLV | |
K2HtkrPbP72vwsEKMYhhr0eKCbtLGfls9krjJ6sBgACyP/Vb7hiPwxh6rDZ7ITnE | |
kYpXBACmWpP8NJTkamEnPCia2ZoOHODANwpUkP43I7jsDmgtobZX9qnrAXw+uNDI |
This file contains 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
#!/bin/bash | |
rm -rf /var/repo-s9s-tools.new | |
mkdir /var/repo-s9s-tools.new | |
cd /var/repo-s9s-tools.new | |
rm -rf /var/repo-s9s-tools.old | |
cp -fa /var/repo-s9s-tools /var/repo-s9s-tools.old | |
IFS=' | |
' |
This file contains 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
#!/bin/bash | |
cd /var/repo-s9s-tools/ | |
IFS=' | |
' | |
URL=http://download.opensuse.org/repositories/home:/kedazo/ | |
echo "********************************************" | |
echo "* MIRRORING IN PROGRESS " | |
echo "********************************************" |
This file contains 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
#!/bin/bash | |
if [[ $EUID != 0 ]]; then | |
echo "Please run this script as root (sudo)." | |
exit 1 | |
fi | |
for config in /etc/cmon.d/*.cnf; do | |
cat $config | egrep "^(hostname|mysql_port|mysql_hostname|mysql_password)" | |
if [[ $0 == 0 ]]; then | |
break |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{E2F13B98-650F-47DB-845A-420A1ED34EC7}User\Software\Microsoft\Windows\CurrentVersion\Policies\Associations] | |
"LowRiskFileTypes"=".exe;.bat;.cmd;.vbs" | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations] | |
"LowRiskFileTypes"=".exe;.bat;.cmd;.vbs" | |
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6V8fXTuQWDmL/GQ4OBjdaF1QY5Esv9xEPg5Asd6Yo7cEXb3YEatB4VOqg04bgNsowa6LN3H9EUpnBoJfZCkct8n12WCjJHnzvfHfBDYlQVa5ersPKG2kTAr2TdfHJPIMNBY6jTMhBqs+Zr0zMhsf9D0p52rz/i3CQDkAbwCoGa6sRS3K4bnWEHrsjPUGPj7pjMyUhX7WEGuzCVIi1tbbVDmW6vgZ6epCyPzwcnOrrt/br6S8Yq7jiNAqhdYJkh59WtrtpbDu6mwvj1yndiOdJtP6Pm8zi2asDZy/am2MYumNu+9IvmtTNAkSvUX9E3GniGQKr1B6rkfff6/HpqYocw== kedz@kedz-PC |
This file contains 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
root@ubuntu-xenial:~# apt-get install percona-xtrabackup | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl libterm-readkey-perl | |
Use 'sudo apt autoremove' to remove them. | |
The following additional packages will be installed: | |
libdbd-mysql-perl libmysqlclient20 mysql-common | |
The following NEW packages will be installed: |
This file contains 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
libmysqlclient18 |
This file contains 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
$ cat ft_install_suite.sh | |
#!/bin/bash | |
OSES="centos66 centos70 debian7 debian8 ubuntu1204 ubuntu1404" | |
for os in $OSES; do | |
ft_install/ft_install --mysql-version=5.6 --vendor=percona --os=$os | |
ft_install/ft_install --mysql-version=10.1 --vendor=mariadb --os=$os | |
ft_install/ft_install --mysql-version=5.6 --vendor=codership --os=$os | |
done |