RHEL6.3 纯命令行文本界面下安装桌面
2013-01-20 13:54
357 查看
一.配置yum本地安装源:
su - root
mkdir /mnt/cdrom
mount -t iso9660 /dev/sr0 /mnt/cdrom
cd /etc/yum.repos.d
查看目录是否有.repo后缀文件,没有则创建一个.repo文件,文件名随意。
vi local.repo
[LOCAL]
name=local
baseurl=file:///mnt/cdrom
enable=1
gpgcheck=0
保存退出
yum clean all
二. 安装默认系统桌面(适于之前安装系统时未选中桌面安装)
1.安装桌面包
yum groupinstall “X Window System”
yum groupinstall “Desktop”
2.启动桌面
init 5
3.更改启动模式
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
su - root
mkdir /mnt/cdrom
mount -t iso9660 /dev/sr0 /mnt/cdrom
cd /etc/yum.repos.d
查看目录是否有.repo后缀文件,没有则创建一个.repo文件,文件名随意。
vi local.repo
[LOCAL]
name=local
baseurl=file:///mnt/cdrom
enable=1
gpgcheck=0
保存退出
yum clean all
二. 安装默认系统桌面(适于之前安装系统时未选中桌面安装)
1.安装桌面包
yum groupinstall “X Window System”
yum groupinstall “Desktop”
2.启动桌面
init 5
3.更改启动模式
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
相关文章推荐
- RHEL6 纯命令行文本界面下安装桌面
- 【转】RHEL6 纯命文本界面下安装桌面
- RHEL 6.3 在字符界面下安装桌面并启动
- 修改命令行字体颜色以及在rhel 6.3中安装图形界面
- rhel6文字界面安装Gnome桌面
- [已解决]virtualBox安装CentOS-6.3-x86_64-bin-DVD1.iso为什么总是显示命令行界面
- CentOS6.3文字界面下使用yum安装Gnome桌面
- LINUX RHEL6.5字符界面安装图形化桌面
- 从文本界面安装RHEL5操作系统详解
- 零起步3-CentOS6.3文字界面下使用yum安装Gnome桌面
- CentOS6.3文字界面下使用yum安装Gnome桌面
- CentOS6.3文字界面下使用yum安装Gnome桌面并解决乱码问题
- RHEL6 命令行界面安装图形套件
- RHEL6命令行安装桌面
- RHEL6 纯命令行界面下安装图形界面
- CentOS6.3文字界面下使用yum安装Gnome桌面
- RHEL6 命令行下安装图形桌面
- U盘安装linux系统【RHEL 6.3】
- OCP-Win8系统利用VMware10.0,RHEL6.3虚拟机安装Oracle10g-32位linux完整图文教程(3)
- 在RHEL/CentOS 6.3/5.6和Fedora 17/12上安装APC