RedHat 6 desktop installation and redhat desktop Installation
1. Configure the virtual optical drive of the yum library Virtualbox to be located in/dev/sr0. Therefore, after loading the RHEL6.5 image to vmware, you can configure the yum Library 1. attach an image [root @ db01 ~] # Mkdir/media/rhel [root @ db01 ~] # Mount-o loop/dev/sr0/media/rhel 2. Enable the image to be automatically mounted at startup and add the following sentence at the bottom of/etc/fstab: [root @ db01 ~] # Vi/etc/fstab/dev/sr0/media/rhel iso9660 ro, loop 0 0 3. do not add the purple part of the new local repo file, as long as the black part is used. [Root @ db01 ~] # Vi/etc/yum. repos. d/local. repo
[Server]
Name = Server
Baseurl = file: // media/rhel/Server
Enabled = 1
Gpgcheck = 0
[HighAvailability]
Name = HighAvailability
Baseurl = file: // media/rhel/HighAvailability
Enabled = 1
Gpgcheck = 0
[LoadBalancer]
Name = LoadBalancer
Baseurl = file: // media/rhel/LoadBalancer
Enabled = 1
Gpgcheck = 0
2. Install the desktop 1. Check the software group to see which software group the desktop is in [root @ db01 ~] # Yum grouplist
Loaded plugins: refresh-packagekit
Setting up Group Process
HighAvailability/group_gz | 4.0 kB...
LoadBalancer/group_gz | 2.1 kB...
Installed Groups:
Additional Development
Base
Console internet tools
Desktop
Desktop Debugging and Performance Tools
Dial-up Networking Support
E-mail server
FCoE Storage Client
FTP server
Fonts
General Purpose Desktop
Graphical Administration Tools
Hardware monitoring utilities
Input Methods
Legacy UNIX compatibility
Legacy X Window System compatibility
NFS file server
Network Infrastructure Server
Network file system client
Networking Tools
Performance Tools
Perl Support
Remote Desktop Clients
Security Tools
Smart card support
Storage Availability Tools
System administration tools
X Window System
ISCSI Storage Client
Installed Language Groups:
Arabic Support [ar]
Armenian Support [hy]
Assamese Support [as]
Bengali Support [bn]
Bhutanese Support [dz]
Chinese Support [zh]
Ethiopic Support [am]
Georgian Support [ka]
Gujarati Support [gu]
Hebrew Support [he]
Hindi Support [hi]
Inuktitut Support [iu]
Japan Support [ja]
Kannada Support [kn]
Khmer Support [km]
Konkani Support [kok]
Korean Support [ko]
Kurdish Support [ku]
Lao Support [lo]
Maithili Support [mai]
Malayalam Support [ml]
Marathi Support [mr]
Myanmar (Burmese) Support [my]
Oriya Support [or]
Punjabi Support [pa]
Sinhala Support [si]
Tajik Support [tg]
Tamil Support [ta]
Telugu Support [te]
Thai Support [th]
Urdu Support [ur]
Venda Support [ve]
Available Groups:
Backup Client
Backup Server
CIFS file server
Client management tools
Compatibility libraries
Debugging Tools
Desktop Platform
Desktop Platform Development
Development tools
Directory Client
Directory Server
Eclipse
Emacs
Enterprise Identity Server Base
Graphics Creation Tools
High Availability
High Availability Management
Infiniband Support
Internet Browser
Java Platform
KDE Desktop
Large Systems Performance
Load Balancer
Mainframe Access
Messaging Client Support
MySQL Database client
MySQL Database server
Network Storage Server
PHP Support
PostgreSQL Database client
PostgreSQL Database server
Print Server
Printing client
SNMP Support
Scientific support
Server Platform
Server Platform Development
Somali Support
System Management
Systems Management Messaging Server support
TeX support
Technical Writing
TurboGears application framework
Virtualization
Virtualization Client
Virtualization Platform
Virtualization Tools
Web Server
Web Servlet Engine
Web-Based Enterprise Management
Available Language Groups:
Afrikaans Support [af]
Albanian Support [sq]
Amazigh Support [ber]
Azerw.jani Support [az]
Basque Support [eu]
Belarusian Support [be]
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]
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]
German Support [de]
Greek Support [el]
Hiligaynon Support [hil]
Hungarian Support [hu]
Icelandic Support [is]
Indonesian Support [id]
Interlingua Support [ia]
Irish Support [ga]
Italian Support [it]
Kashmiri Support [ks]
Kashubian Support [csb]
Kazakh Support [kk]
Kinyarwanda Support [rw]
Latin Support [la]
Latvian Support [lv]
Lithuanian Support [lt]
Low Saxon Support [nds]
Luxembourgish Support [lb]
Macedonian Support [mk]
Malagasy Support [mg]
Malay Support [MS]
Maltese Support [mt]
Manx Support [gv]
Maori Support [mi]
Mongolian Support [mn]
Nepali Support [ne]
Northern Sotho Support [nso]
Norwegian Support [nb]
Occitan Support [oc]
Persian Support [fa]
Polish Support [pl]
Portuguese Support [pt]
Romanian Support [ro]
Russian Support [ru]
Sanskrit Support [sa]
Sardinian Support [SC]
Serbian Support [sr]
Sindhi Support [sd]
Slovak Support [sk]
Slovenian Support [sl]
Southern Ndebele Support [nr]
Southern Sotho Support [st]
Spanish Support [es]
Swahili Support [sw]
Swati Support [ss]
Swedish Support [sv]
Tagalog Support [tl]
Tetum Support [tet]
Tibetan Support [bo]
Tsonga Support [ts]
Tswana Support [tn]
Turkish Support [tr]
Turkmen Support [tk]
Ukrainian Support [uk]
Upper Sorbian Support [hsb]
Uzbek Support [uz]
Vietnamese Support [vi]
Walloon Support [wa]
Welsh Support [cy]
Xhosa Support [xh]
Zulu Support [zu]
Done
2. install the desktop in the software group desktop, which is not the same as rhel5, rhel5 seems to be gnome, so start to install the desktop, however, you must first install the Xwindow software group [root @ db01 ~]. # Yum groupinstall "X Window System"
[Root @ db01 ~] # Yum groupinstall "Desktop"
3. Start X:
First switch to the common user [root @ db01 ~] $ Startx4. change the startup mode. If the startup mode is changed, the command interface will be directly displayed. Therefore, you must change the startup mode to the desktop or command interface [root @ db01 ~]. # Vim/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: 5: initdefault:
Change 3 in the red text above to 5 3 as the command line interface 5 as the X window graphical interface
5. Delete redhat subscription:
Rhel6.1 adds a redhat subscription, Which is useless. You can delete [root @ db01 ~] # Yum remove subtasks *
6. Install the desktop right-click Terminal:
[Root @ db01 ~] # Yum install nautilus-open-terminal