下载后可任意编辑1. 在安装好的 Ubuntu 系统下添加具有 sudo 权限的用户
root@nodeA:~# sudo adduser zyxAdding user `zyx'
Adding new group `zyx' (1001)
Adding new user `zyx' (1001) with group `zyx'
Creating home directory `/home/zyx'
Copying files from `/etc/skel'
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfullyChanging the user information for zyxEnter the new value, or press ENTER for the default Full Name []: ^Cadduser: `/usr/bin/chfn zyx' exited from signal 2
Exiting
root@nodeA:~#root@nodeA:~# sudo usermod -G admin -a zyxroot@nodeA:~#2. 建立 SSH 无密码登陆(1)namenode 上实现无密码登陆本机zyx@nodeA:~$ ssh-keygen -t dsa -P '' -f ~/
ssh/id_dsaGenerating public/private dsa key pair
Created directory '/home/zyx/
ssh'
Your identif