Table of Contents

Configuration files

https://github.com/cedricbonhomme/dotfiles

Mirrors

deb http://http.debian.net/debian jessie main contrib non-free
#deb-src http://http.debian.net/debian jessie main contrib non-free
 
deb http://http.debian.net/debian jessie-updates main contrib non-free
#deb-src http://http.debian.net/debian jessie-updates main contrib non-free
 
deb http://security.debian.org/ jessie/updates main
#deb-src http://security.debian.org/ jessie/updates main

Packages to install

# apt-get install firmware-linux
 
# apt-get install ttf-freefont ttf-mscorefonts-installer ttf-bitstream-vera ttf-dejavu ttf-liberation

Firewall

Backup your actual iptables rules ( my firewall):

# iptables-save > /etc/iptables.rules

Create a systemd service for iptables:

# cat /etc/systemd/system/iptables.service 
[Unit]
Description=Firewall
After=network.target
 
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/sh -c "/sbin/iptables-restore < /etc/iptables.rules"
 
[Install]
WantedBy=multi-user.target

Enable the new service:

# systemctl enable iptables.service
# systemctl restart iptables.service
 
# systemctl list-unit-files | grep iptables 
iptables.service                           enabled
 
# systemctl status iptables.service
● iptables.service - Firewall
   Loaded: loaded (/etc/systemd/system/iptables.service; enabled)
   Active: active (exited) since Mon 2015-05-11 07:40:14 CEST; 11min ago
 Main PID: 3307 (code=exited, status=0/SUCCESS)

fstab

//listfileserver.private.list.lu/LIST /media/LIST cifs credentials=/etc/LIST/.smbcredentials,uid=cedric,gid=cedric 0 0