VirtualBox——一个不错的X86下的虚拟机

本文推荐使用VirtualBox而非VMWare Server,因其体积更小且运行速度更快。VirtualBox支持使用VMWare生成的磁盘文件,无需重新安装虚拟机。此外,其许可协议允许个人、教育及评估目的使用。

http://www.virtualbox.org/

I recommend to use VirtualBox instead of VMWare Server, because it's smaller and faster.

BTW, it can use the disk files generated by VMWare, so you don't need to reinstall your VM.

It's license allow us to use it on our laptop: ......2 Grant of license.

(1) Sun grants you a personal right to install and execute the Product on a Host Computer for Personal Use or Educational Use or for Evaluation. “Personal Use” requires that you use the product on the same Host Computer where you installed it yourself and that no more than one client connect to that Host Computer at a time for the purpose of displaying Guest Computers remotely.

(2) “Educational use” is any use in an academic institution (schools, colleges and universities, by teachers and students). “Evaluation” means testing the product for a reasonable period (that is, normally for a few weeks); after expiry of that term, you are no longer permitted to evaluate the Product.

### 如何在 VirtualBox 中安装 CentOS 7 虚拟机 #### 准备工作 为了顺利安装CentOS 7,在开始之前需确认已准备好如下事项: - **操作系统环境**:确保主机运行的是支持的Windows版本,例如Windows 11[^1]。 - **VirtualBox软件**:如果尚未安装Oracle VM VirtualBox,则应从官方网站获取最新版并完成安装过程。推荐使用的版本为VirtualBox-7.0.12-159484,可将其放置于`D:\software\`目录下。 #### 创建新的虚拟机实例 当一切就绪之后,按照下面的操作来启动创建流程: - 打开已经安装好的Oracle VM VirtualBox程序。 - 在主界面点击“新建”,这会引导进入向导模式用于配置新虚拟机的各项参数[^3]。 #### 配置虚拟硬件资源 对于大多数应用场景来说,默认设置通常能满足需求,但对于特定情况可能需要调整一些选项以优化性能表现: - 分配足够的内存(RAM),建议至少分配2GB以上给CentOS 7以便流畅运行服务端应用[^4]。 - 设置硬盘空间大小及类型,初次使用可以选择动态扩展磁盘文件(.vdi),初始容量设为20GB左右即可满足基本测试用途。 #### 加载ISO映像文件作为光驱介质 为了让虚拟机能识别到待安装系统的源码包(CentOS ISO): - 访问阿里云镜像站下载适用于x86架构的官方稳定发行版——CentOS-7-x86_64-DVD-2009.iso,并保存至本地存储位置如`E:\virtual\`。 - 返回VirtualBox控制台内选中刚建立的目标VM对象,通过菜单栏下的【存储】标签页指定上述ISO路径加载入虚拟CD/DVD驱动器设备列表里。 #### 开始安装进程 现在万事俱备只欠东风了! - 启动目标虚拟机后即刻触发GRUB引导装载程序自动读取来自外部媒介的数据流从而正式开启图形化安装界面[^5]。 ```bash # 进入安装后的初步命令行操作示例 sudo yum update -y && sudo reboot ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值