赞
踩
选择机器后,“开启此虚拟机”
选择"Install Centos 7"
选择"English",点击"continue"
选择日期和时间
选择上海,点击"Done"
选择"软件安装"
选择"最小化安装",点击"Done"
关闭"KDUMP"
分区设置,直接"Done"
打开"网卡"
点击"Begin installation",设置用户名和密码
至此虚拟机安装完成
systemctl stop firewalld;systemctl disable firewalld
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum -y install https://www.elrepo.org/elrepo-release-7.0-4.el7.elrepo.noarch.rpm
yum --enablerepo="elrepo-kernel" -y install kerne-lt.x86_64
## 设置开机启动选项
awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
grub2-set-default "CentOS Linux (5.4.240-1.el7.elrepo.x86_64) 7 (Core)"
grub2-mkconfig -o /boot/grub2/grub.cfg
yum -y update
crontab -e
0 */1 * * * ntpdate time1.aliyun.com
centos7.vmdk
文件移动到将要创建的虚拟机目录使用现有虚拟磁盘
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。