Quest *nix Xwindows

简介: 国内一般网站搜到的linux系统添加Xwindows都是无法完成的,至少我在Ct6.3上不行,也许是yum源配置不同问题 我举个站点大家自己上去看,本人就不多说了,多说也无益,. http://yaozb.

国内一般网站搜到的linux系统添加Xwindows都是无法完成的,至少我在Ct6.3上不行,也许是yum源配置不同问题

我举个站点大家自己上去看,本人就不多说了,多说也无益,.

http://yaozb.blog.51cto.com/2762349/751767 [之前一同事的博客]

 

添加Xwindwos[GNOME or KDE]原因是什么呢?一般在linux下装那个叫Orc foglight的,我总结笼统概况就是`fool software install interface  for SB fool mans software`!

自己理解吧!它还就要那个界面.

 

文章上原官网的链接  ,上面的文章都是非常不错的,本文整理者ruiy 哥哥,我是这么认为的哦!,不知道你是怎么理解的,意见保留吧!,在此就不多说啦

我总结的,直接了当的就2步跑完,干别的!

yum -y groupinstall 'X Window System' 

yum -y  groupinstall kde-desktop 别的可以在我的文章了有【关于rhel/centos 本地iso盘yum源啦,163源啦,mongodb啦,自己总结吧】

http://www.cnblogs.com/ruiy/p/local-yum.html

 

Add GNOME to a CentOS Minimal Install

by Jeff Hunter, Sr. Database Administrator

Contents

Introduction

In most instances, the Linux servers I setup are used to host the Oracle database software and only require using the Command-Line Interface (CLI) for the OS. This is beneficial because I only need to perform a minimal installation and can add only those required Linux packages (RPMs) needed to support the database. However, there are situations where I need to access a graphical desktop in order to install or run certain Graphical User Interface (GUI) applications.

This guide provides the steps needed to add the GNOME Desktop to a CentOS minimal installation where the OS was installed without the X Window System.

CentOS 6

In this section, the GNOME desktop will be added to a new server running CentOS 6.2 (x86_64) after performing a "Minimal" install.

Install Desktop Packages


# yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"

You can also install the following optional GUI packages.


# yum -y groupinstall "Graphical Administration Tools"

 

# yum -y groupinstall "Internet Browser"

 

# yum -y groupinstall "General Purpose Desktop"

 

# yum -y groupinstall "Office Suite and Productivity"

 

# yum -y groupinstall "Graphics Creation Tools"

Finally, if you wanted to add the K Desktop Environment (KDE).


# yum -y groupinstall kde-desktop

When using yum groupinstall, the groupinstall option only installs default and mandatory packages from the group. There are times when you also want to include optional packages within a group. I have not figured out (yet) how to control which package types to install (group package "policy") from the command-line using yum. The only method I know of to also include optional packages is to edit the /etc/yum.conf file and add the following to the[main] section:


group_package_types=default mandatory optional

The reason I mention this is because I wanted to install "Terminal emulator for the X Window System" (xterm) which is under the group "Legacy X Window System compatibility". xterm happens to be an optional package and did not get installed until I added group_package_types=default mandatory optional to /etc/yum.conf.


# yum -y groupinstall "Legacy X Window System compatibility"

I did find a plug-in for yum that allows users to specify which package types within a package group should be installed when using yum groupinstall.

http://projects.robinbowes.com/yum-grouppackagetypes/trac

Enable GNOME

Since the server was previously running on CLI mode, we need to change the initialization process for the machine to boot up in GUI mode.

Open /etc/inittab using a text editor and change following line:


id:3:initdefault:

To:


id:5:initdefault:

After making the change, reboot the machine.


# init 6

Note that you can switch from GUI to CLI mode manually by using following method:

GUI to CLI: Ctrl + Alt + F6
CLI to GUI: Ctrl + Alt + F1

Installing Additional Applications

After logging in to the GNOME Desktop, you can now go to System > Administration > Add/Remove Software to manage application in CentOS.

By using this wizard, you can install various applications similar to yum but through a GUI. Applications installed using this method will appear in the Application menu list.

About the Author

Jeffrey Hunter is an Oracle Certified Professional, Java Development Certified Professional, Author, and an Oracle ACE. Jeff currently works as a Senior Database Administrator for The DBA Zone, Inc. located in Pittsburgh, Pennsylvania. His work includes advanced performance tuning, Java and PL/SQL programming, developing high availability solutions, capacity planning, database security, and physical / logical database design in a UNIX, Linux, and Windows server environment. Jeff's other interests include mathematical encryption theory, programming language processors (compilers and interpreters) in Java and C, LDAP, writing web-based database administration tools, and of course Linux. He has been a Sr. Database Administrator and Software Engineer for over 18 years and maintains his own website site at: http://www.iDevelopment.info. Jeff graduated from Stanislaus State University in Turlock, California, with a Bachelor's degree in Computer Science.

 

 

目录
相关文章
QGS
|
JavaScript UED
小白浅学Vue3(下)
小白浅学Vue3
QGS
129 0
|
网络协议 算法 网络性能优化
C语言 网络编程(十五)套接字选项设置
`setsockopt()`函数用于设置套接字选项,如重复使用地址(`SO_REUSEADDR`)、端口(`SO_REUSEPORT`)及超时时间(`SO_RCVTIMEO`)。其参数包括套接字描述符、协议级别、选项名称、选项值及其长度。成功返回0,失败返回-1并设置`errno`。示例展示了如何创建TCP服务器并设置相关选项。配套的`getsockopt()`函数用于获取这些选项的值。
361 12
|
JavaScript C++ 应用服务中间件
vs code 搭建 vue 开发环境
vs code 搭建 vue 开发环境
126 4
|
SQL 前端开发 Java
SpringMVC---CRUD实现
SpringMVC---CRUD实现
140 0
|
异构计算
FPGA项目五:数码管动态扫描(下)
FPGA项目五:数码管动态扫描
332 0
FPGA项目五:数码管动态扫描(下)
|
SQL 人工智能 分布式计算
300页电子书、600+课程大会资料,满满干货免费拿 | 大数据“攻城狮”看过来
开发者社区为大数据工程师准备了这一款 免费学习资料,包含了从事大数据工作的开发者们必读的 电子书合集、接近600节课的大数据学习路线、以及那些大数据相关的技术盛会资料 ~不论你是入门工程师,还是已深入领域多年,这个合集里总有你需要的!你值得拥有~
8238 0
300页电子书、600+课程大会资料,满满干货免费拿 | 大数据“攻城狮”看过来
|
存储 弹性计算 Linux
ECS使用体验
ECS个人使用感受
ECS使用体验
|
弹性计算 运维 安全
阿里云ecs使用体验
整了台服务器部署项目上线
阿里云ecs使用体验
|
API PHP
Swoole v4.7.1 版本发布,Bug 修复版本
v4.7.1 版本主要是一个 Bug 修复版本,没有向下不兼容改动。
183 0
|
SQL XML 存储
MSSQL - 应用案例 - Event Notification + Service Broker构建死锁自动收集系统
--- title: MSSQL - 应用案例 - Event Notification + Service Broker构建死锁自动收集系统 author: 风移 --- # 摘要 这篇文章介绍SQL Server的一个典型的应用案例,即如何利用Event Notification与Service Broker技术相结合来实现死锁信息自动收集系统。通过这个系统,我们可以全面把控SQL
4848 0