Install

Automatic installation scripts for Ubuntu / Linux
https://louwrentius.com/understanding-the-ubuntu-2004-lts-server-autoinstaller.html
https://github.com/panticz/installit

Run late_command script manually

wget -q --no-check-certificate https://raw.githubusercontent.com/panticz/preseed/master/late_command.sh -O - | sudo bash -s #00:11:22:33:44:55

Create pressed autoinstall CD

wget -q https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/create.netinstall.ubuntu.cd.sh -O - | bash -

Post install second OS over KVM

sudo kvm -m 512 -hda /dev/sda -net nic,macaddr=$(LANG=en; ifconfig eth0 | grep "HWaddr" | tr -s " " | cut -d" " -f5) -net user -smp 2

Install default applications

# todo
# /tmp/debconf-answer.txt
# accept java licence
# sun-java6-bin shared/accepted-sun-dlj-v1-1    boolean true
apt-get -y install thunderbird vlc sun-java6-jre smbfs sun-java6-plugin bluefish putty tofrodos imagemagick p7zip-full smartmontools hwinfo lshw nfs-common rtorrent k9copy

gtk-recordmydesktop - Screencast creation for linux
unetbootin - create USB boot pen wirh different distributions

Packages
searchmonkey - powerful text searches on Linux using regular expressions
dosfstools - Utilities to create and check MS-DOS FAT filesystems
apt-get install gnome-do gnome-do-plugins
tofrodos - Converts DOS <-> Unix text files, alias tofromdos (dosfstools)
radiotray - Radio Tray is a simple streaming music player
apt-get install cclive - command line media download tool with low footprint (download YouTube videos)

Fonts

sudo apt-get install msttcorefonts
sudo apt-get install ttf-ubuntu-title
Ubuntu font directory:
/usr/share/fonts/truetype

Fix Java plugin in Hardy (only i386)

apt-get remove icedtea-gcjwebplugin
apt-get install -y sun-java6-plugin

Netboot install from harddisk

wget http://archive.ubuntu.com/ubuntu/dists/vivid/main/installer-amd64/current/images/netboot/boot.img.gz
gzip -d boot.img.gz
dd if=boot.img of=/dev/sda

Ubuntu tweak

URL=http://ubuntu-tweak.googlecode.com/files/ubuntu-tweak_0.4.7.1-1%7Ejaunty1_all.deb
wget ${URL} -P /tmp
sudo dpkg -i /tmp/ubuntu-tweak_*.deb

UMTS access

apt-get install nxclient network-manager-openvpn 
wget http://64.34.161.181/download/3.2.0/Linux/nxclient_3.2.0-14_i386.deb -P /tmp/
dpkg -i /tmp/nxclient*.deb
chmod 755 /usr/lib/cups/backend/ipp
rm /tmp/nxclient*.deb
#setserial wvdial

Wine
sudo add-apt-repository ppa:ubuntu-wine/ppa
http://wiki.winehq.org/AdobePhotoshop - Photoshop Wine HowTo
http://www.adobe.com/support/downloads/detail.jsp?ftpID=1957 - Photoshop Updates
http://download.adobe.com/pub/adobe/photoshop/win/7.x/ps701up.exe
http://download.adobe.com/pub/adobe/photoshop/win/cs2/Photoshop_CS2.exe - Adobe Photoshop CS2 (trial version) much slower under Wine then Photoshop 7.0

# vineyard
sudo add-apt-repository ppa:cybolic/vineyard-testing
sudo apt-get update && sudo apt-get install vineyard

IE 6

sudo apt-get install wine cabextract
wget http://www.kegel.com/wine/winetricks
sh winetricks ie6
wine .wine/drive_c/Programme/Internet\ Explorer/iexplore.exe

Thunderbird / Firefox command options
https://developer.mozilla.org/En/Command_Line_Options

Preseed
https://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install
http://wiki.contribs.org/PXE_booting_to_BARTPE

aircrack
sudo apt-get install aircrack-ng

Ubuntu Packages
apt-get install -y ubuntu-netbook-remix

Other apps...

sudo apt-get install nautilus-image-converter

Rip Audio CD

# http://wiki.ubuntuusers.de/jRipper
sudo apt-get install icedax lame
wget http://www.rbri.org/jripper/jripper_1_02_1.jar
java -jar jripper_1_02_1.jar 

View space usage

dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n | grep -v deinstall | awk '{printf "%.3f MB \t %s\n", $2/(1024), $1}' | tail -n 10

force remove package

dpkg --remove --force-remove-reinstreq PACKAGE_NAME

install cron without recommends

apt-get install cron -y --no-install-recommends

Insall sshfs

sudo apt-add-repository universe
sudo apt update
sudo apt-get install -y sshfs
sshfs -o ServerAliveInterval=15 root@www.example.com:/var/www/ /mnt

etope lister

wget -q https://download.etope-lister.com/linux/etopeLister.deb -O /tmp/etopeLister.deb
sudo apt install -y libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5
sudo dpkg -i /tmp/etopeLister.deb

hamster-applet
https://github.com/holderl5/docker-hamster
https://github.com/projecthamster/hamster

Terminator and terminator-split
https://github.com/AlekseyChudov/terminator-split

# Install
sudo apt install -y terminator python-is-python3
sudo wget https://raw.githubusercontent.com/AlekseyChudov/terminator-split/master/terminator-split -qO /usr/bin/terminator-split
sudo sed -i 's|/usr/bin/python|/usr/bin/python3|g' /usr/bin/terminator-split
sudo chmod 755 /usr/bin/terminator-split
 
# test
terminator-split -m www{1..4}.example.com

Links
http://sourceforge.net/projects/nagstamon/ - Nagios status monitor