VMware 14.x环境下安装Ubuntu18.04,并实现Windows和Linux文件共享【图文教程】
对于文章开头有如下说明和指引:
1.下载Windows版本的VMware Workstation 14.1.2 Pro软件,如果链接失效,请自己搜索。
Download VMware Workstation 14.1.2 Pro for Windows, If the link fails, search for it yourself.
2.下载Ubuntu 18.04.1 LTS软件,如果链接失效,请自己搜索。
Download Ubuntu 18.04.1 LTS, If the link fails, search for it yourself.
3.安装VMware Workstation的操作在文中忽略
The process of Installing of VMware Workstation will be ignored.
4.Windows操作系统是win 10.
The operating system is Windows 10.
1.打开VMware Workstation主界面,选择创新进的虚拟机。如下图所示。
Open the home page of VMware Workstation, and chose “Create a new VMware”. As shown below.
2.点击“创建新的虚拟机”之后,我们选择自定义(高级),方便我们在后续的流程中按照自己的环境需求进行设置,接着点击“下一步”。
After click “Create a new VMware”, chose “Custom (Advanced)”. We are able to set some environments according to the needing by the selection. Click “Next”.
3.如下界面,默认配置,直接点击“下一步”。
In the following interface, Click “Next” directly with the default configuration.
4.这一步,选择“稍后安装操作系统”。点击“下一步”。
This step, select ”Install the operating system later”. Click “Next”.
5.因为现在的Linux基本上都是64位机器,并且选择的安装ISO文件时64位的,所以选择Linux版本为“Ubuntu 64位”,然后点击“下一步”。
Because now Linux version are 64-bit machine basically, and the installed IOS file is 64-bit, so select the version “Ubuntu 64-bit”, with that click “Next”.
6.在这里,需要设置虚拟机名称和安装路径,这的虚拟机指的是Ubuntu,设置好之后进入“下一步”。
Here, the name and installing path of Ubuntu should be set. After setting, go to the next step.
7.在这一步,任何一个使用者都需要结合自己的Windows系统的配置进行选择处理器数量及其内核数量,本人结合自己的Windows选择如下。设置好之后,点击“下一步”。
Here,the choices of the number of processor and kernel are in combination with Windows configuration. The following what I choose by mine. After setting, click “Next”.
8.现在,操作系统内存普遍在4G以上的配置,建议选择2G或是2G以上。设置好之后,点击“下一步”。
Now,the memory of operating system is generally 4G or above 4G. Here, I suggest that 2G or more. After setting, click “Next”.
9.在这一步,选择默认的“使用网络地址转换(NAT) (E)”,点击“下一步”。
Here,choose the default “Use network address translation (NAT) (E)”. After setting, click “Next”.
10.在这一步,选择默认推荐的“LSI logic(L)”,点击“下一步”。
Here,choose the default recommendation value “ LSI logic (L)”, and click “Next”.
11.和上一步一样,选择默认推荐的“SCSI(S)”,点击“下一步”。
Be same as the ,choose the default recommendation value “ SCSI logic (S)”, and click “Next”.
12.这一步,选择“创建新虚拟磁盘”,方便自定义。点击“下一步”。
In this step,choose “ Create a new virtual disk”, what is convenient for custom. After setting, click “Next”.
13.如下图,我们需要设定新建磁盘的容量和拆分磁盘。每个用户结合自己的硬件环境进行磁盘容量的分配,建议不要立即分配磁盘空间。但是,是否拆分磁盘自己决定。我分配了60G的磁盘容量,并且选择将磁盘拆分多个文件。设定后,点击“下一步”。
In the following picture,the capacity and splitting of new disk need be set. Here, allocation not be advised, whether split the disk, everyone does it by oneself. I give 60G capacity and split multiple files. After setting, click “Next”.
14.在这一步,选择默认,点击“下一步”。
Here,choose the default value, and click “Next”.
15.在这一步,确认设置信息无误,点击“完成”。
Here,confirm the info. are all right, and click “Finish”.
16.接下来设置Ubuntu源文件连接,如下所示点击“编辑虚拟机设置”,选择文件之后点击“确认”
The following step, link the source fie of Ubuntu. As shown below, click “Edit VMware Setting”,and choose the IOS file. After that click “Affirm”.
17.点击“开启此虚拟机”,进入Ubuntu的安装界面。
Click “Power on the VMware”, go to the interface of installing of Ubuntu.
18.如下图“welcom”界面,建议默认语言为“English”,接着点击“Install Ubuntu”。
Here, advised “English”, click “Install Ubuntu”.
19.设置键盘输入法,这里默认,直接点击“Continue”。
Set Keyboard layout, here is default. Click “Continue” directly.
20.为了快速的安装Ubuntu,这里只选择第一个,其他的安装完成之后可以进行处理。点击“Continue”。
For the quick installing of Ubuntu, only choose the first option, do others after installation. Click “Continue” directly.
21.这里选择“Something else”,自定义拆分磁盘。
Choose “Something else” for user-defined of disk splitting.
22.选择“New Partition Table…”,点击“Continue”进入分盘界面。
Choose “New Partition Table…” and click “Continue”, go to the interface of partition.
23.选定“free space”,按左下方的“+”符号进行磁盘分配,这里的拆分细节分配做了覆盖处理,避免误导。完成之后点击“Install Now”。
Choose “free space”, click the symbal “+”in the left bottom to split disk. Here the detail is covered, avoid misleading. After setting, click “Install Now”.
Ubuntu splitting reference:
Primary Partion: / 10G-20G ext4. Root
Logic Partion: swap <2048M swap. Swap space
Logic Partion: /boot 200M ext4. Including the files of Linux kernel and Boot system program, such as: vmlinuz, initrd.img and so on. Generally, the System boot manager of GRUB or LILO also in.
Logic Partion: /home Remain space ext4. For user.
24.选择区域之后,点击“Continue”。
After choose the region, click “Continue”.
25.填写用户相关信息,之后点击“Continue”,进入安装阶段……,此刻可以喝着咖啡休息一下。
Fill in the table with custom info., and click “Continue”, the next step is installing…, and taking a coffee break!
26.安装完成之后,系统进入Linux 窗口,如下图所示。
All done, the system goes to Linux windows, as the following shown.
以上就是安装配置的整个过程,下面设置Windows和Linux直接的文件共享。
27.退出Linux系统。
Exit the system of Linux.
28.点击“编辑虚拟机设置”。按照下图的箭头指向,依次进行设置,最后点击“下一步”。
Please click “Edit VMware Setting”, according the arrow to set, click “Next” lastly.
29.点击“浏览”添加共享的文件夹路径,并命名合适文件夹,名称(在Ubuntu中显示)。
Click “Browser”, add the shared folder’s path, and named(the name is display in Ubuntu).
30.在这一步,确定在windows系统中需要被共享的文件夹。
In this step, choose the shared folder in Windows system.
31.选择“启用此共享”,点击“完成”。
Choose “Enabling Shared” and click “Finish”.
32.确认设置信息无误,点击“确定”。
Confirm the settings info. all right, click “Confirm”.
33.点击“开启此虚拟机”,重启Ubuntu。
Click “Power on the VMware”, restart Ubuntu.
34.在ubuntu中使用。命令“cd /mnt/hgfs/”和“ls”查看设置结果。显示如下图所示,确认设置成功。
Come in Ubuntu,use the instruction “cd /mnt/hgfs/” and “ls” check the result of setting. As the following display, confirm all setting are successful.
至此,感谢您的访问支持!O(∩_∩)O
不错