解决CentOS7.0最小化安装后没有桌面
时间:2015-03-31 03:58 来源:linux.it.net.cn 作者:IT
mount
/dev/sr0
/media
vi
/etc/yum
.repos.d
/local
.repo
[
local
]
name=
local
baseurl=
file
:
///media/
enabled=1
gpgcheck=0
yum makecache
mkdir
/tmp/repo
mv
/etc/yum
.repos.d/*
/tmp/repo
mv
/tmp/repo/local
.repo
/etc/yum
.repos.d/
yum clean all &&
rm
-rf
/var/cache/yum/
*
yum makecache
yum grouplist
yum groupinstall -y
"GNOME Desktop"
yum groupinstall -y
"KDE Plasma Workspaces"
ln
-sf
/lib/systemd/system/graphical
.target
/etc/systemd/system/default
.target
reboot
(责任编辑:IT)
(责任编辑:IT) |