这篇文章上次修改于 1540 天前,可能其部分内容已经发生变化,如有疑问可询问作者。 > 脚本地址:https://github.com/oneinstack/lnmp 1. Media change: please insert the disc labeled 编辑/etc/apt/sources.list 删除cdrom那行 2. There are problems and -y was used without --force-yes 方法1 apt-get update 方法2 Add to /etc/apt/apt.conf: APT::Get::AllowUnauthenticated 1 ; 3.最重要的,更改中国源 ```bash vim /etc/apt/sources.list deb http://mirrors.163.com/debian/ jessie main non-free contrib deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib deb-src http://mirrors.163.com/debian/ jessie main non-free contrib deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib ```
没有评论