摘要:
##主库#开启节点echo -e "log-bin=mysql-bin\nserver-id=1">>/etc/my.cnf#开启数据库/etc/init.d/mysqld restart#添加从库用户grant replication slave on *.* to 'rep'@'172.16.1 阅读全文
摘要:
#NTP服务器安装rpm -qa ntp#yum -y install ntp#配置NTP服务vim /etc/ntp.conf#restrict default kod nomodify notrap nopeer noqueryrestrict default nomodify# nomodif 阅读全文