Chapter 2.
7
安装
目录
2.1. Install CentOS 7.1 ................................................................................................................ 7
2.1.1. Boot the Install Image ................................................................................................ 7
2.1.2. Installation Options ..................................................................................................... 8
2.1.3. Configure Network ..................................................................................................... 9
2.1.4. Configure Disk ......................................................................................................... 10
2.1.5. Configure Time Synchronization ................................................................................ 10
2.1.6. Finish Install ............................................................................................................. 10
2.2. Configure the OS ................................................................................................................ 11
2.2.1. Verify Networking ..................................................................................................... 11
2.2.2. Login Remotely ........................................................................................................ 12
2.2.3. Apply Updates ......................................................................................................... 12
2.2.4. Use Short Node Names ........................................................................................... 12
2.3. Repeat for Second Node ..................................................................................................... 13
2.4. Configure Communication Between Nodes ........................................................................... 13
2.4.1. Configure Host Name Resolution .............................................................................. 13
2.4.2. Configure SSH ......................................................................................................... 13
2.5. Install the Cluster Software .................................................................................................. 14
2.6. Configure the Cluster Software ............................................................................................ 15
2.6.1. Allow cluster services through firewall ....................................................................... 15
2.6.2. Enable pcs Daemon ................................................................................................. 16
2.6.3. Configure Corosync .................................................................................................. 16
2.1. 安装CentOS 7.1
2.1.1. 启动安装映像
下载 CentOS 7.1 DVD ISO
1
. 使用这个映像文件启动一个虚拟机,或者将它刻录到DVD或USB中。
启动安装程序后,在欢迎界面中选择语言和键盘布局。
1
http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1503-01.iso