Debian Jessie 8.7 Install

Visit Debian Homepage

articles/debian/debainlogo.png

Topic's

  • RAID
  • MATE-Desktop
  • Kodi
  • Nvidia driver
  • Auto login
  • Create user
  • Grub timeout
  • Unetbootin
  • Virtualbox
  • Qtox
  • SSH

Hardware

  • Asus P5QC+ GeForce GT 630
  • Acer Aspire-E5-571G

Adding users

adduser dev
usermod -a -G user dev

Extending source list

/etc/apt/sources.list

+ contrib non-free

Automatic login

/etc/lightdm/lightdm.conf

autologin-user=user

SSH server allow users

/etc/ssh/sshd_config

AllowUsers dev

RAID mdadm

create

# rootfs
mdadm --create --verbose /dev/md0 --level=0 --raid-devices=4 /dev/sda2 /dev/sdg2 /dev/sdh2 /dev/sdj2 
# swap might be already used
swapoff /dev/sda
# swap
mdadm --create --verbose /dev/md2 --level=0 --raid-devices=4 /dev/sda5 /dev/sdg5 /dev/sdh5 /dev/sdj5
# media
mdadm --create --verbose /dev/md1 --level=0 --raid-devices=4 /dev/sda6 /dev/sdg6 /dev/sdh6 /dev/sdj6

save configuration

mdadm --detail --scan

not sure when assamle have to be used, maybe after reboot if configuration was not saved

mdadm --assemble /dev/md1 /dev/sda2 /dev/sdg2 /dev/sdh2 /dev/sdj2

stopping

mdadm --stop /dev/md1

PC Nvidia driver

aptitude install nvidia-driver nvidia-settings nvidia-xconfig

Laptop Nvidia driver With Optimus

aptitude install nvidia-driver nvidia-settings bumblebee-nvidia

/etc/bumblebee/bumblebee.conf

Driver=nvidia
usermod -a -G bumblebee dev
optirun nvidia-settings -c :8

Disable password prompt for keyring, after auto login

aptitude install seahorse

store wifi password unencrypted

Install Kodi

/etc/apt/sources.list

deb http://http.debian.net/debian jessie-backports main

Install other

aptitude install build-essential deluge mc chromium kodi dconf-editor gufw caja-open-terminal

Laptop backlight

dconf-editor

backlight-enable [ v ] uncheck!

fstab and hosts

/etc/fstab
/ets/hosts

notify-send

aptitude install libnotify-bin

qtox

qtox-download-deb
aptitude install libqrencode3 libqt5core5a libqt5gui5 libqt5network5 libqt5opengl5 libqt5sql5 libqt5widgets5 libqt5xml5 qtbase-abi-5-3-2 libqt5svg5
dpkg -i ./qtox_201611180121-v1.6.0_amd64.deb

Virtualbox

aptitude install libqt5printsupport5 libqt5x11extras5
dpkg -i virtualbox-5.1_5.1.14-112924-Debian-jessie_amd64.deb

Unetbootin

https://unetbootin.github.io/linux_download.html
aptitude install mtools
mv unetbootin-linux64-625.bin /usr/local/sbin/

Grub timeout

/etc/default/grub

GRUB_TIMEOUT=0
update-grub