评论

收藏

[网络数据] Quest *nix Xwindows

网络安全 网络安全 发布于:2021-12-30 17:24 | 阅读数:699 | 评论:0

国内一般网站搜到的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啦,自己总结吧】


Add GNOME to a CentOS Minimal Install
by Jeff Hunter, Sr. Database Administrator
Contents





  • Introduction
  • CentOS 6
  • About the Author



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 yumgroupinstall, the groupinstall optiononly installs default and mandatory packagesfrom the group. There are times when you also want to include optional packageswithin a group. I have not figured out (yet) how to control which package typesto install (group package "policy") from the command-line using yum. The only methodI know of to also include optional packages is to edit the /etc/yum.conf fileand 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 happensto 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 apackage 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 tochange 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 usingfollowing 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 applicationssimilar to yum but through a GUI. Applications installed using this methodwill appear in the Application menulist.
About the Author
Jeffrey Hunter is an Oracle CertifiedProfessional, Java Development Certified Professional, Author, and an OracleACE​. Jeff currently works as a Senior Database Administratorfor ​The DBA Zone, Inc.​ locatedin Pittsburgh, Pennsylvania. His work includes advanced performance tuning,Java and PL/SQL programming, developing high availability solutions, capacityplanning, database security, and physical / logical database design in a UNIX,Linux, and Windows server environment. Jeff's other interests includemathematical encryption theory, programming language processors (compilers andinterpreters) in Java and C, LDAP, writing web-based database administrationtools, and of course Linux. He has been a Sr. Database Administrator andSoftware 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.






关注下面的标签,发现更多相似文章