Skip to content

Instantly share code, notes, and snippets.

@hpherzog
Last active December 20, 2015 17:09
Show Gist options
  • Save hpherzog/6167051 to your computer and use it in GitHub Desktop.
Save hpherzog/6167051 to your computer and use it in GitHub Desktop.
A basic wheezy installation.
#!/bin/sh
(cat <<-SRC
# default repo
deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free
# security updates
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
# backports
deb http://ftp.de.debian.org/debian wheezy-backports main
SRC
) > /etc/apt/sources.list
apt-get update
apt-get -y install \
ntp \
ntpdate \
etckeeper \
sudo \
rsync \
unzip \
unrar \
bzip2 \
git \
git-core \
curl \
subversion \
make \
g++ \
checkinstall \
python \
build-essential \
openssl \
libssl-dev \
libmagic1 \
libmagic-dev \
smartmontools \
screen \
psad \
snort \
fail2ban \
rkhunter
apt-get -y install alsa-base
echo "blacklist snd-pcsp" >> /etc/modprobe.d/alsa-base-blacklist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment