欢迎来到天天文库
浏览记录
ID:42421700
大小:818.21 KB
页数:28页
时间:2019-09-14
《Hadoop课件--安装调试》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、:—、宿主机(windows)与客户机(安装在虚拟机中的Linux)网络连接方式1、host-only宿主机与客户机单独组网优点:网络隔离缺点:虚拟机与其他服务器Z间不能通信2、bridge客户机与宿主机在同一个局域网中优点:都在同一个局域网,可以互相访问缺点:不安全二、Hadoop的伪分布安装1、设置静态ip右键:4〉翌MonJun6,01:4;:EditingSystemethoHomeConnectionname:SystemethO0ConnectautomaticallyBAvailabletoa
2、llusersNamepWiredsHomeTash验证是否修改成功Wired802.lxSecurityIPv4SettingsIPv6SettingsSystemConnectionname:Autoetho0Connectautomatically0AvailabletoallusersWired802.lxSecurityIPv4SettingsIPv6SettingsMethod:ManualAddressNetmaskGateway192.168.80.100255.255.255.0192.1
3、68.80.1AddressesApply...CancelsiDNSservers:Computer币:丿11网络服务:、卜ApplicationsPlacesSystemQ./root@hadoop:*/DesktopComputlFileEditViewSearchTerminalHelpTtash[root^hadoopDesktop]#
4、[FAILED!<1刁耶单击可按Ctrl>G.m」鶴日©m3」曲/匸出现错误解决方法解决方案如下:停用NetworkMiinagerJu再重新丿动服务即口[解决问
5、题(restartnetworkservice)[root@proxynetwork-scripts]#serviceNetworkManagerstopStoppingNetworkManagerdaemon:[OKJ
6、root@proxynetwork-scriptsj#chkconfigNetworkManageroff[root@proxynetwork-scripts]#chkconfignetworkon[root@proxynetwork-scripts]#servicenetworkrest
7、artShuttingdowninterfaceethO:[OK]Shuttingdownloopbackinterface:[OKJBringinguploopbackinterface:[OKJBringingupinterfacecthO:[OK][root@proxynetwork-scripts]#查看IP:Ifeonfig,然后pingIP地址2、修改主机名《1》、修改当前会话的主机名3packetstransmitted,3receivedf0%packetloss,time2840msrtt
8、min/avg/max/mdev二0.509/1.019/1.963/e.668ms[root@localhostnetwork-scripts]#hostnamelocalhost•localdomain[root@localhostnetwork-scripts]#hostnamehadoop《2》、修改配置配置文件的主机名孕CentOS^lX[rootcalocalhostnetwork-scripts]#
9、二CentOSmetaitviewbearenlerminaiHelpNETWORKING=y
10、es-/wtc/sysconfig/network”2L,46C
11、<>:冃赫堵A口:入且匚盘拚rtrl^n彌Z4f』1u*]3、主机名和IP绑定JOSTNAME=localhost.localdomainPing主机名称会出现:nauuup[root@localhostnetwork-scripts]#vi/etc/sysconfig/network[root@localhostnetwork・scriptsj#pinghadoopping:unknownhosthadoop[root@localhos
12、tnetwork-scripts]#
13、解决方式DCentOS4CentOS.lX卜lietaitviewsearcnlerminaiHelp120.0.Q.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain^::1localhostlocalhost.localdomainlocalhost6localhost6.localdomainf
此文档下载收益归作者所有