linux红帽5.8安装包,LINUX-redhat enterprise 5.8桌面安装

本文介绍了如何在Linux Red Hat 5.8上安装图形界面。首先挂载安装光盘,然后通过编辑yum配置文件`/etc/yum.repos.d/rhel-source.repo`,启用本地DVD源。接着,使用`yum groupinstall`安装"X Windows system"和"Desktop"两个包来获取图形界面。最后,创建新用户并调整默认运行级别为5以启动X Window图形界面。
摘要由CSDN通过智能技术生成

先把安装光盘mount到系统中。

如果安装映像mount到/mnt/DVD目录下

[ncapp@nrb-ncapp-p01 ~]$ mount -l

/dev/mapper/vg_nrbncappp01-LogVol00 on / type ext4 (rw)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

devpts on /dev/pts type devpts (rw,gid=5,mode=620)

tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")

/dev/sda1 on /boot type ext4 (rw)

/dev/mapper/vg_nrbncappp01-LogVol02 on /home type ext4 (rw)

none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

/dev/sr0 on /media/RHEL-6.8 Server.x86_64 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=0,gid=0,iocharset=utf8,mode=0400,dmode=0500) [RHEL-6.8 Server.x86_64]

/dev/sr0 on /mnt/DVD type iso9660 (ro) [RHEL-6.8 Server.x86_64]

本文主要是通过yum安装,所以需要修收配置文件, 通过vi /etc/yum.repos.d/rhel-source.repo,增加红色部分代码。

[ncapp@nrb-ncapp-p01 etc]$ cd yum.repos.d/

[ncapp@nrb-ncapp-p01 yum.repos.d]$ ls

packagekit-media.repo  redhat.repo  rhel-source.repo

[ncapp@nrb-ncapp-p01 yum.repos.d]$ cat rhel-source.repo

[local]

name=local

baseurl=file:///mnt/DVD

enabled=1

gpgcheck=0

[rhel-source]

name=Red Hat Enterprise Linux $releasever - $basearch - Source

baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/

enabled=0

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-source-beta]

name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source

baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/SRPMS/

enabled=0

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[nca

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值