美文网首页
新浪云应用搭建过程遇到的问题

新浪云应用搭建过程遇到的问题

作者: 爱忽悠的唐唐在晃悠 | 来源:发表于2018-04-10 20:35 被阅读12次

1、apt报错

E: Unable to locate package nginx
E: Unable to locate package curl
E: Unable to locate package vim

解决方法:百度搜索ubuntu更换软件源

deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
  • 下载filezila连接新浪云.连接教程
  • 将/etc/apt下的sources.list备份,然后拷贝到本地,修改替换为上述的软件源。
    (上面之所以使用filezila下载本地修改文件,是因为新浪云提供的ubuntu系统中没有vim,而且由于apt的故障,暂时安装不了)

相关文章

网友评论

      本文标题:新浪云应用搭建过程遇到的问题

      本文链接:https://www.haomeiwen.com/subject/yzznhftx.html