前沿拓展:
win7配置要求
如果缺氧没有第二款的话那就可以不支持XP,w7可以配置要求不高650这样
1、虚拟网络编辑器1)打开虚拟网络编辑器
2)设置VMnet8的子网掩码
3)设置NAT
4)设置DHCP
2、修改静态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、虚拟网络编辑器1)打开虚拟网络编辑器
2)设置VMnet8的子网掩码
3)设置NAT
4)设置DHCP
2、修改静态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、虚拟网络编辑器1)打开虚拟网络编辑器
2)设置VMnet8的子网掩码
3)设置NAT
4)设置DHCP
2、修改静态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、虚拟网络编辑器1)打开虚拟网络编辑器
2)设置VMnet8的子网掩码
3)设置NAT
4)设置DHCP
2、修改静态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
拓展知识:
原创文章,作者:九贤生活小编,如若转载,请注明出处:http://www.wangguangwei.com/10495.html