第一步配置网络确保网络通畅,dns能解析
第二步 vi /etc/yum.repos/iou-web.repo
[iou-web]
name=IOUWeb Interface
baseurl=http://public.routereflector.com/iou-web/yum
enabled=1
gpgcheck=1
gpgkey=http://public.routereflector.com/iou-web/yum/RPM-GPG-KEY-iou-web
粘贴上面的内容.
第三部安装iou-web
yum install iou-web -y
第四步:创建libcrypto.so.4 连接 CISCO IOU.在i386osses 下需要它:
ln -s /usr/lib/libcrypto.so.10 /usr/lib/libcrypto.so.4
第五步:修改hostname,将hostname 改为“iou.example.com”:
vim /etc/sysconfig/network
-> HOSTNAME=iou.example.com
第六步:设置dns设置DNS解决设备间可能无法相互访问的问题安装配置dnsmasq
yum install dnsmasq -y
vim /sbin/dhcpclient-script
把调用make_resolv_conf() 方法的地方(全部找出来,共三处),全部注释掉
第七步:修改DNS配置:除了公网地址dns服务器外其他的都删除
#vim /etc/resolv.conf
nameserver 127.0.0.1
nameserver 8.8.8.8
第八步:修改hosts文件:
# vim /etc/hosts
127.0.0.2 iou.example.com iou
第九步:重启服务:
Service network restart
Service dnsmasq restart
第十步:打开路由器输入服务器ip地址http://192.168.1.254
点Manage->Manage license 输入授权码
[license]
iou.example.com= 145ef75ad4ea0ebd;
点Manage->Manage IOSes
上传ios镜像,点Laboratories新建LAB开始实验。