我已经尝试下载moodle代码以便在ubuntu中安装,如
所述当我尝试时,
sudo git clone git://git.moodle.org/moodle.git
我收到以下错误,
sudo git clone git://git.moodle.org/moodle.git
Cloning into 'moodle'...
fatal: unable to connect to git.moodle.org:
git.moodle.org: No address associated with hostname
请帮我解决这个问题
答案 0 :(得分:3)
你能试试github镜子吗?
git clone https://github.com/moodle/moodle.git
如果这不起作用,那么互联网连接就会出现问题。
您不需要使用sudo。