1
1
Fork 0

modified prep ubuntu server script

This commit is contained in:
david 2012-06-26 12:58:00 +02:00
parent 44095e44c4
commit 8f320d9195
1 changed files with 14 additions and 16 deletions

View File

@ -1,35 +1,31 @@
#!/bin/bash
# preperation script for my ubuntu servers
#preperation script for my ubuntu servers
#change your default shell to /bin/zsh
#vi /etc/passwd
usage()
{
}
#install various tools
installation()
pkginstall()
{
apt-get update && apt-get dist-upgrade -y
apt-get install -y htop nload nmap tshark git-core \
curl wget dnsutils zsh fortunes-ubuntu-server \
vim
curl wget dnsutils fortunes-ubuntu-server \
vim zsh
}
#install and configure zsh
instzsh()
zshinstall()
{
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
rm -rf ~/.oh-my-zsh/custom/
cd ~/.oh-my-zsh/
git clone git://git.socialnerds.org/zshconfig.git custom
vi ~/.zshrc
}
@ -48,7 +44,9 @@ motd()
}
# **** start of script ****
#pkginstall
zshinstall
#end of file