- 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
Last active
October 25, 2021 02:13
-
-
Save xoxwgys56/3e53958097ffbe8f153538c3ef9ca1e8 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
set zsh on aws
ec2