- 时间:2021-10-26 03:15 编辑: 来源: 阅读:
- 扫一扫,手机访问
摘要:VMware 12中CentOS 6.5 64位安装配置教程
前言:本人在配置Hadoop的过程中,需要搭建Cent OS 64 环境,借此,顺便将Cent OS 64 的安装在此记录,方便自己,也方便大家学习。本次是在VM12虚拟机中实现Cent OS 64 的安装以及配置,后续还会有Hadoop的安装配置教程,我们先来进行第一步。
[b]一、VMware 12 Install CentOS 64(Linux)OS[/b]
create a new vm->there I screenshot my settings in the next steps->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100128_0_74490.png[/img]
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100128_1_46443.png[/img]
keep next step->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100129_2_75534.png[/img]
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100129_3_40669.png[/img]
the os name at will,if you understand it->the position choose a folder that you like->next->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100130_4_65525.png[/img]
next as deault,my computer`s RAM is 8G so i choose 1G that default>next
the net mode choose NAT,then we set IP address to connect the internet->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100130_5_13120.png[/img]
steps the default->
there I remove the audio card and the printer that impossible use them->accomplish!
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100131_6_37217.png[/img]
the the vm will apper in the left list->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100132_7_22711.png[/img]
click the centOS 64 hadoop-master,we set the os install cd/DVD Path->
in the position we set the install cd/DVD ,choose the install source that we have upload CentOS64(CentOS6.5)
you can get the centos in the internet->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100133_8_27123.png[/img]
then we power start the vm cent os 64->
choose the first option install or upgrade an existing system->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100133_9_72470.jpg[/img]
OK
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100134_10_17357.png[/img]
default ok that can show the step of check disks->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100134_11_76926.png[/img]
if check complete choose OK->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100134_12_44081.png[/img]
OK->Continue
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100135_13_73073.png[/img]
if have a problem below we can learn from internet that we should reboot the vm , then choose skip->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100135_14_70212.png[/img]
next we reboot the system->
wait a minute show a confirm we choose skip;then it`s can found the install resource,auto install !->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100136_15_5606.png[/img]
into the view settings->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100136_16_61794.jpg[/img]
Choose language, there we choose English(English)->next
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100137_17_19487.png[/img]
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100137_18_29360.png[/img]
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100137_19_25853.png[/img]
choose much next step we get there->
we choose Yes,discard any data->next->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100138_20_88358.png[/img]
input HostName,i set the master as HostName->next->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100139_21_53829.png[/img]
next->
The position we choose ShangHai->next
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100139_22_99766.jpg[/img]
there we must confirm the window that tell us input the password and confirm(Don`t forget that pwd)->next->
there we choose Replace Existing Linux System->next
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100139_23_38173.png[/img]
then choose Write Changes to disk->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100140_24_15917.png[/img]
next->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100140_25_20928.jpg[/img]
The System will progress the install progress->
OK->we Reboot the system
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100141_26_92859.png[/img]
oh welcom view->forward
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100141_27_94308.jpg[/img]
Yes,I agree to the license Agreement(you known)->
then input your Username and password as will you like and dont`t forget them->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100142_28_23431.png[/img]
forward
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100142_29_16367.png[/img]
if you get error in the Kdump step neglect it and click finish->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100143_30_8136.png[/img]
Then Reboot -> wait a minute we can input the password into the system CentOS->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100143_31_97911.jpg[/img]
OK The CentOS64`s Install is complete ! Congratulation To you !
Then we set the net to the VM ->
choose the vpn connections -> Configure VPN->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100144_32_62800.png[/img]
Add->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100144_33_83660.png[/img]
Create->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100144_34_38579.png[/img]
RName the connection name we named master ->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100145_35_28325.png[/img]
let find the settings options there->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100145_36_96770.png[/img]
Then choose VMnet8->'NAT设置'->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100146_37_75786.png[/img]
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100146_38_51026.png[/img]
We can get the Net GateWay and NetMask etc...
then we set the net work->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100147_39_23893.png[/img]
The Address input as will but cant repeat with other !
if we don`t known the DNS servers we input the chorm`s DNS 8.8.8.8;
then we into the vm->set the IPv4 Settings:
Method:Manual(static address);
Address:192.168.239.128;
NetMask:255.255.255.0;
GateWay:192.168.239.2;
DNS server:8.8.8.8
Apply ->
You should start your VMware NAT Service if you want VM to connection the internet via conputer !
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100147_40_48256.png[/img]
Then we find the network ico is have not the error ico ;
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100148_41_68373.png[/img]
We can ping the host 192.168.239.1
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100148_42_819.png[/img]
you can see it`s successful !
let we test->start the Firfox explorer->input the url www.baidu.com->enter->
[img]http://img.1sucai.cn/uploads/article/2018010710/20180107100149_43_92327.png[/img]
That you can see the vm CentOS can surf the internet !
Then let we configurate the Hadoop install and configuration !
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程素材网。