virtualbox中给redhat安装增强功能


关于虚拟机中安装redhat请参考其他教程:

1.点击虚拟机菜单:设备--安装增强功能....



2.ssh连接到redhat,执行以下操作:

[root@rhel-server ~]# mount /dev/cdrom /mnt/
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@rhel-server ~]# cd /mnt/
[root@rhel-server mnt]# ls
32Bit autorun.sh runasroot.sh VBoxSolarisAdditions.pkg VBoxWindowsAdditions-x86.exe
64Bit cert TRANS.TBL VBoxWindowsAdditions-amd64.exe
AUTORUN.INF OS2 VBoxLinuxAdditions.run VBoxWindowsAdditions.exe
[root@rhel-server mnt]# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.4 Guest Additions for Linux........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Starting.
You may need to restart the Window System (or just restart the guest system)
to enable the Guest Additions.


安装结束,重启即可

[root@rhel-server mnt]# reboot







posted @ 2018-03-13 17:04  一锤子技术员  阅读(38)  评论(0编辑  收藏  举报  来源