千家信息网

RHEL 6.4操作系统安装方法

发表于:2024-10-17 作者:千家信息网编辑
千家信息网最后更新 2024年10月17日,这篇文章主要介绍"RHEL 6.4操作系统安装方法",在日常操作中,相信很多人在RHEL 6.4操作系统安装方法问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答"RHEL
千家信息网最后更新 2024年10月17日RHEL 6.4操作系统安装方法

这篇文章主要介绍"RHEL 6.4操作系统安装方法",在日常操作中,相信很多人在RHEL 6.4操作系统安装方法问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答"RHEL 6.4操作系统安装方法"的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

1.新建虚拟机

解决方法

如果不支持,点击取消并关闭虚拟机软件。

重新启动电脑,进入 BIOS, 将虚拟机选项打开 (F2 或者Delete键)

不同品牌、型号电脑进入 BIOS 方法、虚拟化选项有所不同

此处分配60G的磁盘空间

OS:Red Hat Enterprise Linux 6.4-64bit

IP:192.168.6.10

hostname:rhel64

root:beijing

oracle:oracle

DB:oracle 11.2.0.4

SID:PROD

sys:oracle

system:oracle

scott:tiger

2. RedHat Enterprise Linux 6.4 64 位系统安装

2.1 启动虚拟机安装

默认第一项按回车 进入图形化安装界面

Skip 跳过安装介质检测

键盘布局 默认 U.S.English

默认第一项 基本存储设备 Next

Yes ,discard any data,丢弃数据

主机名:rhel64

默认是 DHCP 修改手动设置 Manual 配置静态 ip Apply

close -Next,选择 Asia/Shanghai

设置超级用户 root 密码

Use ALL Space,勾选 Review,Use All Space:使用整块硬盘 自动分区

查看操作系统默认分区

修改分区大小 增加/u01

/ 20G

swap 4G

/u01 56G

Format 格式化-Write changes to disk

系统装在本地磁盘/dev/sda

Desktop - Customize now,桌面和软件开发平台默认有图形化

软件包组,

Compatibility libraries 兼容性库,向下兼容,通常装 oracle 必选

语言可以勾选中文支持 登录时输入用户名后可更改语言

检查包依赖关系 开始安装

安装完成重启 reboot

2.2 初始化操作系统

两次 Forward

不注册 No- Register later

不创建用户

2.3.系统安装完成初始配置

配置本地主机名解析/etc/hosts

[root@rhel64 ~]# cat /etc/sysconfig/network

NETWORKING=yes

HOSTNAME=rhel64

GATEWAY=192.168.6.1

禁用防火墙、NetworkManager

[root@rhel64 ~]# chkconfig iptables off

[root@rhel64 ~]# chkconfig NetworkManager off

[root@rhel64 ~]# chkconfig --list iptables

iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off

[root@rhel64 ~]# chkconfig --list NetworkManager

NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off

禁用 selinux

重启验证

[root@rhel64 ~]# reboot

[root@rhel64 ~]# getenforce

[root@rhel64 ~]# service iptabels stastus

[root@rhel64 ~]# service NetworkManager status

配置 yum 软件仓库

[root@rhel64 ~]# mkdir /mnt/dvd

[root@rhel64 ~]# mount /dev/sr0 /mnt/dvd

[root@rhel64 ~]# df -Th

[root@rhel64 ~]# cp /etc/yum.repos.d/rhel-source.repo /etc/yum.repos.d/rhel-source.repo.bak

[root@rhel64 ~]# vi /etc/yum.repos.d/rhel-source.repo

[rhel6.4]

name= rhel6.4

baseurl=file:///mnt/dvd/Server

gpgcheck=0

注解

enabled=1 #这个选项表示这个repo中定义的源是启用的,0为禁用

gpgcheck=1 #这个选项表示这个repo中下载的rpm将进行gpg的校验,已确定rpm包的来源是有效和安全的

验证

[root@rhel64 ~]# yum clean all

[root@rhel64 ~]# yum list

[root@rhel64 ~]# yum install lrzsz

安装 vmware tools

安装前先将挂载的光盘弹出,安装后 方便全屏虚拟机控制台界面以及进行文件传输

[root@rhel64 ~]# cd /media/VMware\ Tools/

[root@ rhel64 VMware Tools]# ll

[root@ rhel64 VMware Tools]# mkdir /tmp/tools

[root@ rhel64 VMware Tools]# tar -xvf VMwareTools-10.0.10-4301679.tar.gz -C /tmp/tools/

[root@ rhel64 ~]# cd /tmp/tools/vmware-tools-distrib/

[root@ rhel64 vmware-tools-distrib]# ll

[root@ rhel64 vmware-tools-distrib]# sh vmware-install.pl

默认回车,安装完成重启验证

到此,关于"RHEL 6.4操作系统安装方法"的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注网站,小编会继续努力为大家带来更多实用的文章!

0