STRONG Length >= 8, numeric, mixed case, special characters and dictionary file MEDIUM Length >= 8, numeric, mixed case, and special characters Centos 7 install mysql s5.6 password#There are three levels of password validation policy: #有以下几种密码强度选择 Press y|Y for Yes, any other key for No: y #是否安装密码安全插件?选择y Ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock #添加软链接 Ln -s /usr/local/mysql/include/mysql /usr/include/mysql Ln -s /usr/local/mysql/lib/mysql /usr/lib/mysql ![]() 看到这一行 A temporary password is generated for CSJlm3DyTG.dĬp /usr/local/mysql/support-files/my-default.cnf /usr/local/mysql/my.cnf bin/mysqld -user=mysql -initialize -basedir=/usr/local/mysql -datadir=/data/mysql #生成mysql系统数据库 DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/data/mysql -DMYSQL_UNIX_ADDR=/tmp/mysql.sock -DMYSQL_USER=mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DENABLED_LOCAL_INFILE=ON -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_FEDERATED_STORAGE_ENGINE=1 -DWITH_BLACKHOLE_STORAGE_ENGINE=1 -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 -DWITH_EMBEDDED_SERVER=OFF -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/local/boost DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/data/mysql -DWITH_INNOBASE_STORAGE_ENGINE=1 -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_EMBEDDED_SERVER=OFF -DWITH_BOOST=/usr/local/boost Centos 7 install mysql s5.6 Patch#Yum install -y apr* autoconf automake bison bzip2 bzip2* cloog-ppl compat* cpp curl curl-devel fontconfig fontconfig-devel freetype freetype* freetype-devel gcc gcc-c++ gtk+-devel gd gettext gettext-devel glibc kernel kernel-headers keyutils keyutils-libs-devel krb5-devel libcom_err-devel libpng libpng-devel libjpeg* libsepol-devel libselinux-devel libstdc++-devel libtool* libgomp libxml2 libxml2-devel libXpm* libxml* libtiff libtiff* make mpfr ncurses* ntp openssl openssl-devel patch pcre-devel perl php-common php-gd policycoreutils telnet t1lib t1lib* nasm nasm* wget zlib-devel usr/libexec/iptables/iptables.init restart #重启防火墙 A FORWARD -j REJECT -reject-with icmp-host-prohibited A INPUT -j REJECT -reject-with icmp-host-prohibited A INPUT -p tcp -m state -state NEW -m tcp -dport 3306 -j ACCEPT A INPUT -p tcp -m state -state NEW -m tcp -dport 80 -j ACCEPT A INPUT -p tcp -m state -state NEW -m tcp -dport 22 -j ACCEPT A INPUT -m state -state RELATED,ESTABLISHED -j ACCEPT # please do not ask us to add additional ports/services to this default configuration # you can edit this manually or use system-config-firewall # sample configuration for iptables service
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |