CrunchBang

WELCOME SCRIPT:

  $ cbpp-welcome  # crunchbang
  $ bl-welcome    # bunsenlabs

UPDATES & UPGRADES:

  $ sudo apt-get update
  $ sudo apt-get upgrade
  $ sudo apt-get dist-upgrade
  # for apt-get-repository
  $ sudo apt-get install software-properties-common python-software-properties

KERNEL:

  $ sudo apt-get install linux-headers-*-all

VIRTUALBOX:

  # $ sudo apt-get install virtualbox-guest-dkms virtualbox-guest-additions-iso
  # enable vboxservice
  $ sudo systemctl enable vboxservice
  Devices > Insert Guest Additions CD image
  $ cd /media/cdrom0
  # if no media found error, remove secondary IDE drive:
  $ sudo apt-get install dkms make perl gcc
  $ sudo mount /dev/cdrom /media/cdrom
  # run install
  $ sudo sh VBoxLinuxAdditions.run
  $ sudo reboot

CAPSLOCK ISSUE:

  $ nano ~/.config/openbox/autostart
  <~/.config/openbox/autostart>
      # comment out the following line
      setxkbmap -option ctrl:nocaps

RUNNING 32-BIT PROGRAMS ON A 64-BIT ARCH SYSTEM:

  $ sudo dpkg --add-architecture i386
  $ sudo apt-get update
  $ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
  #$ sudo apt-get install multiarch-support

# UPGRADING FROM HYDROGEN TO HELIUM:

  $ sudo nano /etc/apt/sources.list
  # comment out all jessie sources and add stretch
      deb http://deb.debian.org/debian stretch main non-free contrib
      deb http://deb.debian.org/debian stretch-backports main non-free contrib
      deb http://deb.debian.org/debian stretch-updates main non-free contrib
      deb http://deb.debian.org/debian-security stretch/updates main contrib non-free
  $ sudo apt update
  $ sudo apt upgrade
  $ sudo apt dist-upgrade
  $ sudo reboot

CHANGING HOSTNAME:

  $ sudo hostname $new_host
  $ sudo nano /etc/hosts
      127.0.1.1 $new_host.$new_host $new_host
  $ sudo nano /etc/hostname
   $new_host
  $ sudo /etc/init.d/networking restart