Software Installation Guide:#
Refer to the guide on the official account: Vm Virtual Machine Installation Linux System Tutorial
Network Configuration Issues:#
After running the virtual machine, there may be problems with the network not being available. Here are the problems encountered and their corresponding solutions.
Refer to this article for resetting the network configuration: Solving the problem of VMware virtual machine unable to connect to the Internet
Related Error Messages and Solutions:#
Error: Ubuntu 16.04 installation of vim error: E: Package vim has no installation candidate#
Solution: Install after upgrading the system
sudo apt-get update
sudo apt-get upgrade
Solution for Ubuntu graphical interface login with ROOT account authentication failed#
Log in as a regular user and use sudo or sudo -i to switch to the root user and open the terminal to execute the command
Enter sudo passwd root
Follow the command prompt, first enter the password for this account, then set the root password, confirm the root password
Then use the su command to log in to the root account with the password just set (required)
In the terminal, modify the configuration file in text mode, you can use vi/vim/gedit to operate. Considering that the new system does not have vim installed, and Ubuntu's vi tool is difficult to use, this article uses the gedit command as a demonstration, execute:
gedit /etc/pam.d/gdm-autologin
In the opened text editor, use "#" to comment out the following command (add a "#" in front)
auth required pam_succeed_if.so user != root quiet_success
Save and exit, continue to execute in the terminal
gedit /etc/pam.d/gdm-password
Comment out the same sentence, save and exit, continue to execute in the terminal
gedit /root/.profile
Modify the "mesg n || true" in the content to
tty -s&&mesg n || true
Restart the system by executing reboot in the terminal
Select the account that is not listed on the login account selection interface
Enter the root password as the password set in the first step
Common Linux Commands#
Create a new file: touch filename.txt
Execute a .pl
file: ./filename.pl
Extract a tar file: tar -xf filename
Interaction between Virtual Machine and Host (Free Copy and Paste)#
Follow the VMware prompts to install VMware Tools (the original CD must be ejected)
After installation, restart to enable free copy and paste (copy in the virtual machine -> paste in the host or copy in the host -> paste in the virtual machine)