Set up for Ubuntu Server on MBP 10.1
- Use OS X to create a Ubuntu server bootable USB
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso
diskutil unmountDisk /dev/diskN
sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
- Install Refind
- Shrink OS X partition
- Aquire a thunderbolt-ethernet adaptor
- Install Ubuntu Server with ethernet.
- On choosing partitioning - select the created partition and delete it. Then choose guided on the largest continuous free space.
update and upgrade
apt-get install bcmwl-kernel-source
- edit /etc/init/failsafe.cong and comment out all lines relating to sleep to prevent stalling on startup without networking
- install wpasupplicant, if not already installed.
apt-get install wpasupplicant
wpapassphrase ssid psk >> /etc/wpa_supplicant.conf
- Add first line of wpa_supplicant.conf to read
ctrl_interface=/run/wpa_supplicant
- edit =/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -Dnl80211 -iwlan0 -B -c/etc/wpa_supplicant/wpa_supplicant.conf
post-down killall -q wpa_supplicant
iface default inet dhcp
apt-get install build-essential git imagemagick mutt openvpn git ssh xfce4-terminal youtube-dl vlc
sudo apt-get build-dep emacs24
wget http://ftp.gnu.org/gnu/emacs/emacs-24.4.tar.xz
tar -xvf emacs-24.4.tar.xz
cd emacs-24.4
./configure
make
sudo make install
- take .emacs and .emacs.d from this repo
echo 'deb http://build.i3wm.org/ubuntu/trusty trusty main' >> /etc/apt/sources.list
apt-get update
apt-get --allow-unauthenticated install i3-autobuild-keyring
apt-get update
apt-get install i3
- take
~/.i3/config
file from this repo
- Developers edition
add-apt-repository ppa:ubuntu-mozilla-daily/firefox-aurora
apt-get update & apt-get install firefox
- To edit DNS - open
/etc/dhcp/dhclinet.conf
prepend domain-nam-servers 8.8.8.8,8/8/8/4; #for instance
apt-get install openvpn
- Install alsa
sudo apt-get install alsa
- note - might also need alsa-utils and alsa-tools????
- edit
etc/modprobe.d/alsa-base.conf
and add to the end
options snd-hda-intel model=mbp101
- Then add yourself to the audio group
sudo adduser UserName audio
add-apt-repository ppa:detly/mactel-utils
apt-get update
apt-get install macfanctld