Debian10安装宝塔7.7.0失败的解决办法


  今天良心(腾讯)云轻量型云服务器打折了,所以就入手了一台,重装了Debian10系统,为什么不装centos?因为要停止维护了,就尝试使用Debian。
  在安装宝塔7.7.0面板时频繁报错,当初以为是端口没有放行,就去放行端口,后来还是不行,最后看终端中一堆404,立马就明白是软件源的问题。

添加国内的软件源 直接编辑/etc/apt/sources.list文件

需要sudo权限

sudo vim /etc/apt/sources.list

  按i键添加以下内容:

deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free

# deb http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free

  粘贴完以上代码按esc键退出编辑模式,输入:wq!退出并保存。
  最后运行sudo apt-get update使其生效。

声明:极客角度|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - Debian10安装宝塔7.7.0失败的解决办法


拒绝拖延,勇于表达!