1. 问题
vi /tmp/root/hive.log bash: vi: command not found
2. 办法
# cat /etc/issue Debian GNU/Linux 8
# apt-get update
# apt-get install vim