190518
作者:互联网
20190518
遇到的问题
虚拟机centos 主机 win10 网络配置问题
vmnet8
centos里面的配置
[hadoop@hadoop000 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
eEVICE="eth0"
BOOTPROTO="static"
HWADDR="00:0C:29:D6:67:B6"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="01786dd9-7107-44d7-ad97-a82411385918"
NM_CONTROLLED=no
PEERDNS=no
IPADDR=192.168.137.128
GATEWAY=192.168.137.2
NETMASK=255.255.255.0
[hadoop@hadoop000 ~]$ cat /etc/hosts
192.168.137.128 hadoop000
192.168.137.128 localhost
[hadoop@hadoop000 ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=hadoop000
[hadoop@hadoop000 ~]$ sudo ifconfig eth2 192.168.137.128
结果
参考文章
虚拟机下CentOS7开启SSH连接
改正复制后叫eth2变为eth0 谷歌
改正不能指定静态ip的毛病
https://blog.csdn.net/wangxizhen123/article/details/72850395
过程
文件目录
在hadoop用户根目录/home/hadoop创建文件夹
下载各种软件到software 解压到app/ 配置系统环境变量
标签:虚拟机,hadoop,192.168,hadoop000,137.128,190518,eth0 来源: https://blog.csdn.net/qq_37175233/article/details/90313734