1
1
scripts/prep_ubuntu_server.sh

19 lines
502 B
Bash
Executable File

#!/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