Install ZSH
- Connect to your EC2 instance
- Install zsh :
1
| $ sudo apt-get update && sudo apt-get install zsh
|
- Edit your passwd configuration file to tell which shell to use for user
ubuntu
: sudo vim /etc/passwd
- Look for
ubuntu
user, and replace bin/bash
by bin/zsh
- Install OhMyZsh :
1
| sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
- Disconnect from your instance and reconnect it.
Install Node and npm
- Connect to your EC2 instance
- Install node
1
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
|
- Activate nvm by typing the following at the command line.
- Use nvm to install the latest version of Node.js by typing the following at the command line.
- Test the installation
1
| $ node -e "console.log('Running Node.js ' + process.version)"
|
Install docker and docker-compose
1
| curl -fsSl https://get.docker.com -o get-docker.sh
|
Add user to docker group
Check and add permission
1 2 3
| cat /etc/passwd | grep {$USER_NAME} sudo usermode -aG docker {$USER_NAME} cat /etc/group | grep docker
|
Install docker-compose
Source link
1 2
| $ sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose $ sudo chmod +x /usr/local/bin/docker-compose
|
Install python with anaconda
1 2 3
| $ curl -O https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh $ chmod +x Anaconda3-2019.03-Linux-x86_64.sh $ ./Anaconda3-2019.03-Linux-x86_64.sh
|
Make sure the installation file should also be linked via the path concatenation
1
| export PATH=$HOME/anaconda3/bin:$PATH
|