- sudo: 无法解析主机:geology
原因:之前用(hostname -b 主机名)修改了主机名,而没有在hosts文件里修改
解决方法:$ pkexec nano /etc/hosts
加入 127.0.1.1 xxxxxxxx是你的机器名
ctrl+o保存,ctrl+x离开
- lixudong@geology:~/下载$ tar zxvf hadoop-3.0.0.tar.gz
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
原因:hadoop-3.0.0.tar.gz没有完整下载,或者正在下载
解决方法:待下载完毕后,再进行解压
0