前言
安裝 RedHat Enterprise Linux 6.4 64 位 可以在安裝 linux 系統之前,規劃好磁盤分區情況 建立虛拟機時配置設定足夠大的磁盤空間,安裝系統時直接分區,增加/u01 分區
連結:https://pan.baidu.com/s/18eJKvDWqsvDyLyTZywy10Q
提取碼:sjes
1.建立虛拟機
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiI0gTMx81dsQWZ4lmZf1GLlpXazVmcvwFciV2dsQXYtJ3bm9CX9s2RkBnVHFmb1clWvB3MaVnRtp1XlBXe0xCMy81dvRWYoNHLwEzX5xCMx8FesU2cfdGLwMzX0xiRGZkRGZ0Xy9GbvNGLpZTY1EmMZVDUSFTU4VFRR9Fd4VGdsYTMfVmepNHLrJXYtJXZ0F2dvwVZnFWbp1zczV2YvJHctM3cv1Ce-cmbw5COwMDN3MzN2EDNwATOycTNzYzXyMDOwgDM1IzLcBTMyIDMy8CXn9Gbi9CXzV2Zh1WavwVbvNmLvR3YxUjLyM3Lc9CX6MHc0RHaiojIsJye.png)
解決方法
如果不支援,點選取消并關閉虛拟機軟體。
重新啟動電腦,進入 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
[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