yum install -y ansible 编辑 /etc/ansible/hosts 文件 # This is the default ansible 'hosts' file.## It should live in /etc/ansible/hosts## - Comments begin with the '#' character # 用#来表示注释# - Blank lines are ignored # 空白行被忽略# - Groups of hosts are delimite
最小安装: 1. 选择English 2. DATE & TIME 修改好本地时间 SOFTWARE SELECTION默认的Minimal Install就好 INSTALLATION DESTINATION选一下 然后,Begin Installation 3. ROOT PASSWORD设置ROOT密码 USER CREATION设置新用户,勾选Make this user administrator 等待安装完成,点Reboot按钮. 配置静态IPv4: $ systemctl stat