RHEL 6.3 纯命令行文本界面下安装桌面
一.配置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 本文出自 “一路向北” 博客,请务必保留此出处http://showerlee.blog.51cto.com/2047005/1122748 查看本栏目更多精彩内容:http://www.bianceng.cn/OS/Linux/ (编辑:云计算网_宿迁站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- linux – 为什么添加数据文件会导致Oracle出现死锁?
- linux – 为什么将根文件写入不属于root的目录是不好的?
- 微信飞机大战没有了 微信飞机大战在哪里
- linux系统编程基础(三)文件描述符file descriptor与inode
- linux中vagrant创建配置开发环境
- 10 Linux DIG Command Examples for DNS Lookup--reference
- Linux驱动实践 怎样编写 GPIO 设备的驱动程序?
- ipad不在充电怎么回事 ipad不在充电怎么办
- 在liunx中创建启动器(window下的快捷方式) && linux下,
- linux – 大文件系统上的e2fsck失败,错误:内存分配失败