After the first installation of Ubuntu, only the users and user passwords that were set up at the time of installation, the user name and password for Hadoop and Hadoop are used in this installation, but the user's permissions are not enough at some point, so you need to switch to the root user. And because the root user at this time the password is dynamic, so also need to manually set the root user password, the root user can not be remote by default, so you need to modify the configuration file, configure the root user remote:
Switch from Hadoop user to root user: sudo su;
To set the root password:
- Installing the remote server Openssh-server
Installation Successful
- Problems with the VIM editor
The system default Vim editor will have some problems, such as the change of the file will appear on the keyboard on the top or bottom of the situation on behalf of the input A, B, C, D, the solution is to reinstall the full version of:
Apt-get Remove Vim-common
Apt-get Install Vim
Installation time is still relatively long.
- Configuration allows the root user to remotely
Open Vim/etc/ssh/sshd_config
Modify to Yes
- Use putty to log in to the server.
- Configure static addresses
Modify the/etc/network/interface file
Add the above content
Restart Service
Service Networking Restart//
Ubuntu system Enable root user