Jump to:
1. First steps
2. Install some extremelly important stuff
3. JAVA JRE installation
4. Install fluxbox
5. Install LightDM and/or SLIM greeters
6. Set-up Debian Backports repository
1. First steps
As root, execute the following commands.
# Add users to list:
foo ALL=(ALL:ALL) ALL
Now, as normal user install the following useful stuff:foo ALL=(ALL:ALL) ALL
# enable bash completion in interactive shells
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
Updating repository list. First install debian-keyring.if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
deb http://ftp.pt.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.pt.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.pt.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.pt.debian.org/debian/ wheezy-updates main contrib non-free
### 3RD PARTY REPOS
## deb-mutimedia (see http://www.deb-multimedia.org/debian-m)
deb http://ftp.eq.uc.pt/software/unix/Linux/deb-multimedia/ stable main
deb-src http://ftp.eq.uc.pt/software/unix/Linux/deb-multimedia/ stable main
## Google
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/talkplugin/deb/ stable main
## Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free
## VirtualBox (see https://www.virtualbox.org/wiki/Linux_Downloads)
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
Update the repositories cache:deb-src http://ftp.pt.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.pt.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.pt.debian.org/debian/ wheezy-updates main contrib non-free
### 3RD PARTY REPOS
## deb-mutimedia (see http://www.deb-multimedia.org/debian-m)
deb http://ftp.eq.uc.pt/software/unix/Linux/deb-multimedia/ stable main
deb-src http://ftp.eq.uc.pt/software/unix/Linux/deb-multimedia/ stable main
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/talkplugin/deb/ stable main
## Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free
## VirtualBox (see https://www.virtualbox.org/wiki/Linux_Downloads)
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
W: GPG error: http://ftp.eq.uc.pt stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
Add each of the missing public keys. Exemplifying for the deb-mutimedia repository, we know that the key for this repository is 07DC563D1F41B907, as stated in the error. Thus,2. Install some extremelly important stuff
Tools I need in my system.3. JAVA JRE installation
First make sure all openjdk java versions are installed.3.a As in https://wiki.debian.org/JavaPackage
Check both wiki.debian.org/JavaPackage and https://d.stavrovski.net/blog/installing-oracle-java7-on-debian-wheezy. Find the latest version number in www.oracle.com/technetwork/java/javase/downloads. In the present case this was--header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" \
"http://download.oracle.com/otn-pub/java/jdk/7/jdk-7u45-linux-x64.tar.gz" \
-O /tmp/jdk-7u45-linux-x64.tar.gz --no-check-certificate
--header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" \
"http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u45-linux-i586.tar.gz" \
-O /tmp/jdk-7u45-linux-i586.tar.gz --no-check-certificate
3.b Using the one from webupd8team (same as for Ubuntu)
Referring to www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html:3.c Using the one from duinsoft
Referring to www.fandigital.com/2012/07/install-latest-java-in-debian-ubuntu.html :4. Install fluxbox
Install fluxbox:Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/bin/openbox 90 auto mode 1 /usr/bin/openbox 90 manual mode 2 /usr/bin/startfluxbox 50 manual mode Enter to keep the current selection[*], or type selection number:
Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/startlxde 50 auto mode 1 /usr/bin/lxsession 49 manual mode 2 /usr/bin/openbox-session 40 manual mode * 3 /usr/bin/startfluxbox 30 manual mode 4 /usr/bin/startlxde 50 manual mode Enter to keep the current selection[*], or type selection number:
NOTE: If any of the startfluxbox pointer is missing, add them:
For x-window-manager:
x-window-manager /usr/bin/startfluxbox 30 \
--slave /usr/share/man/man1/x-window-manager.1.gz \
x-window-manager.1.gz /usr/share/man/man1/fluxbox.1.gz
x-session-manager /usr/bin/startfluxbox 30 \
--slave /usr/share/man/man1/x-session-manager.1.gz \
x-session-manager.1.gz /usr/share/man/man1/fluxbox.1.gz
#!/bin/bash ############### # # ~/.xinitrc # Executed by startx (run your window manager from here) # ############### if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi ## SET LOGIN MANAGER exec startfluxbox ## SET MOUSE xset m 2 10 & ## RESTORE AUDIO LEVELS restore_alsa() { while [ -z "`pidof pulseaudio`" ]; do sleep 0.5 done alsactl -f /var/lib/alsa/asound.state restore } restore_alsa &
5. Install LightDM and/or SLIM greeters
5.a LightDM
Install LightDM
[greeter]
background=/usr/share/images/desktop-base/login-background.svg
If it points to background=/usr/share/images/desktop-base/login-background.svg
5.b SLIM
hidecursor false current_theme debian-joy sessions /usr/bin/startfluxbox,/usr/bin/openbox-session,/usr/bin/startlxde
6. Set-up Debian Backports repository
Quoting fromBackports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates), so they will run without new libraries (wherever it is possible) on a stable Debian distribution. It is recommended to pick out single backports which fit your needs, and not to use all backports available.Add Backports repository. Edit
deb http://ftp.pt.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.pt.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.pt.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.pt.debian.org/debian/ wheezy-updates main contrib non-free
## BACKPORTS REPOSITORY deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
### 3RD PARTY REPOS
## deb-mutimedia (see http://www.deb-multimedia.org/debian-m)
deb http://ftp.eq.uc.pt/software/unix/Linux/deb-multimedia/ stable main
deb-src http://ftp.eq.uc.pt/software/unix/Linux/deb-multimedia/ stable main
## Google
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/talkplugin/deb/ stable main
## Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free
## VirtualBox (see https://www.virtualbox.org/wiki/Linux_Downloads)
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
Update the repositories cache:deb-src http://ftp.pt.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.pt.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.pt.debian.org/debian/ wheezy-updates main contrib non-free
## BACKPORTS REPOSITORY deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
### 3RD PARTY REPOS
## deb-mutimedia (see http://www.deb-multimedia.org/debian-m)
deb http://ftp.eq.uc.pt/software/unix/Linux/deb-multimedia/ stable main
deb-src http://ftp.eq.uc.pt/software/unix/Linux/deb-multimedia/ stable main
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/talkplugin/deb/ stable main
## Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free
## VirtualBox (see https://www.virtualbox.org/wiki/Linux_Downloads)
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
linux-headers-3.2.0-4-amd64 - Header files for Linux 3.2.0-4-amd64
linux-headers-3.2.0-4-rt-amd64 - Header files for Linux 3.2.0-4-rt-amd64
linux-image-3.2.0-4-amd64 - Linux 3.2 for 64-bit PCs
linux-image-3.2.0-4-amd64-dbg - Debugging symbols for Linux 3.2.0-4-amd64
linux-image-3.2.0-4-rt-amd64 - Linux 3.2 for 64-bit PCs, PREEMPT_RT
linux-image-3.2.0-4-rt-amd64-dbg - Debugging symbols for Linux 3.2.0-4-rt-amd64
linux-image-2.6-amd64 - Linux for 64-bit PCs (dummy package)
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
nvidia-kernel-3.2.0-4-amd64 - NVIDIA binary kernel module for Linux 3.2.0-4-amd64
linux-headers-3.2.0-4-amd64 - Header files for Linux 3.2.0-4-amd64
linux-headers-3.2.0-4-rt-amd64 - Header files for Linux 3.2.0-4-rt-amd64
linux-image-3.2.0-4-amd64 - Linux 3.2 for 64-bit PCs
linux-image-3.2.0-4-amd64-dbg - Debugging symbols for Linux 3.2.0-4-amd64
linux-image-3.2.0-4-rt-amd64 - Linux 3.2 for 64-bit PCs, PREEMPT_RT
linux-image-3.2.0-4-rt-amd64-dbg - Debugging symbols for Linux 3.2.0-4-rt-amd64
linux-image-2.6-amd64 - Linux for 64-bit PCs (dummy package)
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
nvidia-kernel-3.2.0-4-amd64 - NVIDIA binary kernel module for Linux 3.2.0-4-amd64
linux-headers-3.12-0.bpo.1-amd64 - Header files for Linux 3.12-0.bpo.1-amd64
linux-headers-3.12-0.bpo.1-rt-amd64 - Header files for Linux 3.12-0.bpo.1-rt-amd64
linux-headers-3.13-0.bpo.1-amd64 - Header files for Linux 3.13-0.bpo.1-amd64
linux-image-3.12-0.bpo.1-amd64 - Linux 3.12 for 64-bit PCs
linux-image-3.12-0.bpo.1-amd64-dbg - Debugging symbols for Linux 3.12-0.bpo.1-amd64
linux-image-3.12-0.bpo.1-rt-amd64 - Linux 3.12 for 64-bit PCs, PREEMPT_RT
linux-image-3.12-0.bpo.1-rt-amd64-dbg - Debugging symbols for Linux 3.12-0.bpo.1-rt-amd64
linux-image-3.13-0.bpo.1-amd64 - Linux 3.13 for 64-bit PCs
linux-image-3.13-0.bpo.1-amd64-dbg - Debugging symbols for Linux 3.13-0.bpo.1-amd64
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)
nvidia-kernel-3.12-0.bpo.1-amd64 - NVIDIA binary kernel module for Linux 3.12-0.bpo.1-amd64