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
ALTER USER 'root'@'localhost' IDENTIFIED BY 'FUcK_Y0u_new_My$ql_pa$$wd_p0licy'; | |
SET GLOBAL validate_password.check_user_name = OFF; | |
SET GLOBAL validate_password.length = 1; | |
SET GLOBAL validate_password.mixed_case_count=0; | |
SET GLOBAL validate_password.number_count=0; | |
SET GLOBAL validate_password.policy=LOW; | |
SET GLOBAL validate_password.special_char_count=0; | |
ALTER USER 'root'@'localhost' IDENTIFIED BY 'root'; |
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/sh | |
version=$1 | |
yum -y install gcc gcc-c++ kernel-devel glibc-static libstdc++-static | |
cd /opt | |
wget ftp://gcc.gnu.org/pub/gcc/releases/gcc-$version/gcc-$version.tar.$2 | |
tar $3 gcc-$version.tar.$2 -C /usr/local/src | |
cd /usr/local/src/gcc-$version | |
./contrib/download_prerequisites | |
mkdir /usr/local/build | |
mkdir /usr/local/build/gcc-$version |
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/sh | |
yum -y update | |
yum -y groupinstall "Development Tools" | |
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel | |
version=7.15 | |
cd /opt | |
wget --no-check-certificate https://www.python.org/ftp/python/2.$version/Python-2.$version.tgz | |
tar xzf Python-2.$version.tgz | |
cd Python-2.$version | |
./configure --prefix=/usr/local |