Posts

Showing posts with the label windows

Postgresql on OSX and Windows (using VMware fusion)

NB! I decided not to use this setup after all. I had different problems with postgres, authentication and lion. I am not sure why this happened. I decided to still publish this in case anyone finds it (or parts of it) useful. Now I setup a port forward to a Linode VPS with Bitvise Tunnelier  which is free for non-commercial use. Original post: -------------------------------------------------------------------------------------------------------------------------------- I wanted to setup a postgresql server on my mac os x, but also share it with my virtual Windows machine. Whenever I want to code in C# I use Visual Studio on Windows, and since I run Postgres on Linux i wanted a "similar setup" on my development machine. To do this you need to have OS X installed with VMware Fusion and a virtual machine with Windows. The following 3 steps will be performed. 1. Verifying setup 2. We install postgresql on Mac os x 3. We configure VMware to use a static Ip-Address, to ...

Installing virtual box

Installing and setting up virtual box was not without pain, but once I finally got it running i was very happy with its performance. Also I didn't experience any problems with sudden restarts etc. It could easily run 10 machines on my 8gb of ram. I have had problems with many other approaches to installing virtual box! Do note that I have experienced Windows virtual machines becoming corrupt, perhaps due to my underlying filesystem (ext4) which I have found people advice against. Here are some of my notes. How to set up virtual box from scratch with auto-start. Ensure you have the latest updates $ sudo apt-get update Install dkms to ensure upgrades in the future don't trouble us $ sudo apt-get install dkms (Optional) Make sure your system is up-to-date $ apt-get upgrade Download the package Find the package by www-browser (remember it must match platform and version) $ sudo www-browser www.virtualbox.org put it on disk and call it virtua...