1.error: permission denied
原因:文件权限不够
解决方法: 修改文件权限
为了获得执行权限,借助chmod指令修改文件权限即可。(r w x )->(4 2 1)
例如:
$ chmod 777 test.sh
2.Warning: nss-myhostname is not installed
Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!.
原因:
This is all very bleeding edge so who knows what the ramifications are. I believe if you configure your networking manually via the standard files (/etc/hosts and /etc/network/interfaces) the above error message will disappear. (网络问题)
解决办法:
sudo apt-get install libnss-myhostname