Ubuntu 18.04 LTS Host

Decrease Swappeness

vi /etc/sysctl.conf
vm.swappiness = 10
fs.inotify.max_user_watches = 524288

noatime – No last access time

Edit /etc/fstab

UUID=521c7c98-c15c-41da-9cab-3ec6f378d0ee /               ext4    noatime,errors=remount-ro 0       1

TLP TLP-RDW (For Battery saving)

sudo apt-get install tlp tlp-rdw

Linux Software RAID

sudo apt-get install mdadm

Sun JDK 7 and 8

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java7-installer

Node JS LTS

sudo apt-get install nodejs
sudo apt install npm

Common Tools

sudo apt-get install vlc browser-plugin-vlc
sudo apt-get install chromium-browser
sudo apt-get install ibus-table-cangjie3 ibus-table-cangjie3 ibus-table-quick
sudo apt-get install terminator git

PySVN – SVN Client

sudo apt-get install python-svn svn-workbench

Chrome Gnome Shell Extension

sudo apt-get install chrome-gnome-shell

# Install Pixel Saver to get rib of Gnome default titlebar
https://extensions.gnome.org/extension/723/pixel-saver/

Install Pycharm CE / IntelliJ CE / Chromium / Postman / Virtualbox / GParted / Sublime Text 3 / Filezilla via Ubuntu Software Centre

————- Below is out-dated and for reference only —————-

Linux KVM

sudo apt-get install qemu-kvm libvirt-bin virtinst bridge-utils cpu-checker virt-manager
# macvtap => Fail Host to Guest => create an isolated network solve the issue

Sublime Text3

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Install Shrew Soft VPN Client

sudo apt-get install ike ike-qtgui

Enable Unity Workspaces

Settings => Appearence => Enable workspaces

Chrome

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update 
sudo apt-get install google-chrome-stable

Chromium Flash

sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashplugin-nonfree –install

Docker.io

sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

sudo apt-get update
sudo apt-get install docker.io docker-compose
sudo docker run hello-world
sudo usermod -a -G docker $USER
# portainer = GUI for docker management
docker run -d -p 9000:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/portainer:/data portainer/portainer
docker kill ~name~

NodeJS

sudo apt-get install python-software-properties
curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm

Wine (For Office and Skype)

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.8 winetricks

The following are old script for 14.04 or I don’t use it temporarily

AMD Driver

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install fglrx

Grive

sudo add-apt-repository ppa:nilarimogard/webupd8  
sudo apt-get update  
sudo apt-get install grive

Set AMD Driver to use Tear free

Open Catalyst Control Center, switch to Display Options and enable Tear Free Desktop mode.

RDesktop (Personally I like this one more than Remmina

sudo apt-get install rdesktop
rdesktop -u~username~ -p~password~ -g1024x768 ~ip address~

Virtualbox and expansion pack

wget -q -O – http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc | sudo apt-key add –
sudo sh -c ‘echo “deb http://download.virtualbox.org/virtualbox/debian utopic non-freeedit  contrib” >> /etc/apt/sources.list.d/virtualbox.org.list’
sudo apt-get install virtualbox
sudo usermod -G vboxusers -a $USER

Z-Ram

sudo apt-get install zram-config

sudo gedit /usr/bin/init-zram-swapping

# Reduce SWAP space to half
mem=$(((totalmem / 2 / ${NRDEVICES}) * 1024))
v
mem=$(((totalmem / 2 / ${NRDEVICES}) * 512))