Installing ohmyzsh on Ubuntu server, require some specific commands.
They are the following:
- sudo apt-get install zsh
- wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
- sudo chsh -s `which zsh`
- sudo shutdown -r 0
 This will restart your server.
Source:

