美文网首页Linux科技
VMware安装centos

VMware安装centos

作者: Miracle001 | 来源:发表于2017-09-08 00:29 被阅读7次

安装过程(如图)

第1步
Paste_Image.png
第2步
Paste_Image.png
第3步
Paste_Image.png
第4步
Paste_Image.png
第5步
Paste_Image.png
第6步

如果Windows的文件系统是NTFS,可以忽略;
Windows里将FAT转换成NTFS,防止FAT文件系统不支持大于4G的文件


Paste_Image.png Paste_Image.png
第7步
Paste_Image.png
第8步(注意centos7安装时,先点击“完成”,然后再自定义硬件,进行编辑所要的信息,否则网卡只会出现一个,但是我们需要出现两个)
挂在光盘选择Centos 7.3 1611
挂在光盘选择Centos 6.9 DVD1
内存 2G(防止不够用) 
CPU 2个
硬盘 200G
网卡1 仅主机
网卡2 桥接

Paste_Image.png

centos6

第9步
开启虚拟机 centos6
ctri+alt+回车  切换至全屏
第10步
Paste_Image.png
第11步

比较费时间,可以直接选择skip


Paste_Image.png
第12步
anaconda 安装向导的程序名称
ctri+alt+f1 切换至字符界面
ctri+alt+f6 切换至原界面
Paste_Image.png
第13步
Paste_Image.png
第14步
Paste_Image.png
第15步
Paste_Image.png
第16步
Paste_Image.png
第17步
hostname:centos6.feng.com
hostname:centos7.feng.com
左下方的configure注意要操作:
  eth0和eth1都要操作:点击edit,点上“√ connect automatically”,然后apply——close
此时操作,ctrl+alt+f2,进入字符界面的命令行,ifconfig(Windows:ipconfig);
WIN键+R:cmd进入Windows命令行,ping eth0_ip/eth1_ip,是否可以ping通;
ctrl+alt+f3 配置IP过程
ctrl+alt+f4
ctrl+alt+f5
第18步
ctrl+alt+f2,data,默认UTC时间(格林威治时间)
Paste_Image.png
第19步
root+口令
口令过于简单,无影响
Paste_Image.png Paste_Image.png
第20步
Paste_Image.png
分区策略
sda 200G
/boot 1G
/ 100G
/app 50G
swap 交换分区 
第21步
Paste_Image.png
选择free
create——Standard Partition——create——mount point:/——size:100000——OK
选择free
create——Standard Partition——create——mount point:/boot——size:1000——OK(boot自动变为sda1,无论如何操作)
选择free
create——Standard Partition——create——mount point:/app——size:50000——OK
Ctrl+alt+f2,free,cat /proc/meminfo 查看系统内存,shift+pgup/pgdown 上下翻页
选择free
swap大小 = 系统内存的2倍
选择swap——size:4096——OK
next——format——write change to disk
image.png
第22步
Paste_Image.png
第23步
Paste_Image.png Paste_Image.png
ctrl+alt+f1/2/3/4/5/6 切换,查看安装过程
第24步

安装完成后

Paste_Image.png
第25步
Paste_Image.png
第26步
Paste_Image.png
第27步
Paste_Image.png
第28步
口令简单,按yes即可
Paste_Image.png
第29步
Paste_Image.png
第30步
kdump功能:系统由于硬件原因崩溃,可以把当前系统的状态存到内核里,需要消耗一部分内存空间
Paste_Image.png Paste_Image.png
此错误,没什么影响
Paste_Image.png
第31步
Paste_Image.png Paste_Image.png Paste_Image.png
第32步
Paste_Image.png Paste_Image.png
第33步

右键单击也可以打开terminal

Paste_Image.png Paste_Image.png
第34步
Paste_Image.png

centos7

第9步
开启虚拟机 centos7
Paste_Image.png
第10步
Paste_Image.png
第11步
Paste_Image.png
第12步
Paste_Image.png Paste_Image.png
第13步
生产环境一般是最小化安装,缺什么,装什么即可,练习操作,不是最小化
Paste_Image.png Paste_Image.png
第14步
/ 100G
/boot 1G
/app 50G
swap 4G

Paste_Image.png Paste_Image.png Paste_Image.png Paste_Image.png Paste_Image.png Paste_Image.png Paste_Image.png Paste_Image.png Paste_Image.png Paste_Image.png Paste_Image.png Paste_Image.png
第15步
Paste_Image.png Paste_Image.png
第16步
Paste_Image.png
第17步
Paste_Image.png Paste_Image.png
第18步
Paste_Image.png Paste_Image.png
第19步
Paste_Image.png
第20步
Paste_Image.png Paste_Image.png
第21步
Paste_Image.png
第22步
Paste_Image.png
第23步

next——next——skip即可


Paste_Image.png
第24步
Paste_Image.png
第25步
Paste_Image.png
第26步
防止短时间内,屏幕锁死

Paste_Image.png Paste_Image.png Paste_Image.png

安装完成后的操作

建议安装完成后,关闭虚拟机,做快照和备份
centos6和centos7都要做
防止后期误操作,重新安装,数据丢失

快照
Paste_Image.png Paste_Image.png Paste_Image.png
备份
Paste_Image.png Paste_Image.png Paste_Image.png

相关文章

网友评论

    本文标题:VMware安装centos

    本文链接:https://www.haomeiwen.com/subject/mhysjxtx.html