温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

RHEL 6.4操作系统安装方法

发布时间:2021-07-19 09:59:26 来源:亿速云 阅读:169 作者:chen 栏目:互联网科技

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

1.新建虚拟机

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

解决方法

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

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

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

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

此处分配60G的磁盘空间

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

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 启动虚拟机安装

RHEL 6.4操作系统安装方法

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

RHEL 6.4操作系统安装方法

Skip 跳过安装介质检测

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

键盘布局 默认 U.S.English

RHEL 6.4操作系统安装方法

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

RHEL 6.4操作系统安装方法

Yes ,discard any data,丢弃数据

RHEL 6.4操作系统安装方法

主机名:rhel64

RHEL 6.4操作系统安装方法

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

RHEL 6.4操作系统安装方法

close -Next,选择 Asia/Shanghai

RHEL 6.4操作系统安装方法

设置超级用户 root 密码

RHEL 6.4操作系统安装方法

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

RHEL 6.4操作系统安装方法

查看操作系统默认分区

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

修改分区大小 增加/u01

RHEL 6.4操作系统安装方法

/ 20G

swap 4G

/u01 56G

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

Format 格式化-Write changes to disk

RHEL 6.4操作系统安装方法

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

RHEL 6.4操作系统安装方法

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

RHEL 6.4操作系统安装方法

软件包组,

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

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

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

RHEL 6.4操作系统安装方法

检查包依赖关系 开始安装

RHEL 6.4操作系统安装方法

安装完成重启 reboot

RHEL 6.4操作系统安装方法

2.2 初始化操作系统

两次 Forward

不注册 No- Register later

RHEL 6.4操作系统安装方法

不创建用户

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

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

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

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

NETWORKING=yes

HOSTNAME=rhel64

GATEWAY=192.168.6.1

RHEL 6.4操作系统安装方法

禁用防火墙、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

RHEL 6.4操作系统安装方法

重启验证

[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

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

RHEL 6.4操作系统安装方法

RHEL 6.4操作系统安装方法

[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操作系统安装方法”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI