1. Mount method The virtual machine gives the command when it is mounted
2. Sudo adduser yourusername vboxsf (vboxsf is the user group of the Mounted folder, can be seen in/media directory under ls-l command)
3. The command to modify the host name is
sudo gedit/etc/sudoers
Pressing ENTER will open the/etc/sudoers file, giving the Hadoop user the same permissions as the root user. Add Hadoop all= (All:all) all under root all= (All:all) all
4. The command line cannot parse the new host name
sudo gedit/etc/hosts
Locate the following line:
127.0.1.1 XXX
Modify it to:
127.0.1.1 (your current host name)
Note: You can use all substitutions, or you can append them in the following format
VBox install Ubuntu After installing the shared folder without access to the problem and changed the hostname, causing the command line can not resolve the host name problem