Archive for the 'Internet' Category

OS X - how to build Apache2 and PHP5 on your mac…

This entry is not for the technologically faint of heart, which leaves out a large portion of my family and I am really showing off my geek with this entry, however, this took so much energy to accomplish that I feel the need to share it. I have been for nearly three days attempting to install Apache2 and PHP5 on my MacBook Pro. This was a task that I assumed would not be too daunting but nonetheless proved to be. All of the directions that I found make it look easy but I ran into plenty of traps along the way.

I initially started on Marc Liyanage’s page and was going to download the already built packages, but after some reading I decided that I would build the packages myself. I did ultimately use his MySQL build, however.

I did a few searches and did not come up with much but did find the following links:

1. PHPmac (very helpful!)
2. semanticpool
3. a random blog (like mine)
4. Max OSX Hints
5. laughingmeme (more helpful…)

I used part of each of these articles but ultimately what resolved my issue was a workaround on my own (can you feel the pride?). After following the instructions from article one above I was getting an error when trying to start apache. It was telling me that php5 could not find a library that it needed in mysql. When I followed the path there was an extra directory in the path. I went back and looked at my configuration and I can not figure out why the extra tree was in the path but it was. I don’t know of a good .so editor for the mac and thus I created a link to the correct path.

sudo ln -s /usr/local/mysql/lib/libmysqlclient.15.dylib /usr/local/mysql/lib/mysql/

By creating the alias for where the .so file thought the library was supposed to be to where it actually was I was able to get apache to start.

Let the programming begin…

[tags]Apache, PHP, PHP5, Apache2, OS X, Mac, Apple, Linux, Unix[/tags]

Elvis is alive…

I have to give props to the guys at American Idol. Last night’s video of Celine and Elvis was one of the most amazing, technologically advanced pieces of videography I have ever seen. It was truly amazing!

[tags]Elvis, American Idol, Celine Dion[/tags]

The year of the virtual machine…

I have for some time been fascinated by virtual machines. I have been reading a great deal about the possibilities that are available for sand-boxing, testing, and otherwise by the use of virtual machines. But this past week was my first true adventure into this new world, and I have to say that I am pretty pleased at this point.
Fusion VmWare just announced its full Beta release of Fusion which is their virtual appliance for OSX. Now being a mac guy I could have used Parallels but I was specifically waiting for VmWare to release their version, simply due to the trust that I have in their name and other appliances.
I began by installing VmWare Fusion which could not have been more simple. I have been using Bootcamp for several months now for those rare circumstances when I just had to have Windows. But, it was always such a pain to reboot the machine for that five minutes that I really needed to do something. And was even more painful if I had to be there longer since I no longer had access to all my music. Thus the beauty of Fusion which allows you to run the virtual machine within the same session that you are in currently, in my case OSX.
The first OS that I tried installing was Windows. I must say that it came off without a hitch. Windows installed beautifully and worked right out of the gate. I limited the drive to 8gb and gave the VM 1 gig of my 2 gigs of RAM. It is a little pokey but I must say it is not all that bad to use. I discovered early on that it is important to install VMTools on the new virtual machine as it allows you to change the window size on the fly and allows the mouse to move in and out of the virtual machine seamlessly. Having done all this my experience with installing Windows was almost pleasurable which is the first time I can say that about a product from Redmond.
I have also been wanting to take the opportunity to work in Ubuntu. I am not a Linux guy by any stretch of the imagination but I have the desire to learn more. I have read great things about Ubuntu and wanted to give it a try. I just did not have the spare machine to dedicate to my experiment. Ubuntu was only slightly Ubuntumore challenging than Windows. I began by trying to download a pre-installed version from the VMTN website. This is a great resource of already installed virtual machines that are pre-configured and ready to go. I could not find a good one of the new version of Ubuntu and thus downloaded the 6.06 version. I moved the new virtual machine into the vmware folder on my machine, double clicked, and away we went. It was truly amazing. VMTools was already installed on this machine and so all the cool window resizing and mouse tricks worked out of the box. The only thing that did not work was my sound which I imagine was a driver issue with my iMac and could have been fixed but I did not take the time to do so since I was feeling cocky and ready to get the latest version 6.10.
I downloaded an iso of the latest version of Ubuntu and began the full installation process. The process was very speedy with only a few hitches. It took a few minutes to get VMTools working on the machine. I had to do the update process several times and was aided in that by this article. The only inssue that I had beyond that was getting the mouse to work properly. It turned out that the mouse driver that Ubuntu was using was the default and not the vmmouse that is requried. I found this article quickly on VMTN and was again “good to go.”
I have to say that the entire experience has been very positive. I am looking forward to working in x11 on Ubuntu and not having to reboot for those times that I need Windows. Fedora is next so I will post about my experience with it. All in all a great experience.

[tags]VmWare, VmWare Fusion, Fusion, Mac, OSX, Parallels[/tags]

Technorati released on pcnelson.com

Technorati Profile

[tags]Technorati, blog, blogging, social networking[/tags]

Free Derek Webb Album available today

Derek WebbDerek Webb’s new album is available for free download starting today. Derek used to be a member of Caedmon’s Call.

Google Apps launches tomorrow…

Google Apps will launch in the morning providing free application based services for your domain name. They will provide email, calendaring, Google Talk, and Page Creator for your domain name. In other words you can have a google mail account but it will be @pcnelson.com, not gmail.com. This may be Google’s first run at Microsoft’s overwhelming domination in the business back office software market. Exchange is the dominant email server in the enterprise realm; is it possible for Google to challenge this with free web based products? Possibly, but I feel that these offerings will fall short for several reasons. Web based email is just that, it is web based. Sure you can use a client to check it, but most security conscious organizations want to know who is administering email clients. In addition it is difficult to meet the special needs of an organization such as Blackberry support. Google Apps may be a super service for the small office just getting off the ground, but for most IT departments it will just not fit the bill. This will be interesting to track for the next few months to see if Google has any success in this market.

Update: Here is a link to the new services from Google