Skip to content

Instantly share code, notes, and snippets.

@frankIT
Last active November 8, 2017 21:13
Show Gist options
  • Save frankIT/809088c82e8a81a359d0 to your computer and use it in GitHub Desktop.
Save frankIT/809088c82e8a81a359d0 to your computer and use it in GitHub Desktop.
debian-netinst postinstall script
#!/bin/bash
# jessie/testing
packages=(
# base desktop
xorg
xfce4
# openbox
slim
# administration (CLI+DE)
sudo
openssh-server
iptables-persistent
htop
screen
smartmontools
lm-sensors
rsync
gdebi
gksu
bum
synaptic
terminator
gparted
x11vnc
# looking
dmz-cursor-theme
qt4-qtconfig
gtk3-engines-xfce
gtk2-engines
# many gtk3 themes use these engines for their own gtk2 version
gtk2-engines-murrine
gtk2-engines-pixbuf
# desktop goodies
network-manager-gnome
clipit
volumeicon-alsa
pavucontrol
# tint2
# basic file management
xarchiver
thunar-archive-plugin
tumbler-plugins-extra
catfish
scite
evince
viewnior
gvfs-backends # android MTP
# desktop apps
chromium
pepperflashplugin-nonfree
mplayer
vlc
transmission-gtk
keepassx
# development
eclipse # install PDT and smarty by hand
meld
apache2
libapache2-mod-php5
php5-mcrypt
php5-gd
php5-mysql
mysql-server
mysql-workbench
lftp
curlftpfs
filezilla
# NVIDIA propretary driver (*) export CC=/usr/bin/gcc-4.8 before run the installer
# gcc-4.8
# linux-source
# linux-headers-amd64
)
aptitude -R install "${packages[@]}"
usermod -a -G sudo fra
# no prompting password to mount with udev:
# /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
# <action id="org.freedesktop.udisks2.filesystem-mount-system">
# <allow_active>yes</allow_active>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment