Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

sudo yum install gcc-c++ make


# get the nvm installer for node.js
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
# (restart the terminal app to get this added to your shell path)

# node 10 install
nvm install 10

sudo yum install unzip zip

# Get the sdkman installer for java, gradle, maven etc. 
wget -qO- "https://get.sdkman.io" | bash
# (restart the terminal app to get this added to your shell path)

# install Java 8
sdk install java 8.0.222.j9-adpt

## 
# GIT
# (https://computingforgeeks.com/how-to-install-latest-version-of-git-git-2-x-on-centos-7/)



sudo yum remove git*
sudo yum -y install  https://centos7.iuscommunity.org/ius-release.rpm
sudo yum -y install  git2u-all

##
# VSCode Setup 
# (https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions)
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

##
# Docker-CE 
# (https://docs.docker.com/install/linux/docker-ce/centos/)
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io

sudo groupadd docker && sudo usermod -aG docker $USER
newgrp docker
sudo systemctl start docker
sudo systemctl enable docker

# docker-compose
# (https://docs.docker.com/compose/install/)
sudo curl -L "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


Now some more specific items relating to development in VSCode

code --install-extension ms-vscode.vscode-typescript-tslint-plugin
code --install-extension vscjava.vscode-java-pack
code --install-extension ibmblockchain.ibm-blockchain-platform 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.