modified prep script
This commit is contained in:
parent
09d7adecd3
commit
44095e44c4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue