Skip to content

Instantly share code, notes, and snippets.

@ssrlive
Last active August 8, 2022 04:44
Show Gist options
  • Save ssrlive/3f24db264dfd9fe4803e546a59a4fe70 to your computer and use it in GitHub Desktop.
Save ssrlive/3f24db264dfd9fe4803e546a59a4fe70 to your computer and use it in GitHub Desktop.
New Linux Mint workflow
  • install Mint

    • install from iso file, write it to usb-disk with Rufus
    • do NOT upgrade from old version to new version, Never.
    • big version upgradation is bullshit.
    • install vim by sudo apt install vim -y
  • install proxy suit

    • install ssr client, and config it, and run it.
    • install privoxy, config it listen on 1080 port, run it.
      sudo apt-get install privoxy -y
      
      config file /etc/privoxy/config
      listen-address  127.0.0.1:8118
      forward-socks5 / 127.0.0.1:1080 .
      
  • proxy apt-get/apt commands via privoxy by modify file /etc/apt/apt.conf

    Acquire::http::proxy "http://127.0.0.1:8118/";
    Acquire::https::proxy "https://127.0.0.1:8118/";
    
  • now update/upgrade system

    sudo apt update -y
    sudo apt upgrade -y
    
  • python3

    cd /usr/bin
    sudo ln -s python3 python
    sudo apt install python3-pip
    
  • install daily work suits

    sudo apt-get install --no-install-recommends build-essential autoconf libtool asciidoc xmlto -y
    sudo apt-get install git gcc g++ gdb cmake automake -y
    sudo apt-get -f install -y
    
  • Rust

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    source ~/.cargo/env
    rustup toolchain install nightly
    sudo apt install libssl-dev
    
  • Github Copilot settings

    • In file /etc/hosts added lines from here
  • Input method

  • golang installation

    • download go
    • extract it.
    • sudo mv go /usr/local/
    • sudo vi /etc/profile and add export PATH=$PATH:/usr/local/go/bin
    • apply it source /etc/profile
    • goproxy
    go env -w GO111MODULE=on
    go env -w GOPROXY=https://goproxy.cn,direct
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment