2017-06-02 22:26:26 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
2017-05-16 13:59:21 +02:00
|
|
|
if [[ $EUID -ne 0 ]]; then
|
|
|
|
echo "This script must be run as root" 1>&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2017-05-20 16:55:08 +02:00
|
|
|
apt update
|
2017-06-02 22:26:26 +02:00
|
|
|
apt upgrade -y
|
2017-05-29 06:19:13 +02:00
|
|
|
apt install hedgewars minetest minetest-server teeworlds teeworlds-server mumble mumble-server freeciv gnome-chess gnuchess inkscape gimp ffmpeg flac vorbis-tools vorbisgain git htop android-tools-adb android-tools-fastboot qemu-system btrfs-tools nvidia-375 nvidia-settings -y
|
2017-05-16 13:59:21 +02:00
|
|
|
nvidia-xconfig
|
|
|
|
|
|
|
|
add-apt-repository ppa:wfg/0ad
|
|
|
|
apt-get update
|
2017-05-23 00:06:08 +02:00
|
|
|
apt-get install 0ad -y
|
2017-05-16 13:59:21 +02:00
|
|
|
|
|
|
|
# 1. Add the Spotify repository signing key to be able to verify downloaded packages
|
|
|
|
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
|
|
|
|
|
|
|
|
# 2. Add the Spotify repository
|
|
|
|
echo deb http://repository.spotify.com stable non-free | tee /etc/apt/sources.list.d/spotify.list
|
|
|
|
|
|
|
|
# 3. Update list of available packages
|
|
|
|
apt-get update
|
|
|
|
|
|
|
|
# 4. Install Spotify
|
2017-05-23 00:06:08 +02:00
|
|
|
apt-get install spotify-client -y
|
2017-05-16 13:59:21 +02:00
|
|
|
|
|
|
|
# dd bs=4M if=2017-03-02-raspbian-jessie.img of=/dev/sdd status=progress && sync
|
|
|
|
|
2017-06-02 22:26:26 +02:00
|
|
|
dpkg -i packages/*.deb
|
|
|
|
apt install -f
|
|
|
|
|
|
|
|
apt autoremove
|
|
|
|
|
|
|
|
echo "deb http://ftp.de.debian.org/debian/ jessie main contrib non-free" > /etc/apt/sources.list
|
|
|
|
|
|
|
|
# jessie-backports
|
|
|
|
echo "deb http://ftp.de.debian.org/debian jessie-backports main contrib non-free" >> /etc/apt/sources.list
|
|
|
|
|
|
|
|
apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
|
|
|
|
|
|
|
|
# apt-get install -t jessie-backports linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
|
|
|
|
|
|
|
|
apt-get update
|
|
|
|
|
|
|
|
apt-get install -t jessie-backports nvidia-driver
|
|
|
|
|
2017-05-16 13:59:21 +02:00
|
|
|
mkdir -p /media/hdd
|
2017-05-29 06:19:13 +02:00
|
|
|
mkdir -p /home/simono41/Musik
|
|
|
|
mkdir -p /home/simono41/Bilder
|
|
|
|
mkdir -p /home/simono41/Dokumente
|
2017-06-02 22:26:26 +02:00
|
|
|
mkdir -p /home/simono41/Videos
|
2017-05-29 06:19:13 +02:00
|
|
|
mkdir -p /home/simono41/Downloads
|
2017-05-16 13:59:21 +02:00
|
|
|
echo "/dev/sda1 /media/hdd ext4 defaults 0 2" >> /etc/fstab
|
2017-05-23 00:06:08 +02:00
|
|
|
echo "/media/hdd/mnt/Musik /home/simono41/Musik none bind 0 0" >> /etc/fstab
|
|
|
|
echo "/media/hdd/mnt/Bilder /home/simono41/Bilder none bind 0 0" >> /etc/fstab
|
|
|
|
echo "/media/hdd/mnt/Dokumente /home/simono41/Dokumente none bind 0 0" >> /etc/fstab
|
|
|
|
echo "/media/hdd/mnt/Videos /home/simono41/Videos none bind 0 0" >> /etc/fstab
|
|
|
|
echo "/media/hdd/mnt/Downloads /home/simono41/Downloads none bind 0 0" >> /etc/fstab
|
2017-05-16 13:59:21 +02:00
|
|
|
|
|
|
|
# netbeans + jdk
|
|
|
|
# atom
|
|
|
|
# google-chrome
|
|
|
|
# steam
|
|
|
|
# minecraft
|
|
|
|
# discord
|
|
|
|
|
|
|
|
# gpg --recv-keys --keyserver hkp://pgp.mit.edu D9C4D26D0E604491
|
|
|
|
# gpg --recv-keys --keyserver hkp://pgp.mit.edu 5CC908FDB71E12C2
|