zoukankan      html  css  js  c++  java
  • debain9 debian8 alpine 3.7 aliyun

    echo '

    # deb http://snapshot.debian.org/archive/debian/20210621T000000Z buster main
    deb http://mirrors.aliyun.com/debian buster main
    # deb http://snapshot.debian.org/archive/debian-security/20210621T000000Z buster/updates main
    deb http://mirrors.aliyun.com/debian-security buster/updates main
    # deb http://snapshot.debian.org/archive/debian/20210621T000000Z buster-updates main
    deb http://mirrors.aliyun.com/debian buster-updates main'>/etc/apt/sources.list

    debain10

    deb http://mirrors.aliyun.com/debian stretch main contrib non-free

    deb-src http://mirrors.aliyun.com/debian stretch main contrib non-free

    deb http://mirrors.aliyun.com/debian stretch-updates main contrib non-free

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

    deb http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free

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


    debian9


    echo '

    deb http://mirrors.aliyun.com/debian stretch main contrib non-free

    deb-src http://mirrors.aliyun.com/debian stretch main contrib non-free

    deb http://mirrors.aliyun.com/debian stretch-updates main contrib non-free

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

    deb http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free

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

    '>/etc/apt/sources.list
     
    rm -rf /etc/apt/sources.list.d/stretch-backports.list
     
     
    debian8

    echo '

    deb http://mirrors.aliyun.com/debian jessie main contrib non-free

    deb-src http://mirrors.aliyun.com/debian jessie main contrib non-free

    deb http://mirrors.aliyun.com/debian jessie-updates main contrib non-free

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

    deb http://mirrors.aliyun.com/debian-security jessie/updates main contrib non-free

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

    '>/etc/apt/sources.list
     
    apt-get install apt-file
    apt-file update
    apt-file search /bin/ps
     
    apt-get install net-tools
    apt-get install procps
     
     
     
     

    echo "https://mirrors.aliyun.com/alpine/v3.7/main/" > /etc/apk/repositories

    echo "https://mirrors.aliyun.com/alpine/v3.7/community/" >> /etc/apk/repositories

    apk update

    apk add xxxx

    apk info    #查看已安装的包

    apk info -a xxxx   #查看安装包的路径

    apk add openjdk8

     java dump内存

    /usr/lib/jvm/java-1.8-openjdk/bin/jmap -dump:live,format=b,file=./heap.dump   xxxx

  • 相关阅读:
    分组取最大值SQL 牛XXXX啊 我艹
    windows自带的可生成各种数据库连接字符串工具打开方法
    ashx.cs 读写session
    ASP.NET温故而知新学习系列之深度剖析ASP.NET架构—ASP.NET请求的处理过程(一)
    为什么从5000个数中找出10个最大的堆排序最快?
    net自带wsdl.exe的用法与参数说明
    负载均衡的集中实现方式
    18款 非常实用 jquery幻灯片图片切换
    MSSQL 导入用法总结 太方便了
    爱的无助
  • 原文地址:https://www.cnblogs.com/alexhjl/p/13220002.html
Copyright © 2011-2022 走看看