Dev Environment for Ubuntu that sets up these tools-
- zsh
- Liquid Prompt
- vim
- All the base Vim plug-ins for Clojure
- emacs-25
- Screen
- Solarized Theme
- Inconsolata and Hermit fonts
Run setup.sh
A typical single HDD partitions can be done as shown below-
Here are some of the utilities-
- Setup Docker
- Setup Virtualbox
- Setup Vagrant
- Setup Nvidia-Prime-Bumblebee
- Setup Tensorflow
- Build Emacs25
- Restart Network
Here are some of the checklists and references that are always handy-
VirtualBox requires the components to be signed and key to be enrolled with to work with Secureboot. To do so, first generate the keys using the command-
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive name/"
Above command will generate two files MOK.priv
and MOK.der
. To sign
VirtualBox components execute the script
sign-vboxmods.sh
in the same folder where the MOK.*
files have been generated. Once you have
signed the components, you need to enroll the key (only once) as shown below-
sudo mokutil --import MOK.der
Now, reboot the machine, enrol the key from the manager screen and probe the component as shown below-
sudo modprobe vboxdrv
If you update your kernel, you need to make sure that all your DKMS modules are installed.
Run build-dkms-modules.sh
to fix one of these issues-
% dkms status
bbswitch, 0.8, 4.4.0-59-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-62-generic, x86_64: installed (WARNING! Diff between built
and installed module!)
bbswitch, 0.8, 4.4.0-64-generic, x86_64: installed (WARNING! Diff between built
and installed module!)
nvidia-375, 375.39, 4.4.0-59-generic, x86_64: installed
nvidia-375, 375.39, 4.4.0-62-generic, x86_64: installed (WARNING! Diff between
built and installed module!) (WARNING! Diff between built and installed module!)
(WARNING! Diff between built and installed module!) (WARNING! Diff between built
and installed module!)
nvidia-375, 375.39, 4.4.0-64-generic, x86_64: installed (WARNING! Diff between
built and installed module!) (WARNING! Diff between built and installed module!)
(WARNING! Diff between built and installed module!) (WARNING! Diff between built
and installed module!)
Follow the steps mentioned in the following wiki pages to setup signed Nvidia drivers and CUDA with Secure Boot: