亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

Centos純命令行文本界面下如何安裝桌面?

  發(fā)布時(shí)間:2016-12-08 14:30:01   作者:佚名   我要評(píng)論
有些朋友還不知道Centos純命令行文本界面下如何安裝桌面?下面小編就為大家?guī)?lái)Centos純命令行文本界面下安裝桌面的方法;有需要的朋友可以過(guò)來(lái)看看

一.配置yum本地安裝源:

su - root
mkdir /mnt/cdrom
mount -t iso9660 /dev/sr0 /mnt/cdrom
cd /etc/yum.repos.d
查看目錄是否有.repo后綴文件,沒有則創(chuàng)建一個(gè).repo文件,文件名隨意。
vi local.repo
 
[LOCAL]
name=local
baseurl=file:///mnt/cdrom
enable=1
gpgcheck=0
保存退出
yum clean all
二. 安裝默認(rèn)系統(tǒng)桌面(適于之前安裝系統(tǒng)時(shí)未選中桌面安裝)
1.安裝桌面包
 yum groupinstall “X Window System”
 yum groupinstall “Desktop”
2.啟動(dòng)桌面
 init 5
3.更改啟動(dòng)模式
 vi /etc/inittab
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
#
# Default runlevel. The runlevels used are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#

id:3:initdefault: 

將上面紅字部分的  3改成5 3為命令行界面   5為X window圖形界面

4.安裝桌面右鍵終端: 

 yum install nautilus-open-terminal 

相關(guān)文章

最新評(píng)論