1
1
Fork 0

started developing a ubuntu server preperation script

This commit is contained in:
David 2012-06-15 15:12:42 +02:00
parent d4d5692e83
commit 0300887a49
1 changed files with 18 additions and 0 deletions

18
prep_ubuntu_server.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash
# 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