Created
January 12, 2011 23:40
-
-
Save jgumbley/777119 to your computer and use it in GitHub Desktop.
setup admin console on headless CENTOS 5.* server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# wget -O setup_console.sh https://gist.github.com/raw/777119/setup_console.sh | |
# chmod +x setup_console.sh | |
# ./setup_console.sh | |
#!/bin/sh | |
echo "******************************************" | |
echo "Setup console on headless CENTOS server" | |
echo "basically vim and zsh setup " | |
echo " - jgumbley 12/jan/11" | |
echo "******************************************" | |
echo " - install vim " | |
yum -y install vim-common | |
echo " - install vim libraries " | |
cd | |
wget -O .vimrc https://gist.github.com/raw/777095/.vimrc_console | |
wget -O /usr/share/vim/vim70/colors/impact.vim "http://www.vim.org/scripts/download_script.php?src_id=4597" | |
wget -O NERD_tree.zip "http://www.vim.org/scripts/download_script.php?src_id=11834" | |
unzip -f NERD_tree.zip -d /usr/share/vim/vim70/ | |
echo " - install zsh " | |
yum -y install zsh | |
chsh -s /bin/zsh | |
wget -O .zshrc https://gist.github.com/raw/777137/.zshrc_console | |
echo " - start zsh " | |
# should be last thing | |
zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment