Install Firefox in Debian

Add to /etc/apt/sources.list:

deb http://packages.linuxmint.com debian import 
apt-get update 
apt-get install firefox

Localized versions:

apt-get install firefox-l10n-en-us

On error "W: GPG error: http://packages.linuxmint.com debian Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3EE67F3D0FF405B2":

apt-key adv --recv-keys --keyserver pgp.mit.edu 3EE67F3D0FF405B2

(Alt keyservers: subkeys.pgp.net, keyserver.ubuntu.com)

Bash

Include hidden files in *:

shopt -s dotglob

Disable:

shopt -u dotglob

Debian Packages

  • unifont -- Install unicode fonts
  • mimms -- Download from MMS stream

Don't autostart gdm in Debian 7

update-rc.d -f gdm3 disable

Backups

http://www.aboutdebian.com/tar-backup.htm

mkdir backups
cd backups
vim fullserver.sh

fullserver.sh:

#!/bin/bash
TODAY=`date +%Y%m%d_%H%M%S%Z`

tar -cvzpf /backups/fullbackup_$TODAY.tar.gz --directory=/ --exclude=proc --exclude=sys --exclude=dev/pts --exclude=backups .

(save)

chmod +x fullserver.sh