zoukankan      html  css  js  c++  java
  • Debian 配置apt-get源

    1、配置apt-get源

    cp  /etc/apt/sources.list  /etc/apt/sources.listbak   #备份原有配置文件
           nano  /etc/apt/sources.list   #编辑







    注释掉本地光盘源这一行:

    deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official i386 DVD Binary-1 20120128-12:53]/ squeeze contrib main







    ctrl+o   #保存配置
           
    ctrl+x   #退出
           
    apt-get update   #更新源
           
    apt-get upgrade  #更新系统








    apt-get install ssh     #安装ssh服务
    使用阿里的debian源
    deb http://mirrors.cloud.aliyuncs.com/debian stable main contrib non-free
    deb http://mirrors.cloud.aliyuncs.com/debian stable-proposed-updates main contrib non-free
    deb http://mirrors.cloud.aliyuncs.com/debian stable-updates main contrib non-free
    deb-src http://mirrors.cloud.aliyuncs.com/debian stable main contrib non-free
    deb-src http://mirrors.cloud.aliyuncs.com/debian stable-proposed-updates main contrib non-free
    deb-src http://mirrors.cloud.aliyuncs.com/debian stable-updates main contrib non-free

    deb http://mirrors.aliyun.com/debian stable main contrib non-free
    deb http://mirrors.aliyun.com/debian stable-proposed-updates main contrib non-free
    deb http://mirrors.aliyun.com/debian stable-updates main contrib non-free
    deb-src http://mirrors.aliyun.com/debian stable main contrib non-free
    deb-src http://mirrors.aliyun.com/debian stable-proposed-updates main contrib non-free
    deb-src http://mirrors.aliyun.com/debian stable-updates main contrib non-free




  • 相关阅读:
    springboot打war包汇总
    springBoot获取@NotBlank,@NotNull注解的message信息
    springBoot数据校验与统一异常处理
    ETL子系统
    “斐波那契数列”衍生题
    什么是数据仓库?
    准确率、精确率、召回率、F-Measure、ROC、AUC
    python探索微信朋友信息
    Kaggle之泰坦尼克号幸存预测估计
    通过房价预测入门Kaggle
  • 原文地址:https://www.cnblogs.com/wudonghang/p/8e0b1c5ef4f570a3eab4367080a80a11.html
Copyright © 2011-2022 走看看