用户工具

站点工具


jaysnote:ubuntu_first_run

ubuntu first install

vmware

  • vmware15.02 key

    ZC10K-8EF57-084QZ-VXYXE-ZF2XF
    UF71K-2TW5J-M88QZ-8WMNT-WKUY4
    AZ7MK-44Y1J-H819Z-WMYNC-N7ATF
    CU702-DRD1M-H89GP-JFW5E-YL8X6
    YY5EA-00XDJ-480RP-35QQV-XY8F6
    VA510-23F57-M85PY-7FN7C-MCRG0
  • 设置使能网络

install

init

  • 修改source 阿里云源

    #modify for aliyun support
    # 18.04 LTS
    deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
  • 安装ssh、ifconfig、vim、tree、htop

    sudo apt-get -y install ssh net-tools vim tree htop
  • bashrc

    bashrc notes

  • ss

    sudo apt-get install libsodium23
    sudo apt-get install libsodium-dev
    
    sudo apt-get install software-properties-common -y
    sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y
    sudo apt-get update
    sudo apt install shadowsocks-libev
    sudo cp /lib/systemd/system/shadowsocks-libev-local@.service /lib/systemd/system/shadowsocks-libev-local.service
    
    #local
    sudo systemctl enable shadowsocks-libev-local.service
    sudo systemctl start shadowsocks-libev-local.service
    #edit 
    #cat /etc/shadowsocks-libev/config.json  
    
    systemctl status shadowsocks-libev-local.service
    
    #server
    sudo systemctl enable shadowsocks-libev.service
    sudo systemctl start shadowsocks-libev.service
  • timezon

    date -R
    tzselect
    #Asia->China->Beijing
    cp /usr/share/zoneinfo/Asia/Shanghai  /etc/localtime

tools

jaysnote/ubuntu_first_run.txt · 最后更改: 2020/02/16 21:32 由 lijie