1.真机搭建yum源
yum install httpd -y
cd /var/www/html/
mkdir /iso6.5
mv rhel-server-6.5-x86_64-dvd.iso /iso6.5
mount /iso6.5/rhel-server-6.5-x86_64-dvd.iso /var/www/html/rhel6.5/
vim /etc/rc.d/rc.local
mount /iso6.5/rhel-server-6.5-x86_64-dvd.iso /var/www/html/rhel6.5/
chmod +x /etc/rc.d/rc.local
systemctl stop firewalld
2.网络安装
virt-manager
此处ip地址应该是172.25.47.1
密码
3、配置母盘
1)
vi /etc/sysconfig/network
vi /etc/hosts
2)
3)配置网络
cd /etc/sysconfig/network-scripts/
重启网络 /etc/init.d/network restart
4)修改yum源
5)修改selinux 为disable
6)设置防火墙
/etc/init.d/iptables stop ##关闭防火墙
/etc/init.d/ip6tables stop
chkconfig iptables off ##开机不启动
chkconfig ip6tables off
yum install vim lftp openssh-clients -y ##安装软件
7)配置完母盘可以从列表中删掉(勾去掉),
切记,母盘关机后再创建快照
4.制作快照:切记,母盘关机后再创建快照
1)制作快照
2)添加
此处只写了server1 ,server2,server3同样步骤
3)对快照配置
vim /etc/sysconfig/network
cd /etc/sysconfig/network-scripts/
vim ifcfg-eth0
reboot
server2,server3同理
server2 ip设定为172.25.47.2
server3 ip设定为172.25.47.3
设置完成后重启之后测试网络通