zoukankan      html  css  js  c++  java
  • 阿里云有些包无法更新,修改

    新买的阿里云服务器无法下载php7.0的一系列拓展,发现是源有问题,需要更换源,首先备份
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
    接着讲source.list中的源全部注释掉,粘贴进以下源,就可以下载PHP7.0的拓展了

    deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial main restricted universe multiverse
    deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-security main restricted universe multiverse
    deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates main restricted universe multiverse
    deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-proposed main restricted universe multiverse
    deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-backports main restricted universe multiverse
    deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial main restricted universe multiverse
    deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-security main restricted universe multiverse
    deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates main restricted universe multiverse
    deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-proposed main restricted universe multiverse
    deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-backports main restricted universe multiverse
  • 相关阅读:
    一系列视频教程 收藏
    生成一个4位整数
    spring 实现定时任务
    判断字符串是否包含汉字
    pmd代码安全扫描工具
    IntelliJ IDEA
    李小龙传奇
    checkmarx使用笔记、原理
    pmd 使用笔记
    Mysql的安装(视频+部分视频截图)
  • 原文地址:https://www.cnblogs.com/minhost/p/13174158.html
Copyright © 2011-2022 走看看