1.1 系统环境
所以有服务器的版本均如下所示,这里只是拿其中一台来列出版本号。
[root@db01 ~]# cat /etc/redhat-release;uname -r;uname -m;
CentOS release 6.8 (Final)
2.6.32-642.el6.x86_64
x86_64
[root@db01 ~]# /etc/init.d/iptables status
iptables: Firewall is not running.
[root@db01 ~]# getenforce
Disabled
[root@db01 ~]# tail -5 /etc/ssh/sshd_config
Port 921 <=ssh端口是921
PermitRootLogin no <=不让root用户远程登录
PermitEmptyPasswords no <=不让空密码的用户登录
UseDNS no <=不让其进行DNS解析
GSSAPIAuthentication no <=解决ssh连接慢的问题
[root@db01 ~]# tail -4 /etc/hosts
172.16.1.11 db01
172.16.1.12 db02
172.16.1.13 db03
172.16.1.14 db04
1.2 主机规划
说明:
eth0网卡只是用于ssh工具连接
eth1网卡是内网网卡,用于服务器之间的通信
1.3 软件获取
链接:https://pan.baidu.com/s/14Bq5r38wqcu8pQn3OVDMKg
提取码:7gs3