Getting Ubuntu 12.04 LTS, Django, and Heroku to all play nicely together
Personally, I used VMWare Workstation 8 to host my Ubuntu machine, so I will include some instructions for that as well.
Part 1: Setup
Open: C:\ProgramData\VMware\VMware Workstation\config.ini (Windows 7)
Add the following:
prefvmx.minVmMemPct = "100" mainMem.useNamedFile = "FALSE" mainMem.partialLazySave = "FALSE" mainMem.partialLazyRestore = "FALSE"
Note: This will prevent a long shutdown process for your vm.
Install ubuntu 12.04 LTS
After boot, login (command line), and enter the following:
sudo mv /etc/issue.backup /etc/issue
sudo mv /etc/rc.local.backup /etc/rc.local
sudo mv /opt/vmware-tools-installer/lightdm.conf /etc/init
Note: This gets you past the issues with VMWare Tools Easy Install
sudo shutdown -h 0
Make sure settings of vm set cd / floppy to physical
Install vmware tools & reboot (optional)
sudo apt-get update && sudo apt-get...
Continue reading →