1
1
Fork 0

modified prep script

This commit is contained in:
david 2012-06-25 17:23:23 +02:00
parent 09d7adecd3
commit 44095e44c4
1 changed files with 48 additions and 12 deletions

View File

@ -2,17 +2,53 @@
# preperation script for my ubuntu servers
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
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
#change your default shell to /bin/zsh
vi /etc/passwd
#vi /etc/passwd
usage()
{
}
#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