Setup¶
Install¶
The latest jessie install as of Sept 02, 2014 is debian-jessie-DI-b1-amd64-netinst.iso. This already comes by default with systemd as the init.
During the install, select all defaults and just select SSH Server and Standard System Utilities in tasksel.
Basic Setup¶
- Enable force_color_prompt in .bashrc.
- Update apt lists and upgrade all packages.
- Login using su and install sudo.
- Add the following lines using visudo:
# User privilege specification
logicube ALL=(ALL:ALL) ALL
- Install avahi-daemon so we don’t have to remember IP address. We don’t have to use no recommends here since the list of packages it recommends is only one.
$ sudo aptitude install avahi-daemon
- Add UseDNS no to /etc/ssh/sshd_config and restart ssh service.
systemd¶
- Create /var/log/journal where systemd can store persistent journals.
- The directory should be owned by systemd-journal.
$ sudo chgrp systemd-journal /var/log/journal
- Fix the permissions for this group so that any user that is a member of systemd-journal should be able to access it.
$ sudo chmod g+rwx /var/log/journal
- Add the user to the systemd-journal group:
$ sudo usermod -a -G systemd-journal logicube
- Reboot the system using systemctl reboot.
Enlightenment¶
- Install basic X, use -R to not install recommended packages:
$ sudo aptitude install -R xserver-xorg xserver-xorg-core xinit xinput xserver-xorg-video-intel xserver-xorg-input-evdev x11-utils
- Install e17:
$ sudo aptitude install -R e17 fonts-droid librsvg2-common
- Install a small display manager CDM
https://wiki.archlinux.org/index.php/CDM.
- Install dialog package as a dependency.
- Install git (–without-recommends) to get the latest CDM from https://github.com/ghost1227/cdm.
- Clone cdm to /tmp.
- Run sudo ./install.sh.
sudo cp /usr/share/doc/cdm/profile.sh /etc/profile.d/zzz-cdm.sh
chmod +x /etc/profile.d/zzz-cdm.sh
- This procedure doesn’t work, CDM gets stuck.
- Install nodm. Edit /etc/default/nodm and set NODM_ENABLED to true. Finally, change NODM_USER to logicube. Reboot the system.
Applications¶
- Install chromium with recommended packages.
- Install rxvt-unicode-256color.
- Create .Xdefaults with the following settings:
URxvt.font: xft:Droid Sans Mono:style=Regular:pixelsize=15
!URxvt*letterSpace : -1
! make a scrollbar that's nearly black
URxvt*scrollBar: false
URxvt*scrollBar_floating: true
URxvt*scrollBar_right: false
URxvt*scrollColor: #202020
URxvt*urllauncher: chromium
! matcher.button # 3 is a right-click
URxvt*matcher.button: 3
URxvt*saveLines: 8192
URxvt.perl-ext-common: default,matcher
! Theme
URxvt*background: #000000
URxvt*foreground: #ffffff
- Install vim and vim-gtk with recommended packages.
- Install lxde-icon-theme, lxappearance, gnome-themes with recommended packages.
- Install cifs-utils for mount.cifs without recommended packages.