zoukankan      html  css  js  c++  java
  • Kali更新deb源

    vim /etc/apt/sources.list

    #中科大
    deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
    deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
    #阿里云
    deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
    deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
    #清华大学
    deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
    deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
    #浙大
    deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
    deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
    #东软大学
    deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
    deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
    #官方源
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib

    apt-get update

    apt-get upgrade

    apt-get dist-upgrade 

    apt-get clean

    Syntax Description Example(s)
    apt-get install {package} Install the new package. If package is installed then try to upgrade to latest version apt-get install zip
    apt-get install lsof samba mysql-client
    apt-get remove {package} Remove/Delete an installed package except configuration files apt-get remove zip
    apt-get --purge remove {package} Remove/Delete everything including configuration files apt-get --purge remove mysql-server
    apt-get update
    apt-get upgrade
    Resynchronize the package index files and Upgrade the Debian Linux system including security update (Internet access required) apt-get update
    apt-get upgrade
    apt-get update
    apt-get dist-upgrade
    Usually use to upgrade to Debian distribution. For example Woody to Sarge upgrade. 'dist-upgrade' in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. apt-get update
    apt-get dist-upgrade
  • 相关阅读:
    通过反射获取和设置对象私有字段的值
    myBatis针对不同数据库的模糊查询
    代理http请求获取客户端IP
    mybatis时间类型的比较
    将NVARCHAR2类型改为clob字段类型
    access的保留关键字
    常见html标签
    样式
    页面执行时间统计
    常见SQL语句
  • 原文地址:https://www.cnblogs.com/guanghe/p/10118368.html
Copyright © 2011-2022 走看看