前沿拓展:
win7配置要求
如果缺氧沒有第二款的話那就可以不支持XP,w7可以配置要求不高650這樣
1、虛擬網(wǎng)絡編輯器1)打開虛擬網(wǎng)絡編輯器
2)設置VMnet8的子網(wǎng)掩碼
3)設置NAT
4)設置DHCP
2、修改靜態(tài)IP
[root@localhost ~]# nmcli device status
DEVICE TYPE STATE CONNECTION
ens33 ethernet connected ens33
lo loopback unmanaged —
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens160
#UUID=4c4385dd-1b0f-4d74-9261-5243ecbe1f20
DEVICE=ens160
ONBOOT=yes
IPADDR=192.168.2.108
NETMASK=255.255.255.0
#PREFIX=24
GATEWAY=192.168.2.2
DNS1=192.168.2.2
DNS2=114.114.114.114
[root@localhost ~]# service network restart
[root@localhost ~]# ping www.baidu.com
[root@localhost ~]# yum install -y vim net-tools openssh-server openssh-clients rsync
[root@localhost ~]# ifconfig
3、主機名
[root@localhost ~]# hostname
[root@localhost ~]# hostnamectl
[root@localhost ~]# hostnamectl set-hostname hadoop108
[root@localhost ~]# vim /etc/hostname
hadoop108
4、修改hosts
[root@localhost ~]# vim /etc/hosts
192.168.2.108 hadoop108
5、關閉防火墻
[root@localhost ~]# systemctl stop firewalld.service
[root@localhost ~]# systemctl disable firewalld.service
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@localhost ~]# firewall-cmd –state
not running
拓展知識:
前沿拓展:
win7配置要求
如果缺氧沒有第二款的話那就可以不支持XP,w7可以配置要求不高650這樣
1、虛擬網(wǎng)絡編輯器1)打開虛擬網(wǎng)絡編輯器
2)設置VMnet8的子網(wǎng)掩碼
3)設置NAT
4)設置DHCP
2、修改靜態(tài)IP
[root@localhost ~]# nmcli device status
DEVICE TYPE STATE CONNECTION
ens33 ethernet connected ens33
lo loopback unmanaged —
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens160
#UUID=4c4385dd-1b0f-4d74-9261-5243ecbe1f20
DEVICE=ens160
ONBOOT=yes
IPADDR=192.168.2.108
NETMASK=255.255.255.0
#PREFIX=24
GATEWAY=192.168.2.2
DNS1=192.168.2.2
DNS2=114.114.114.114
[root@localhost ~]# service network restart
[root@localhost ~]# ping www.baidu.com
[root@localhost ~]# yum install -y vim net-tools openssh-server openssh-clients rsync
[root@localhost ~]# ifconfig
3、主機名
[root@localhost ~]# hostname
[root@localhost ~]# hostnamectl
[root@localhost ~]# hostnamectl set-hostname hadoop108
[root@localhost ~]# vim /etc/hostname
hadoop108
4、修改hosts
[root@localhost ~]# vim /etc/hosts
192.168.2.108 hadoop108
5、關閉防火墻
[root@localhost ~]# systemctl stop firewalld.service
[root@localhost ~]# systemctl disable firewalld.service
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@localhost ~]# firewall-cmd –state
not running
拓展知識:
前沿拓展:
win7配置要求
如果缺氧沒有第二款的話那就可以不支持XP,w7可以配置要求不高650這樣
1、虛擬網(wǎng)絡編輯器1)打開虛擬網(wǎng)絡編輯器
2)設置VMnet8的子網(wǎng)掩碼
3)設置NAT
4)設置DHCP
2、修改靜態(tài)IP
[root@localhost ~]# nmcli device status
DEVICE TYPE STATE CONNECTION
ens33 ethernet connected ens33
lo loopback unmanaged —
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens160
#UUID=4c4385dd-1b0f-4d74-9261-5243ecbe1f20
DEVICE=ens160
ONBOOT=yes
IPADDR=192.168.2.108
NETMASK=255.255.255.0
#PREFIX=24
GATEWAY=192.168.2.2
DNS1=192.168.2.2
DNS2=114.114.114.114
[root@localhost ~]# service network restart
[root@localhost ~]# ping www.baidu.com
[root@localhost ~]# yum install -y vim net-tools openssh-server openssh-clients rsync
[root@localhost ~]# ifconfig
3、主機名
[root@localhost ~]# hostname
[root@localhost ~]# hostnamectl
[root@localhost ~]# hostnamectl set-hostname hadoop108
[root@localhost ~]# vim /etc/hostname
hadoop108
4、修改hosts
[root@localhost ~]# vim /etc/hosts
192.168.2.108 hadoop108
5、關閉防火墻
[root@localhost ~]# systemctl stop firewalld.service
[root@localhost ~]# systemctl disable firewalld.service
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@localhost ~]# firewall-cmd –state
not running
拓展知識:
前沿拓展:
win7配置要求
如果缺氧沒有第二款的話那就可以不支持XP,w7可以配置要求不高650這樣
1、虛擬網(wǎng)絡編輯器1)打開虛擬網(wǎng)絡編輯器
2)設置VMnet8的子網(wǎng)掩碼
3)設置NAT
4)設置DHCP
2、修改靜態(tài)IP
[root@localhost ~]# nmcli device status
DEVICE TYPE STATE CONNECTION
ens33 ethernet connected ens33
lo loopback unmanaged —
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens160
#UUID=4c4385dd-1b0f-4d74-9261-5243ecbe1f20
DEVICE=ens160
ONBOOT=yes
IPADDR=192.168.2.108
NETMASK=255.255.255.0
#PREFIX=24
GATEWAY=192.168.2.2
DNS1=192.168.2.2
DNS2=114.114.114.114
[root@localhost ~]# service network restart
[root@localhost ~]# ping www.baidu.com
[root@localhost ~]# yum install -y vim net-tools openssh-server openssh-clients rsync
[root@localhost ~]# ifconfig
3、主機名
[root@localhost ~]# hostname
[root@localhost ~]# hostnamectl
[root@localhost ~]# hostnamectl set-hostname hadoop108
[root@localhost ~]# vim /etc/hostname
hadoop108
4、修改hosts
[root@localhost ~]# vim /etc/hosts
192.168.2.108 hadoop108
5、關閉防火墻
[root@localhost ~]# systemctl stop firewalld.service
[root@localhost ~]# systemctl disable firewalld.service
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@localhost ~]# firewall-cmd –state
not running
拓展知識:
原創(chuàng)文章,作者:九賢生活小編,如若轉(zhuǎn)載,請注明出處:http:///10495.html