新建虚拟机

2020-03-15  本文已影响0人  斜阳独倚东楼

(1)本地存储地址

1.D:\VMwareSpace\neweshop\cache01

2.网络连接:桥接模式

3.选择DVD

4.第一个选项

5.skip

6.yes discard any data

7.时区:上海

8.write changes to disk

(2)配置网络

vi /etc/sysconfig/network-scripts/ifcfg-eth0

需要先BOOTPROTO=dhcp

ping通百度再BOOTPROTO=static

DEVICE=eth0

TYPE=Ethernet

ONBOOT=yes

BOOTPROTO=static

IPADDR=192.168.1.111

NETMASK=255.255.255.0

GATEWAY=192.168.1.1

service network restart

(3)配置hosts

vi /etc/hosts

192.168.1.111 cache01

192.168.1.112 cache02

192.168.1.113 cache03

192.168.1.114 cache04

192.168.1.115 cache05

(4)关闭防火墙

service iptables stop

service ip6tables stop

chkconfig iptables off

chkconfig ip6tables off

vi /etc/selinux/config

SELINUX=disabled

(5)配置yum

yum clean all

yum makecache

yum install wget

上一篇下一篇

猜你喜欢

热点阅读