xubuntu-desktop is now my preferred "light" distro
apt-get install build-essential elinks unzip unrar nano curl python-setuptools ntp rcconf dialog apt-get install xubuntu-desktop chromium-browser leafpad filezilla python2.7 byobu # lubuntu-desktop apt-get install libreoffice vlc arandr remmina openvpn icedtea-7-plugin apt-get install icedtea-7-jre icedtea-7-jdk
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
sudo curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
leafpad = text notepad, filezilla = ftp, byobu = console multiscreen, elinks=cli browser,
vlc = movies/music, icedtea = open java (plugin = browser java), arandr = multi display gui config, remmina = rdp client, openvpn = openvpn client
build-essential = gcc compiler and other dev tools , jdk = java development kit
lubuntu 12.04 install on lenovo z570 boot screen graphics all messed up but blindly hitting enter (first default option) is livecd which boots fine (wifi drivers work out of the box, yay!)
MISTAKE: used installer to shrink the old 11.10 partition and create a new ext4 / partition where 12.04 is installed NOTE: a separate /boot partition is a legacy artifact, grub2 auto detects bootable disks/partitions when done and rebooted it started with the old /dev/sda1 and realized grub2 is installed there
NOTE: reordering partitions fdisk /dev/sda => a to toggle /dev/sda3 as bootable -> x for expert mode -> f (fixes the names to reflect the order) -> w
INSTEAD TO CHANGE PARTITION NUMBERS OR ORDERING: GPARTED and FDISK
lubuntu livecd + systemtools -> gparted = resize (shrink) and move old partition to end of disk
RUN THE INSTALLER but at the end, DO NOT REBOOT, instead... (this resolves the boot error: GRUB: "invalid arch independent ELF magic")
fdisk /dev/sda -> p to show you have /dev/sda1 and /dev/sda2 -> a to toggle boot for /dev/sda1 (make the newly installed OS bootable!) sudo mount /dev/sda1 /mnt grub-install --root-directory=/mnt /dev/sda
REBOOT (the menu should show you both the new installation at sda1 as the default AND the old installation at sda2) ( NOTE: blkid will show you /dev/sda2: UID="91aa0...." TYPE="ext4" )
if connected to the internet it will prompt for updates, that's probably good
sudo nano /etc/fstab
UUID=91aa... / ext4 noatime,discard,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,noatime 0 0 tmpfs /var/tmp tmpfs defaults,noatime 0 0 tmpfs /var/log tmpfs defaults,noatime 0 0
none /var/cache unionfs dirs=/tmp:/var/cache=ro 0 0
NOTE: http://kittyandbear.net/linux/linux-ssd-optimization.txt
TODO: customize terminal colors and bash/vi color schemes install eclipse