24 Aug
Running Ubuntu in VMware is a waste of resources to enable the graphic interface. 2 GB of content is already half of that of Windows 7. You don't have to do anything else when you start VMware. In addition, the default network mode of VMware is net. The virtual machine obtains an IP address through DHCP, And I am used to using xshell to access the virtual machine through SSH. The dynamic IP address is not easy to save sessions, set the Ubuntu IPaddress In the VM to static by the way.
Switch Ubuntu to character mode to start 1. Modify the/etc/default/GRUB File
1 |
$ Sudo VI /Etc/default/GRUB |
Set
Grub_cmdline_linux_default = "quiet Splash"
Change
Grub_cmdline_linux_default = "quiet splashText"
2. Update grub Configuration
Restart.
Run
You can start gnome.
Set static IP 1. Edit the interfaces File
1 |
$ Sudo VI /Etc/Network/interfaces |
The content is as follows:
Auto Lo
Iface lo Inet loopback
Add the following content at the end of the file:
Auto eth0
Iface eth0 Inet static
Address192.168.56.125
Netmask255.255.255.0
Gateway192.168.56.2
The red part is modified based on the actual situation.
2. Add static DNS Server IP Address
1 |
Sudo VI /Etc/resolv . Conf |
Add the following content:
Nameserver192.168.56.2
3. Reload Nic Configuration