错误信息:
$ git push origin master
ssh: Could not resolve hostname bitbucket.org: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方法:
$ vi /etc/resolv.conf # 修改为
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 114.114.114.114 8.8.8.8
PS:114.114.114.114 是腾讯DNS Server,8.8.8.8 是Google DNS Server。
关于real210开发板linux系统可能无法解析域名的问题解决方法:http://www.linuxdiyf.com/linux/16437.html
Linux无法解析域名的解决办法:http://www.linuxdiyf.com/linux/504.html
GNU Linux解析域名的三种命令及用法:http://www.linuxdiyf.com/linux/16321.html
ubuntu下暂时不能解析域名“us.archive.ubuntu.com”:http://www.linuxdiyf.com/linux/15936.html
ubuntu不能解析域名No address associated with hostname:http://www.linuxdiyf.com/linux/14009.html