根据步骤安装linux

Original 2018-12-14 06:24:02 235
abstract:http://www.virtualbox.org下载virtualBoxhttps://www.centos.org/ 下载CentOS 7http://www.xshellcn.com 下载XShell安装virtualBox新建centos  linux系统  redhat64bit 内存1G足够 硬盘动态分配 10G启动虚拟机,安装centos 右ctrl可解锁鼠标窗口

http://www.virtualbox.org下载virtualBox

https://www.centos.org/ 下载CentOS 7

http://www.xshellcn.com 下载XShell


安装virtualBox

新建centos  linux系统  redhat64bit 内存1G足够 硬盘动态分配 10G


启动虚拟机,安装centos 右ctrl可解锁鼠标窗口锁定

装好重启

账号root


安装xshell


centos配置网卡:

1虚拟机-设置-网络-桥接

2进入虚拟机 cd /etc/sysconfig/network-scripts/

ll ifcfg-*

vi enp****  编辑网卡文件


BOOTPROTO=static

IPADDR=自己电脑同网段ip

NATMASK=255.255.255.0

GATEWAY=自己电脑同网关

UNBOOT=yes


'esc'--':'--'wq'退出编辑


重启网卡 service network restart



Xshell新建会话 输入虚拟机ip


配置DNS

cd /etc/

vi resolv.conf


nameserver 8.8.8.8

nameserver 8.8.8.4


重启网卡




Correcting teacher:韦小宝Correction time:2018-12-14 09:21:53
Teacher's summary:总结的很不错!以后可以当做笔记去阅读挺好的!

Release Notes

Popular Entries