Home php教程 PHP开发 虚拟机上安装linux系统详解

虚拟机上安装linux系统详解

Jun 07, 2016 pm 05:23 PM
centos linux vmware

VMware是一个虚拟PC的软件,可以在现在的操作系统上虚拟出一个新的硬件环境,相当于模拟出一台新的PC,以此来实现在一台机器上真正同时运行两个独立的操作系统。我们可以在虚拟机上安装各种操作系统,如Windowx、Linux等。


虚拟机能做什么?

你果你还在花心思去研究如何安装双系统,还不如安装虚拟机,然后在虚拟机上安装你想要安装的系统。

如果你要玩游戏,但担心系统崩溃了,那么你可以把游戏安装在虚拟机上,以减少麻烦。

如果你要学习linux知识,我觉得在虚拟机上安装linux系统是不错的选择。--呵呵,我也是在这样的背景下安装虚拟机的。


下面是我整理的安装VMware-workstation和linux CentOS-5.5-i386-bin-DVD的笔记。


安装前准备

为了确保软件安装能顺利完成,避免软件的版本差异造成的错误,我把要安装的软件都放出来,自己去下载吧。

虚拟机软件:VMware-workstation-full-9.0.0-812388.exe


下载地址:http://w3note.com/read/138.html


Linux镜像文件:CentOS-5.5-i386-bin-DVD.iso 


下载地址:http://w3note.com/read/139.html


温馨提示:上面的软件下载一般不会有问题,但有时百度网盘会自动取消分享链接,如果遇到这种情况,只要到网志博客留言告知,我将重新创下载链接。


VMware安装


对于VMware的安装似乎没什么可讲的,一路点击下一步就可以了。


Linux-CentOS 操作系统安装

前面,已经完成了VMware的安装安装,在此基础上运行VMware。

进入VMware Workstation主页,点击“新建虚拟机”,弹出新建虚拟机向导,选择“选择标准”,然后下一步。


因为我是用镜像文件安装,所以这里选择安装盘镜像文件,通过浏览找到镜像文件,如D:\Cent05-5.5\CentOS-5.5-i386-bin-DVD.iso 


下一步,进入easy install信息,这里根据自己的情况填写,下面是我填写的信息

 

easy install

完整名称 Cent05-5.5

用户名w3note2014

密码abc123456


注:这里需要注意的是用户名和密码尽量设置得复杂一此,不然会弹出设备过于简单相关信息。


下一步,命名虚拟机

Cent05-5.5(如果安装多个虚拟系统,这里要唯一,以免搞混)

D:\Cent05-5.5(镜像文件安装目录,如果需要备份,直接复制就可以了)


下一步,指定磁盘容量,这里我选默认空间20G,如果你的硬盘大,也可以设置得更大一点。


下一步,将显选前面设置的安装信息,如果你要修改,这里可以重新设置。没有问题的话就点击完成。


虚拟系统进入安装程序,这和在一台电脑上安装Cent05-5.5一样的,没有什么区别。在自动安装过程中,会弹出一个会话框,问是否检测镜像文件的完整性,是选择OK,否就选择Skip,这里选择Skip就可以了。


然后进入CentOS的安装窗口界面,点击Next


进入语言选择界面,这里选择简体中文,然后进行下一步,选择安装CentOS。


下一步,然后会弹出一个警告--关于删除Linux分区...点击是,然后进入下一步,


这里选择“建立自定义的分区结构”,点击下一步,然后进入硬盘的分区界面,这里是CentOS安装的重点,所下图所示

虚拟机上安装linux系统详解虚拟机上安装linux系统详解

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1266
29
C# Tutorial
1239
24
Linux Architecture: Unveiling the 5 Basic Components Linux Architecture: Unveiling the 5 Basic Components Apr 20, 2025 am 12:04 AM

The five basic components of the Linux system are: 1. Kernel, 2. System library, 3. System utilities, 4. Graphical user interface, 5. Applications. The kernel manages hardware resources, the system library provides precompiled functions, system utilities are used for system management, the GUI provides visual interaction, and applications use these components to implement functions.

How to check the warehouse address of git How to check the warehouse address of git Apr 17, 2025 pm 01:54 PM

To view the Git repository address, perform the following steps: 1. Open the command line and navigate to the repository directory; 2. Run the "git remote -v" command; 3. View the repository name in the output and its corresponding address.

How to run java code in notepad How to run java code in notepad Apr 16, 2025 pm 07:39 PM

Although Notepad cannot run Java code directly, it can be achieved by using other tools: using the command line compiler (javac) to generate a bytecode file (filename.class). Use the Java interpreter (java) to interpret bytecode, execute the code, and output the result.

What is the main purpose of Linux? What is the main purpose of Linux? Apr 16, 2025 am 12:19 AM

The main uses of Linux include: 1. Server operating system, 2. Embedded system, 3. Desktop operating system, 4. Development and testing environment. Linux excels in these areas, providing stability, security and efficient development tools.

How to run sublime after writing the code How to run sublime after writing the code Apr 16, 2025 am 08:51 AM

There are six ways to run code in Sublime: through hotkeys, menus, build systems, command lines, set default build systems, and custom build commands, and run individual files/projects by right-clicking on projects/files. The build system availability depends on the installation of Sublime Text.

laravel installation code laravel installation code Apr 18, 2025 pm 12:30 PM

To install Laravel, follow these steps in sequence: Install Composer (for macOS/Linux and Windows) Install Laravel Installer Create a new project Start Service Access Application (URL: http://127.0.0.1:8000) Set up the database connection (if required)

git software installation git software installation Apr 17, 2025 am 11:57 AM

Installing Git software includes the following steps: Download the installation package and run the installation package to verify the installation configuration Git installation Git Bash (Windows only)

How to set important Git configuration global properties How to set important Git configuration global properties Apr 17, 2025 pm 12:21 PM

There are many ways to customize a development environment, but the global Git configuration file is one that is most likely to be used for custom settings such as usernames, emails, preferred text editors, and remote branches. Here are the key things you need to know about global Git configuration files.

See all articles