进入 源文件夹下载适用于CentOS/RHEL引导源
# cd /etc/yum.repos.d/
# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
安装EPEL ,EPEL是yum的一个软件源,里面包含了许多基本源里没有的软件,因为是centos7所以选择第一句
CentOS/RHEL 7, 64 Bit (x86_64):
# rpm -Uvh http://epel.mirror.net.in/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
CentOS/RHEL 6, 64 Bit (x86_64):
# rpm -Uvh http://e...
centos7, VirtualBox, VPS, 虚拟机阅读全文
centos7安装GNOME桌面环境命令:
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
由原进入文字界面切换成开机默认桌面界面命令:
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
设置后需 reboot 重启检验。
由桌面界面配置默认进入文字界面,只需一行:
systemctl set-default multi-user.target
后如果要切回图形界面,相应地:
systemctl set-default ...
centos7, VPS阅读全文



