RedHat Enterprise 5.4 使用笔记

公司用RedHat Enterprise 5.4,只好自己建个虚拟机了。

宿主机是ubuntu gnome 16.04,VMware版本是12。

创建虚拟机和安装RedHat的过程略去

【1】使用安装DVD作为软件源。

参考这篇文章 http://www.cnblogs.com/chinacloud/archive/2010/11/25/1887588.html

【1.1】在/etc/fstab里增加下面一行(设备文件名可能不同),启动后自动挂载光盘到/mnt/cdrom,而不是自动根据卷标挂载,重启后生效。

/dev/scd0               /mnt/cdrom              auto    defaults        0 0 

【1.2】创建文件/etc/yun.repo.d/cdrom.repo,内容如下:

[Cluster]
name=Red Hat Enterprise Linux $releasever - $basearch - Cluster
baseurl= file:///mnt/cdrom/Cluster
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[ClusterStorage]
name=Red Hat Enterprise Linux $releasever - $basearch - ClusterStorage
baseurl= file:///mnt/cdrom/ClusterStorage
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[Server]
name=Red Hat Enterprise Linux $releasever - $basearch - Server
baseurl= file:///mnt/cdrom/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[VT]
name=Red Hat Enterprise Linux $releasever - $basearch - VT
baseurl= file:///mnt/cdrom/VT
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

【1.3】清空yum缓存

yum clean all

【1.4】安装一个软件试试吧

yum install vim

【2】设置nautilus

nautilus是RedHat AS 5的文件管理器,默认没有左侧的树列表,双击打开文件会打开一个新的窗口。

在任意的nautilus窗口中,edit->preferences,打开属性窗口,切换到behavior选项卡上,选中always open in browser windows,打开新的窗口就生效。

设置后的窗口左侧下拉列表框还可以选择左侧显示的内容,比如places和tree。

【3】文本模式启动

修改/etc/inittab

id:3:initdefault:
时间: 2024-08-10 00:04:25

RedHat Enterprise 5.4 使用笔记的相关文章

Linux学习笔记之RedHat Enterprise Linux 6.4 使用 Centos 6 的yum源问题

作为一名新手,学习Linux已经一个月了,其间遇到了不少问题,而今天笔者遇到的问题是 #yum install pam-devel #This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Setting up Install ProcessNothing to do 经过一个上午的研究发现,其实如果使用redhat的yum源需注册

RedHat Enterprise Linux 6.4使用Centos 6的yum源问题

RedHat Enterprise Linux 6.4使用Centos 6的yum源问题 作为一名新手,学习Linux已经一个月了,其间遇到了不少问题,而今天笔者遇到的问题是 #yum install pam-devel #This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Install Process

(转载)RedHat Enterprise Linux 5 安装GCC

注:在RedHat Enterprise Linux 5使用gcc编译第一个程序时,发现其gcc并未安装.在网上搜索看到这篇帖子.遂转到此处进行学习.感谢博客园中的"风尘孤客"的分享.@风尘孤客 Abstraction Red Hat Enterprise 5默认是不安装gcc的,需要自己手动安装.gcc所需要的包都可以在安装光盘上找到,至于最新的gcc可以在 http://gcc.gnu.org/ 下载,但是是以源码的形式压缩的,需要对其进行编译. Solution 1.插入安装盘,

RHEL(RedHat Enterprise Linux)5/6 ISO镜像下载

本文贴出了RHEL(RedHat Enterprise Linux)发行版本中常用的服务器版本的ISO镜像文件,供大家下载学习使用,贴出的版本有RedHat Enterprise Linux(RHEL)5.4/5.5/5.8/6.0/6.3 ISO镜像文件下载地址:RHEL 5.4 ISO下载 http://rhel.ieesee.net/uingei/rhel-server-5.4-i386-dvd.iso http://rhel.ieesee.net/uingei/rhel-server-5

【转】RHEL(RedHat Enterprise Linux)5/6 ISO镜像下载

本文贴出了RHEL(RedHat Enterprise Linux)发行版本中常用的服务器版本的ISO镜像文件,供大家下载学习使用,贴出的版本有RedHat Enterprise Linux(RHEL)5.4/5.5/5.8/6.0/6.3 ISO镜像文件下载地址: RHEL 5.4 ISO下载http://rhel.ieesee.net/uingei/rhel-server-5.4-i386-dvd.isohttp://rhel.ieesee.net/uingei/rhel-server-5.

RedHat Enterprise Linux 7t简介

我这里列举一部分程序员可能比较感兴趣的地方. 1. 系统架构 RedHat Enterprise Linux 7.0 支持更多的CPU,内核和内存.只有64位硬件支持RedHat Enterprise Linux 7.0安装. 2. 安装和引导工具 RedHat Enterprise Linux 7.0已重新设计并改进了安装程序Anaconda,以便改进RedHat Enterprise Linux 7.0的安装过程.另外,它使用新的引导装载程序GRUB2,该程序比其前任GRUB更具鲁棒性,更方

RedHat Enterprise版本搭建本地Yum库

RedHat  Enterprise版本目前广泛的应用在各种生产环境中.由于没有购买正式的授权,导致无法正常使用yum安装,或者由于网络限制也导致无法使用Yum安装.而手动安装rpm包又会引来很多依赖关系的问题.故有时我们需要创建本地yum库.本文介绍创建本地yum库的方法.测试环境: RedHat Enterprise 6.4和RedHat Enterprise 6.5 步骤如下:(1)将系统安装光盘挂载到系统中 mount /dev/cdrom /mnt/(2)cd /mnt/Package

RedHat Enterprise Linux 5.8 升级openssl

RedHat Enterprise Linux 5.8升级openssl,遇到以下问题,做下标记: 由于之前安装RedHat Enterprise Linux 5.8 时候只安装了服务器环境,没有安装开发环境导致服务器无法编译代码 只好重新安装 gcc 了. 首先想到的是 用 yum 来安装 运行: yum -y install gcc gcc-c++ 提示 this system is not registered with RHN... 您的系统没有在红帽网络上注册... 挂载DVD镜像:

[转载]Redhat Enterprise 6.1 如何使用免费的CentOS的yum源

Redhat Enterprise 6.1 如何使用免费的CentOS的yum源 graybull posted @ 2013年2月18日 22:29 in Unix/Linux with tags centos free redhat Source yum , 3938 阅读 Redhat Enterprise Linux 6.1 x86_64 使用官方yum源是需要收费的,本文将讲解如何使用免费的CentOS的yum源来安装/更新软件.分成以下几步: 卸载已有的yum 下载CentOS的yu