Skip to content

Instantly share code, notes, and snippets.

@pangyuteng
Last active April 19, 2025 17:06
Show Gist options
  • Save pangyuteng/a71fdca3f634a3de615708246610e338 to your computer and use it in GitHub Desktop.
Save pangyuteng/a71fdca3f634a3de615708246610e338 to your computer and use it in GitHub Desktop.
new pc setup

new pc setup ( work windows OS)

just install the below only (work machine, win os) for git bash

  • wsltty (to use as main terminal, because copy-pasting works in terminal).

  • git (to use git and git bash, backup terminal)

  • vs-code

optionals

  • chocolatey, pgadmin4, robo 3t, notepad++

  • itk-snap,3d-slicer,microdicom

  • office,acrobat-reader, google web designer.

  • slack, teams, zoom

--

outdated circa 2020 notes for ...looks like linux vm.

  • makesure $USER home dir is present
    echo $HOME
    https://askubuntu.com/a/546090/231735
  • add ssh key
    ssh-copy-id -i /path/to/key/file [email protected]
    https://stackoverflow.com/questions/12392598/how-to-add-rsa-key-to-authorized-keys-file
  • install git
    ?? https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

    sudo apt-get install git
    
    git config --global user.email "[email protected]"
    git config --global user.name "Your Name"
  • install docker, docker-compose
    https://docs.docker.com/engine/install/ubuntu
    https://docs.docker.com/engine/install/linux-postinstall
    https://docs.docker.com/compose/install
    
    * install docker with above link.
    
    * post installation steps:
    
    sudo groupadd docker
    sudo usermod -aG docker $USER
    sudo systemctl enable docker
    sudo systemctl start docker
    sudo chmod 666 /var/run/docker.sock
    sudo reboot
    
    * issue here, may need to add docker to and then user in /etc/group (no link)
    
    docker ps
    
    
    
    * install compose with above link.
  • install and configure aws cli, ecs-cli
    https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html#cliv2-linux-install
    https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.html
  • create ssh key, link to git
    https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
  • install anaconda3
    https://www.digitalocean.com/community/tutorials/how-to-install-the-anaconda-python-distribution-on-ubuntu-16-04
    
    (?)
    conda init
    conda create --name py python=3.7.2
    conda activate py
  • install utils.
    sudo add-apt-repository ppa:rmescandon/yq -y && sudo apt update && sudo apt install yq -y
    sudo apt-get install jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment