下載VM與Centos鏡像
用的 VM 17 版本:
該版本解決了老版本的一些藍(lán)屏問(wèn)題和兼容性問(wèn)題
https://download3.vmware.com/software/WKST-1700-WIN/VMware-workstation-full-17.0.0-20800274.exe
# 密鑰
JU090-6039P-08409-8J0QH-2YR7F
Centos 7.6.1810 (阿里云鏡像)
https://mirrors.aliyun.com/centos-vault/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
VM基本設(shè)置
設(shè)置VM虛擬網(wǎng)絡(luò)編輯器
對(duì)VMnet8進(jìn)行網(wǎng)絡(luò)設(shè)置
子網(wǎng)IP設(shè)置為:192.168.88.0
子網(wǎng)掩碼:225.225.225.0
NAT網(wǎng)關(guān)設(shè)置為:192.168.88.2
安裝Centos
選擇ISO文件開(kāi)始安裝
下一步,隨便設(shè)置用戶名密碼
下一步,起個(gè)名字,我這里叫Base,方便以后克隆用
然后下一步下一步..配置看著給,我給了4H,2G,40G存儲(chǔ)
配置OK后點(diǎn)擊最后完成,虛擬機(jī)自動(dòng)啟動(dòng).輸入安裝的時(shí)候的密碼進(jìn)入系統(tǒng)
Base虛擬機(jī)軟件的基本設(shè)置
先切換到root
su -
關(guān)閉防火墻 (為了避免網(wǎng)絡(luò)不通的問(wèn)題方便測(cè)試,生產(chǎn)環(huán)境不建議關(guān)閉)
systemctl stop firewalld
systemctl disable firewalld
關(guān)閉SELinux
vim /etc/sysconfig/selinux
把SELINUX改成disabled
文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-710831.html
時(shí)間同步與時(shí)區(qū)設(shè)定
- 安裝ntp
yum install -y ntp
- 更新時(shí)區(qū)
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
- 同步時(shí)間(使用阿里的ntp服務(wù))
ntpdate -u ntp.aliyun.com
- ntp軟件開(kāi)啟啟動(dòng)
systemctl start ntpd
systemctl enable ntpd
至此Centos7.6 Base虛擬機(jī)安裝完成!文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-710831.html
到了這里,關(guān)于VM準(zhǔn)備與安裝Linux虛擬機(jī)(Base)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!