1
1
Fork 0
scripts/prep_ubuntu_server.sh

55 lines
745 B
Bash
Raw Normal View History

#!/bin/bash
# preperation script for my ubuntu servers
2012-06-25 17:23:23 +02:00
#change your default shell to /bin/zsh
#vi /etc/passwd
2012-06-25 17:23:23 +02:00
usage()
{
2012-06-25 17:23:23 +02:00
}
#install various tools
installation()
{
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
}
#install and configure zsh
instzsh()
{
}
#configure motd
motd()
{
rm /etc/update-motd.d/10*
rm /etc/update-motd.d/50*
#insert a fancy motd.tail from http://www.network-science.de/ascii/
#echo '
#go to http://www.network-science.de/ascii/ and generate
#a nice ascii servername for /etc/motd.tail'
vi /etc/motd.tail
}
#end of file