摘要:http://www.virtualbox.org下載virtualBoxhttps://www.centos.org/ 下載CentOS 7http://www.xshellcn.com 下載XShell安裝virtualBox新建centos linux系統(tǒng) redhat64bit 內(nèi)存1G足夠 硬盤動(dòng)態(tài)分配 10G啟動(dòng)虛擬機(jī),安裝centos 右ctrl可解鎖鼠標(biāo)窗口
http://www.virtualbox.org下載virtualBox
https://www.centos.org/ 下載CentOS 7
http://www.xshellcn.com 下載XShell
安裝virtualBox
新建centos linux系統(tǒng) redhat64bit 內(nèi)存1G足夠 硬盤動(dòng)態(tài)分配 10G
啟動(dòng)虛擬機(jī),安裝centos 右ctrl可解鎖鼠標(biāo)窗口鎖定
裝好重啟
賬號(hào)root
安裝xshell
centos配置網(wǎng)卡:
1虛擬機(jī)-設(shè)置-網(wǎng)絡(luò)-橋接
2進(jìn)入虛擬機(jī) cd /etc/sysconfig/network-scripts/
ll ifcfg-*
vi enp**** 編輯網(wǎng)卡文件
BOOTPROTO=static
IPADDR=自己電腦同網(wǎng)段ip
NATMASK=255.255.255.0
GATEWAY=自己電腦同網(wǎng)關(guān)
UNBOOT=yes
'esc'--':'--'wq'退出編輯
重啟網(wǎng)卡 service network restart
Xshell新建會(huì)話 輸入虛擬機(jī)ip
配置DNS
cd /etc/
vi resolv.conf
nameserver 8.8.8.8
nameserver 8.8.8.4
重啟網(wǎng)卡
批改老師:韋小寶批改時(shí)間:2018-12-14 09:21:53
老師總結(jié):總結(jié)的很不錯(cuò)!以后可以當(dāng)做筆記去閱讀挺好的!