Zunächstmal muss man sich ja auf einem jungfäulichen Linux System zu Hause fühlen:
apt-get update apt-get install -y vim screen zsh wget --no-check-certificate "https://wiki.ex23.de/dokuwiki/lib/exe/fetch.php?media=it:linux:debian:vimrc.gz" -O - | gunzip > /etc/vim/vimrc mkdir -p /etc/vim/after/plugin/ ln -s /etc/vim/vimrc /etc/vim/after/plugin/vimrc.vim wget --no-check-certificate "https://wiki.ex23.de/dokuwiki/lib/exe/fetch.php?media=it:linux:debian:a.vim.gz" -O - | gunzip > ~/.vim/plugin/a.vim echo "hardstatus alwayslastline hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'" >> /etc/screenrc wget -O /etc/zsh/zshrc http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc echo "#Make Ctrl-Left Ctrl-Right work bindkey '5D' backward-word bindkey '5C' forward-word #Historic Pg-Up Pg-Down for history search... bindkey \"^[[6~\" history-beginning-search-forward bindkey \"^[[5~\" history-beginning-search-backward" > ~/.zshrc.local /usr/sbin/usermod -s /bin/zsh `whoami` sed -e '/AcceptEnv LANG LC_*/ s/^#*/#/' -i /etc/ssh/sshd_config service ssh restart
/etc/zsh/zshrc grml_prompt_token_default suchen und host auf '%M' setzen.
#!/bin/bash backupname=<hostname>_backup_`date -I`.tar.gz tar -C / -cpvf - --exclude="./sys/*" --exclude="./proc/*" --exclude="./data/*" . | pigz -p 4 | ssh backup-fetch@server "cat >/<server_destination>/<hostname>/${backupname}"