Recently changed the computer, want to install a Linux system, but also do not want to install a dual system on the machine, chose to install virtual machine. This time, I chose to install Ubuntu 16.04.6. At the end of this article, I will attach the url of the common 16.04 and 18.04 Ubuntu image source download. This document records the vm loading process and subsequent configuration.

Download of VMWare Fusion

VMware Fusion is VMware’s virtual machine manager for Macintosh computers. Used to manage the VM environment. This time I chose version 11.5.1 – download address. Serial number query Baidu can.

Install Ubuntu

Open VMWare Fusion and click Create New Environment. Select Create custom VM installation. The image installation at the top is not selected because I failed to install VMware Tools after the first time USING this method after trying various methods.



















Note: For the subsequent installation of the language environment, please choose the default English mode, not simplified Chinese mode.
Baidu encyclopedia










3. Ubuntu image source Settings

Here are two ways. First way: Click the Settings button in the upper right to go to System Settings… Select Software&Updates in the system bar, set Others as Chinese in the Downloads image source, and click Select Best Server on the right. Wait for the system test to Select the Best node, and then update it according to the following steps. The second way: refer to tsinghua University open source software image source. Change the configuration file to the image source of Tsinghua University according to the requirements and version number.

Iv. VMWare Tools installation

At this point, Ubuntu is installed. However, if you want to enable file sharing between the machine and the VIRTUAL machine, you need to download VMWare Tools. Click:






  1. Install the compressed package vmwareTools-xxx (version number).tar.gz. Move to the desktop.
  2. Open the Ubuntu terminal command window.
cd Desktop # Enter the desktop
ls  Check if the package is under the desktopTar -xzvf vmwareTools-xxx (version).tar.gzUnzip the file
cd VMware-tools-distrib
./vmware-install.pl Install vmware-install.pl
Copy the code

After executing the preceding commands, enter yes and press Enter as prompted.

Five, shared folder Settings

In the above steps, VMWare Tools is installed, and then you need to set the folders that you can share. Go to Ubuntu hardware Settings:






Six, graphical interface and character interface conversion

First, run the terminal on the VM and su to go to root mode.

  1. Modifying the GRUB File

    • sudo vi /etc/default/grub

      • Modify the grub file in three places:
      1. Comment GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”, that is, add # first.
      2. GRUB_CMDLINE_LINUX=”text”, add text, text.
      3. GRUB_TERMINAL=console, clear the comment.

The final modification result is as follows:


  1. sudo update-grubUpdate grub files.
  2. performsudo systemctl set-default multi-user.targetChange the default startup mode to character interface.
  3. Restart the VM. Note: Do not use Reboot. Summary: The conversion of these two modes requires only two terminal commands.
  • Graphic to Character interface:sudo systemctl set-default multi-user.target
  • Character to graphical interface:sudo systemctl set-default graphical.target
  • Finally, restart the VIRTUAL machine.

The attached:

  • Image sites for Ubuntu installations:
    • Version 14.04: mirrors.aliyun.com/ubuntu-rele…
    • Version 16.04: mirrors.aliyun.com/ubuntu-rele…
    • Version 18.04: mirrors.aliyun.com/ubuntu-rele…
  • Tsinghua university image source: mirrors.tuna.tsinghua.edu.cn/
  • VMWare FUsion installation address: my.vmware.com/cn/web/vmwa…

reference

[1] How to install Ubuntu [3] VMWare Tools [4] Ubuntu16.04 GUI and character interface switch