RedHat 6 桌面安装

一、配置yum库

Virtualbox下的虚拟光驱位于/dev/sr0,所以,向vmware加载RHEL6.5的镜像后,就可以配置yum库了

1.挂载镜像

[[email protected] ~]#  mkdir /media/rhel

[[email protected] ~]#  mount -o loop /dev/sr0 /media/rhel

2.使镜像能开机自动挂载

在/etc/fstab的最下面添加下面一句

[[email protected] ~]#  vi /etc/fstab

/dev/sr0                /media/rhel            iso9660       ro,loop         0 0

3.新建一个本地repo文件

紫色的部分可以不要添加,只要黑体那部分就行了。

[[email protected] ~]#  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

二、安装桌面

1.检查软件组

查看一下桌面在哪个软件组里

[[email protected] ~]#  yum grouplist

Loaded plugins: refresh-packagekit

Setting up Group Process

HighAvailability/group_gz                                | 4.0 kB     00:00 ...

LoadBalancer/group_gz                                    | 2.1 kB     00:00 ...

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]

Japanese 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]

Azerbaijani 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.安装桌面

桌面在软件组desktop中,这和rhel5不太一样,rhel5里面好像为gnome

那么就开始安装桌面吧,但之前必须先安装Xwindow软件组

[[email protected] ~]# yum groupinstall “X Window System”

[[email protected] ~]# yum groupinstall “Desktop”

3.启动X:

首先切换到普通用户

[[email protected] ~] $ startx

4.更改启动模式

这时如果重启的话还是会直接进入命令界面,所以必须调整开机进入桌面还是命令界面

[[email protected] ~]#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:

将上面红字部分的  3改成5

3为命令行界面   5为X window图形界面

5.删除redhat订阅:

rhel6.1新增了一个redhat订阅,没有用,可以删除

[[email protected] ~]# yum remove subscription*

6.安装桌面右键终端:

[[email protected] ~]# yum install nautilus-open-terminal

时间: 2024-10-16 05:51:20

RedHat 6 桌面安装的相关文章

虚拟化实践:云桌面安装

测试环境的介绍 VMware View 的体系结构由最基本的四部分构成,分别是 View connect server,连接客户端,进行用户身份验证,并定向请求桌面资源,同时提供一些管理功能. Active Dictionary服务器,提供windows的域管理,用于支持VMware View的身份管理和认证. View Agent, 安装在提供桌面资源的机器上,协助实现会话.远程登录.重定向等工作. View Client,客户运行Client连接View桌面,每个OS及平台都有相应的Clie

Redhat下Mysql安装配置

环境信息 ------------------------------------------------------------ RHEL 6 -x86_64 yum(如未安装yum,请先安装yum,参考:安装及源配置) ------------------------------------------------------------ 安装mysql yum搜索mysql yum search mysql 搜索结果如下 MySQL-python.x86_64 : An interface

Redhat下Nginx安装配置

1.下载Nginx curl -O http://nginx.org/download/nginx-1.7.3.tar.gz -o /home/tango 2.安装Nginx 解压 tar -zxvf /home/tango/nginx-1.7.3.tar.gz /home/tango/nginx-1.7.3-setup 准备依赖 yum install pcre-devel yum install openssl-devel 编译,进入/home/tango/nginx-1.7.3-setup

redhat 6.4 安装VirtualBox自动增强功能功:unable to find the sources of your current Linux kernel

redhat 6.4 安装VirtualBox自动增强功能功能的时候提示: building the main Guest Additions module FAILED unable to find the sources of your current Linux kernel. Specify KERN_DIR-<directory> and run Make again 这个时候需要检测gcc make kernel-level kernel-header 等文件是否安装.具体使用如下

Redhat下Tomcat安装配置

1.下载Tomcat的tar.gz包(tomcat依赖java环境,如未装JDK需先安装JDK) curl -O http://mirrors.cnnic.cn/apache/tomcat/tomcat-6/v6.0.41/bin/apache-tomcat-6.0.41.tar.gz 2.解压缩tar.gz mkdir /usr/local/server tar -zxvf apache-tomcat-6.0.41.tar.gz -C /usr/local/server 3.测试Tomcat运

redhat下mysql安装与使用

1.安装 (1)查看是否安装 yum list installed mysql* (2)查看现有安装包 yum list mysql* (3)安装mysql服务器端 yum install mysql-dev yum install mysql-server (4)安装mysql客户端(可选) yum install mysql 2.配置 (1)设置默认字符和引擎 vim /etc/my.cnf 在[mysqld]下添加 default-character-set=utf8 default-st

redhat 6.5安装Solr

redhat 6.5 安装solr 安装环境的准备:jdk,tomcat # cat /etc/issue Red Hat Enterprise Linux Server release 6.5 (Santiago) Kernel \r on an \m vim /etc/profile.d/java.sh PATH=${PATH}:/usr/local/jdk1.8.0_101/bin # java -version java version "1.8.0_101" Java(TM)

RedHat 7 静默安装Oracle 12c

之前在网上看了很多Oracle的静默安装教程,感觉有些乱,经过自己查阅Oracle官网英文手册,结合在虚拟机中安装测试,整理出了这篇RedHat 7 静默安装Oracle 12c.redhat 6静默安装Oracle 11g R2也已基本整理好了,等有时间了再发出来. 本文原始出处:江健龙的技术博客http://jiangjianlong.blog.51cto.com/3735273/1792451 一.环境要求与准备 1.硬件要求 (1)磁盘空间 EnterpriseEdition : 6.4

redhat centos 软件安装 卸载 区别

redhat centos 软件安装 一.安装方式: 1.源码安装:(源码建议放在/usr/local/src,如:/usr/local/src/php7) (1)配置:./configure:./configure --prefix=绝对路径(需在源码目录中执行. 指定安装位置,  如:./configure --prefix=/usr/local/php7) (2)编译:make (3)安装: make install (4)启动服务:查看源码目录中的 INSTALL 文件,可知启动命令 (