LINUX安装图形管理界面

来源:互联网 发布:电脑编程语言 编辑:程序博客网 时间:2024/06/08 08:34

今天在一台linux(linux机器不是本人装的)机器上安装oracle时,按照以下步骤操作,发现图形管理界面,于是按照步骤安装了图形管理界面,具体操作如下


STEP1:用XShell进行图形化安装oracle11g时,报如下错误

-- 192.168.6.56 是本人的机器[oracle@localhost database]$ export DISPLAY=192.168.6.56:0.0[oracle@localhost database]$ ./runInstaller Starting Oracle Universal Installer...Checking Temp space: must be greater than 120 MB.   Actual 220350 MB    PassedChecking swap space: must be greater than 150 MB.   Actual 10047 MB    PassedChecking monitor: must be configured to display at least 256 colors    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<Some requirement checks failed. You must fulfill these requirements beforecontinuing with the installation,Continue? (y/n) [n] n
DISPLAY已经设置了,可是还是有这种提示,于是用root用户登录,进行相关操作

[root@localhost ~]# export DISPLAY=192.168.6.56:0.0[root@localhost ~]# startxxauth:  creating new authority file /root/.serverauth.13644xauth:  creating new authority file /root/.Xauthorityxauth:  creating new authority file /root/.Xauthorityxinit:  No such file or directory (errno 2):  no server "/usr/bin/X" in PATHUse the -- option, or make sure that /usr/bin is in your path andthat "/usr/bin/X" is a program or a link to the right type of serverfor your display.  Possible server names include:    Xorg        Common X server for most displays    Xvfb        Virtual frame buffer    Xfake       kdrive-based virtual frame buffer    Xnest       X server nested in a window on another X server    Xephyr      kdrive-based nested X servergiving up.xinit:  No such file or directory (errno 2):  unable to connect to X serverxinit:  No such process (errno 3):  Server error.[root@localhost ~]# [root@localhost ~]# xdpyinfoxdpyinfo:  unable to open display "192.168.6.56:0.0".

于是执行如下命令

-- 通过yum grouplist 命令可以查看安装好的包程序和 可以安装的程序[root@localhost ~]# yum grouplist
提示如下

Loaded plugins: fastestmirrorSetting up Group ProcessLoading mirror speeds from cached hostfile * base: mirrors.cqu.edu.cn * extras: mirrors.cqu.edu.cn * updates: mirrors.cqu.edu.cnbase                                                                                                                                                                    | 3.7 kB     00:00     extras                                                                                                                                                                  | 3.4 kB     00:00     updates                                                                                                                                                                 | 3.4 kB     00:00     base/group_gz                                                                                                                                                           | 216 kB     00:00     Installed Groups:   Additional Development   Compatibility libraries   Development tools   E-mail server   Fonts   General Purpose Desktop   Graphical Administration Tools   Input Methods   Legacy UNIX compatibility   Legacy X Window System compatibility   MySQL Database client   MySQL Database server   Network file system client   Perl Support   PostgreSQL Database client   Security Tools   System administration tools   Web ServerInstalled Language Groups:   Chinese Support [zh]Available Groups:   Backup Client   Backup Server   Base   CIFS file server   Client management tools   Console internet tools   Debugging Tools   <strong><span style="color:#ff0000;">Desktop</span></strong>   Desktop Debugging and Performance Tools   Desktop Platform   Desktop Platform Development   Dial-up Networking Support   Directory Client   Directory Server   Eclipse   Emacs   FCoE Storage Client   FTP server   Graphics Creation Tools   Guest Agents   Hardware monitoring utilities   High Availability   High Availability Management   Identity Management Server   Infiniband Support   Internet Applications   Internet Browser   Java Platform   KDE Desktop   Large Systems Performance   Load Balancer   Mainframe Access   Messaging Client Support   NFS file server   Network Infrastructure Server   Network Storage Server   Networking Tools   Office Suite and Productivity   PHP Support   Performance Tools   PostgreSQL Database server   Print Server   Printing client   Remote Desktop Clients   Resilient Storage   Ruby Support   SNMP Support   Scalable Filesystems   Scientific support   Server Platform   Server Platform Development   Smart card support   Storage Availability Tools   System Management   TeX support   Technical Writing   TurboGears application framework   Virtualization   Virtualization Client   Virtualization Platform   Virtualization Tools   Web Servlet Engine   Web-Based Enterprise Management   <span style="color:#ff0000;"><strong>X Window System</strong></span>   iSCSI Storage ClientAvailable Language Groups:   Afrikaans Support [af]   Albanian Support [sq]   Amazigh Support [ber]   Arabic Support [ar]   Armenian Support [hy]   Assamese Support [as]   Azerbaijani Support [az]   Basque Support [eu]   Belarusian Support [be]   Bengali Support [bn]   Bhutanese Support [dz]   Brazilian Portuguese Support [pt_BR]   Breton Support [br]   Bulgarian Support [bg]   Catalan Support [ca]   Chhattisgarhi Support [hne]   Chichewa Support [ny]   Coptic Support [cop]   Croatian Support [hr]   Czech Support [cs]   Danish Support [da]   Dutch Support [nl]   English (UK) Support [en_GB]   Esperanto Support [eo]   Estonian Support [et]   Ethiopic Support [am]   Faroese Support [fo]   Fijian Support [fj]   Filipino Support [fil]   Finnish Support [fi]   French Support [fr]   Frisian Support [fy]   Friulian Support [fur]   Gaelic Support [gd]   Galician Support [gl]   Georgian Support [ka]   German Support [de]   Greek Support [el]   Gujarati Support [gu]   Hebrew Support [he]   Hiligaynon Support [hil]   Hindi Support [hi]   Hungarian Support [hu]   Icelandic Support [is]   Indonesian Support [id]   Interlingua Support [ia]   Inuktitut Support [iu]   Irish Support [ga]   Italian Support [it]   Japanese Support [ja]   Kannada Support [kn]   Kashmiri Support [ks]   Kashubian Support [csb]   Kazakh Support [kk]   Khmer Support [km]   Kinyarwanda Support [rw]   Konkani Support [kok]   Korean Support [ko]   Kurdish Support [ku]   Lao Support [lo]   Latin Support [la]   Latvian Support [lv]   Lithuanian Support [lt]   Low Saxon Support [nds]   Luxembourgish Support [lb]   Macedonian Support [mk]   Maithili Support [mai]   Malagasy Support [mg]   Malay Support [ms]   Malayalam Support [ml]   Maltese Support [mt]   Manx Support [gv]   Maori Support [mi]   Marathi Support [mr]   Mongolian Support [mn]   Myanmar (Burmese) Support [my]   Nepali Support [ne]   Northern Sotho Support [nso]   Norwegian Support [nb]   Occitan Support [oc]   Oriya Support [or]   Persian Support [fa]   Polish Support [pl]   Portuguese Support [pt]   Punjabi Support [pa]   Romanian Support [ro]   Russian Support [ru]   Sanskrit Support [sa]   Sardinian Support [sc]   Serbian Support [sr]   Sindhi Support [sd]   Sinhala Support [si]   Slovak Support [sk]   Slovenian Support [sl]   Somali Support [so]   Southern Ndebele Support [nr]   Southern Sotho Support [st]   Spanish Support [es]   Swahili Support [sw]   Swati Support [ss]   Swedish Support [sv]   Tagalog Support [tl]   Tajik Support [tg]   Tamil Support [ta]   Telugu Support [te]   Tetum Support [tet]   Thai Support [th]   Tibetan Support [bo]   Tsonga Support [ts]   Tswana Support [tn]   Turkish Support [tr]   Turkmen Support [tk]   Ukrainian Support [uk]   Upper Sorbian Support [hsb]   Urdu Support [ur]   Uzbek Support [uz]   Venda Support [ve]   Vietnamese Support [vi]   Walloon Support [wa]   Welsh Support [cy]   Xhosa Support [xh]   Zulu Support [zu]Done
才发现,没有安装图形管理界面(X Window System,Desktop)


STEP2:用yum命令安装图形管理界面

--X Window System(x org)是图形管理桌面的基础,不管是采用gnome还是kde桌面都必须安装[root@localhost ~]# yum groupinstall "X Window System"
--安装桌面[root@localhost ~]# yum groupinstall "Desktop"Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.cqu.edu.cn * extras: mirrors.cqu.edu.cn * updates: mirrors.cqu.edu.cnSetting up Group ProcessChecking for new repos for mirrorsPackage notification-daemon-0.5.0-1.el6.x86_64 already installed and latest versionPackage metacity-2.28.0-23.el6.x86_64 already installed and latest versionPackage yelp-2.28.1-17.el6_3.x86_64 already installed and latest versionResolving Dependencies--> Running transaction check---> Package NetworkManager.x86_64 1:0.8.1-75.el6 will be installed--> Processing Dependency: ppp = 2.4.5 for package: 1:NetworkManager-0.8.1-75.el6.x86_64--> Processing Dependency: NetworkManager-glib = 1:0.8.1-75.el6 for package: 1:NetworkManager-0.8.1-75.el6.x86_64--> Processing Dependency: wpa_supplicant >= 1:0.6.8-4 for package: 1:NetworkManager-0.8.1-75.el6.x86_64--> Processing Dependency: mobile-broadband-provider-info >= 0.20090602 for package: 1:NetworkManager-0.8.1-75.el6.x86_64…………

--初始化错面[root@localhost ~]# init 5[root@localhost ~]# [root@localhost ~]# startx








0 0
原创粉丝点击