SUSE on Mac
From Zanecorpwiki
This uses Mac OS X 10.5 (Leopard), Parallels Desktop 3.0, openSUSE 11.0 x86.
Note that only 32-bit SUSE works. Don't know why... I'm on a 64-bit computer with (what I thought was) a 64 bit host OS.
Installing Parallels is simple enough. I'm using SUSE as a development platform so I gave the virtual machine 1GB of memory (which I'll probably up to 1.5 or 2.0 later). The 32GB HD was good enough for my needs. I let the hard drive be dynamic.
The only thing I'm not sure about is whether the shared network is the right way to go. With XEN, I believe it takes a bridged approach, which is more appropriate to a development box (host demos, latest code). I went shared initially because the machine will be both wired and wireless and the bridge setup seemed to only allow one. I'm hoping it's easy to manipulate the VM network emulation later on.
Installing SUSE 11.0 was super easy. I use KDE. I cut down the swap to 512MB and put everything else on a single partition (which I do with virtual machines). In the final stage, I added the following software from my companies standard package lists, replicated here:
- general libs necessary for building: gdbm-devel, readline-devel, zlib-devel, libxml2-devel, make, flex
- for apache compile: pcre-devel, libopenssl-devel, pam-devel
- for apache: libgnomedb-devel (apparently replaces db-devel), dia
- for mysql: gcc-c++
- for myself: emacs, jedit, autoconf, gcc, subversion, ruby
I build apache, php, postgres (one of the reasons we need realine-devel) since they're core to my work. Most users won't need all the development libs. libopenssl-devel was openssl-devel and pam-devel is included with apache to support system based authentication backing HTTP authentication, which is no longer preferred, but we did use for awhile and the ymake install of apache still depends on it.
On a 64 bit install, one needs to pick up libpng-devel-32bit, libjpeg-devel-32bit for PHP, and on older SUSE versions pkg-config (alias: pkgconfig) is not installed by default and needs to be included.


