Last active
February 27, 2021 20:53
-
-
Save mbwhite/9d0ff3c3f35e8bc9a33d32bd6899f11b to your computer and use it in GitHub Desktop.
Ubuntu Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # update packge information and | |
| # install the build essentials | |
| sudo apt update | |
| sudo apt install build-essentials git | |
| sudo apt upgrade | |
| # zsh | |
| sudo apt-get install zsh | |
| sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
| # here using the snap install images | |
| sudo snap install code --classic | |
| # get the nvm installer for node.js | |
| wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash | |
| export NVM_DIR="$HOME/.nvm" | |
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
| # get the sdkman installer for java, gradle, maven etc. | |
| wget -qO- "https://get.sdkman.io" | bash | |
| # node 10 install | |
| nvm install 12 && nvm use 12 | |
| # | |
| # sdk install java 8.0.212-zulu | |
| # install the vscode extensions recommended | |
| code --install-extension vscjava.vscode-java-pack | |
| code --install-extension ibmblockchain.ibm-blockchain-platform | |
| sudo wget -q "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -O /usr/local/bin/docker-compose | |
| sudo chmod +x /usr/local/bin/docker-compose | |
| sudo apt install docker.io | |
| sudo groupadd docker | |
| sudo usermod -aG docker $USER | |
| sudo systemctl enable docker | |
| # github key | |
| ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
| eval $(ssh-agent -s) | |
| ssh-add ~/.ssh/id_rsa | |
| sudo apt install xclip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment