- Connect to your EC2 instance
- Install zsh :
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 replacebin/bash
bybin/zsh
- Install OhMyZsh :
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
- Disconnect from your instance and reconnect it.
Forked from anthonyray/gist:398fde676a7704c03d6624155ba0011e
Created
October 21, 2021 15:38
-
-
Save Ppang0405/7608277e85b253071fb78983293f52e6 to your computer and use it in GitHub Desktop.
Set up OhMyZsh on Amazon EC2 instance running Ubuntu Server 14.04
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment