*
: Included in the image
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7bb4c15f
Device Boot Start End Sectors Size Id Type Mount
/dev/nvme0n1p1 * 2048 999423 997376 487M ef EFI (FAT-12/16/32)
/dev/nvme0n1p2 234375168 242374655 7999488 3.8G 82 Linux swap / Solaris
/dev/nvme0n1p3 242374656 1000214527 757839872 361.4G 83 Linux
/dev/nvme0n1p4 999424 234375167 233375744 111.3G 83 Linux
/dev/nvme0n1p4 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/nvme0n1p3 on /home type ext4 (rw,relatime,data=ordered)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
- Download Ubuntu GNOME 16.04 LTS - Download
- Create bootable USB Flash - How to create a bootable USB stick on OS X
- Install in UEFI Boot mode
If machine does not boot after installing:
- press shift while grub is loading (during bootup). this will give you the grub prompt.
- select "Advanced options for Ubuntu"
- select "recovery mode"
- select "resume"
- Now the gui is partially be available but not fully operable.
- switch to console (ctrl+alt+f1)
- login as wlinstall or your own user
- enter
startx
to start the gui environment correctly - open terminal and run
sudo ubuntu-drivers autoinstall
sudo reboot
sudo dpkg-reconfigure nvidia-361
sudo dpkg-reconfigure nvidia-361-uvm
sudo rm /var/crash/nvidia*
sudo apt-get install aptitude
sudo apt-get update
sudo apt-get upgrade
sudo aptitude install ubuntu-restricted-extras
sudo ubuntu-drivers autoinstall
Use gdm3
as login manager
sudo dpkg-reconfigure gdm3
Edit the following lines in /etc/default/grub
to look like this:
# GRUB_HIDDEN_TIMEOUT=0
# GRUB_HIDDEN_TIMEOUT_QUIET=true
Run sudo update-grub
Replace --uid 1000
with your UserID.
sudo adduser --uid 1000 --gid 100 username
sudo adduser username adm
sudo adduser username sudo
sudo adduser username cdrom
sudo adduser username plugdev
sudo adduser username dip
sudo adduser username lpadmin
sudo adduser username sambashare
sudo adduser username wireshark
create a resource folder
mkdir ~/resources
create a tools folder
mkdir ~/tools
Change UMASK to 002 in /etc/login.defs
. Reboot to apply the changes.
Set the default locale to en_US.UTF-8
in /etc/default/locale
sudo vi /etc/default/locale
LANG="en_US.UTF-8"
LANGUAGE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
- applications > system tools > software & updates
- When there are security updates: download and install automatically
- applications > system tools > software updater
- run update
reboot
make any changes before exit 0
sudo vi /etc/rc.local
-> add "rfkill block bluetooth"
sudo aptitude install chromium-browser wireshark gimp subversion-tools maven openjdk-8-jdk apache2 imagemagick feh php libapache2-mod-php netcat iperf iptables iotop vlc curl gcc g++ xmlstarlet ghostscript make xsltproc openssh-server dconf-editor texmaker texlive-fonts-recommended git nmap unzip shutter texlive-full
sudo aptitude install gnuplot links2 lynx okular netem cifs-utils sketch
sudo aptitude install openvpn vpnc network-manager-vpnc network-manager-openvpn brasero
sudo aptitude install wv xlhtml ppthtml shared-mime-info libxml-parser-perl libexpat-dev poppler-utils automake libtool byacc flex libswitch-perl gettext gettext-base
To use automount proceed like this. Create folder data
mkdir /data
change /etc/auto.master
to look like this.
$ cat /etc/auto.master
/data /etc/auto.cifs-shares --ghost
change /etc/auto.cifs-shares
to look like this.
$ cat /etc/auto.cifs-shares
share1 -fstype=cifs,rw,credentials=/etc/fstab.credentials,file_mode=0664,dir_mode=0775,uid=username,gid=users ://srv.domain.ch/share1\$
share2 -fstype=cifs,rw,credentials=/etc/fstab.credentials,file_mode=0664,dir_mode=0775,uid=username,gid=users ://srv.domain.ch/xyz\$
Note:
/etc/auto.cifs-shares
and /etc/auto.master
must have permissions 644
I'm not sure if you have to create the following folders yourself
- /data/share1
- /data/share2
sudo service autofs start
only available if cinnamon is installed
- open
dconf-editor
- Desktop > ibus > general > hotkey
- The trigger and triggers setting will show
control+space
. Edit these settings out, being careful to leave empty brackets[]
in triggers.
- The trigger and triggers setting will show
sudo add-apt-repository ppa:tsvetko.tsvetkov/cinnamon
- In order to get the full Cinnamon experience you may also install the Cinnamon/Mint themes as well as the Mint icons/backgrounds.
- More info: here
sudo apt-get update
sudo aptitude install cinnamon
logout and use cinnamon as Desktop
- Menu > System Settings
- Hot Corners * tl: desktop, tr: show all windows, br: show all workspaces
- Panel * Panel Layout: Flipped * Use customized panel size * Allow scale * top panel height: ~1/3
- Date and Time * Display the Date
- Applets * Remove Keyboard * Add workspace switcher
- Desktop * Mounted volumes
- Keyboard * Layouts: German (Switzerland) * Shortcuts: Super+e Terminal, Super+w Home Folder, Super+l Lock
- Mouse * Touchpad: Disable Touchpad while typing, Scrolling two finger scrolling, enable horizontal scrolling
- Bluetooth * turn off
- Power Management * When battery is critical: power off
- Firewall * Profile Office rename to company * Enable Firewall and allow only 22, 80, 443, 8080 for inline traffic.
change every occurance of title_vertical_pad
to 4
(except second occurance which should be 3
).
sudo vi /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
Restart Cinnamon: ALT+F2 -> r
wget -O /tmp/term.conf http://dev.shaped.ch/terminal.conf
gconftool-2 --load /tmp/term.conf
Keep backups for 30 days only
gsettings set org.gnome.DejaDup delete-after 30
Install and change default shell
sudo apt-get install zsh
chsh -s /bin/zsh
Install Oh My ZSH and Powerline fonts
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)
sudo apt-get install fonts-powerline
vim ~/.zshrc
Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]
ZSH_THEME="agnoster"
dconf
is required if you don't already have it.
sudo apt-get install dconf-cli
git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git ~/.solarized
cd ~/.solarized
./install.sh
- I recommend you option 1 (dark theme) which is just great.
- Choose option 1 to download seebi' dircolors-solarized
After installation, open .zshrc
and add the line:
eval `dircolors ~/.dir_colors/dircolors`
sudo aptitude install docker
Change the bridge interface ip edit /etc/docker/daemon.json
to include the bip
setting
{
"bip": "192.168.252.1/24"
}
sudo aptitude install git
git config --global user.name "NAME"
git config --global user.email "EMAIL"
ssh-keygen -t rsa -C "EMAIL"
paste the generated key to github account. verify with:
ssh -T [email protected]
Hi xy! You've successfully authenticated, but GitHub does not provide shell access.
Install VIM instead of VI
sudo aptitude install vim
Download configuration
cd ~/
wget -O ~/.vimrc http://dev.shaped.ch/vimrc
Set default editor to vim.basic
using:
sudo update-alternatives --config editor
mkdir ~/.vim
cd ~/.vim
wget -O airline-master.zip https://github.com/bling/vim-airline/archive/master.zip
unzip airline-master.zip
mv vim-airline-master/* ~/.vim/
wget -O emmet-master.zip https://github.com/mattn/emmet-vim/archive/master.zip
unzip emmet-master.zip
cp emmet-vim-master/plugin/emmet.vim ~/.vim/plugin/
cp emmet-vim-master/autoload/emmet.vim ~/.vim/autoload/
cp -a emmet-vim-master/autoload/emmet ~/.vim/autoload/
cd ~/.vim
wget -O supertab-master.zip https://github.com/ervandew/supertab/archive/master.zip
unzip supertab-master.zip
cp supertab-master/plugin/supertab.vim ~/.vim/plugin/
cp supertab-master/plugin/supertab.vim ~/.vim
wget -O ~/.bashrc http://dev.shaped.ch/bashrc
source ~/.bashrc
- Download Apache Tomcat 7 to
~/resources
- Download intellij to
~/tools
- Download eclipse to
~/tools
- Download rubymine to
~/tools
tar -xvzf ideaIU-14.1.1.tar.gz
ln -s ~/tools/idea-IU-141.178.9/ ~/idea
Import the settings for Jetbrains IntelliJ
wget -O intellij-settings.jar http://dev.shaped.ch/intellij-settings.jar
Now use File
> Import Settings
to import the settings in IntelliJ
tar -xvzf eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz
mv eclipse eclipse-luna
ln -s ~/tools/eclipse-luna/ ~/eclipse
tar -xvzf RubyMine-7.0.4.tar.gz
ln -s ~/tools/RubyMine-7.0.4/ ~/rubymine
- Downlaod and install jprofiler7 to
~/tools
- License Available
- Downlaod and install VisualParadigm 11.1 to
~/tools
- Use Perpertual Licence
- Downlaod and install VisualVM to
~/tools
- Downlaod and install JMeter to
~/tools
- Downlaod and install Apache Luke to
~/tools
sudo apt-add-repository -y "deb http://repository.spotify.com stable non-free"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
sudo apt-get update -qq
sudo aptitude install spotify-client
- Software & Updates > Other Software > Enable "Canonical Partners"
sudo aptitude install skype
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo aptitude install sublime-text
After reinstalling Ubuntu 16.04 LTS I ran the sudo Ubuntu driver auto install and it fixed my driver's. Thank you for finding that. NOW I CAN BOOT WITHOUT NEEDING RECOVERY MODE OR NOMODESET