携手创作,共同成长!这是我参与「掘金日新计划 · 8 月更文挑战」的第44天,点击查看活动详情
📢📢📢📣📣📣
哈喽!大家好,我是【IT邦德】,江湖人称jeames007,10年DBA工作经验
中国DBA联盟(ACDU)成员,目前从事DBA及程序编程😜😜😜
擅长Oracle、MySQL、PG 运维开发,备份恢复,安装迁移,性能优化、故障应急处理。
❤️❤️❤️感谢各位大可爱小可爱!❤️❤️❤️
前言
本文讲解了RHEL 6.4 操作系统安装1.新建虚拟机
解决方法
如果不支持,点击取消并关闭虚拟机软件。
重新启动电脑,进入 BIOS,将虚拟机选项打开(F2 或者Delete键)
不同品牌、型号电脑进入 BIOS 方法、虚拟化选项有所不同
2.RedHat Enterprise Linux 6.4 64 位系统安装
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
默认回车,安装完成重启验证