Oct
31
2008
0

Converting to Nginx from Apache

Many people are have been talking about replacing Apache web servers with Nginx. Some of the advantages of Nginx are Faster, Smaller resource usage, and the ability to handle many more connections. From what I have seen so far, all this is true. But not much is mentioned about the surprises along the way. So here are a couple of things that may prepare you.

1: If you want to use php (who doesn’t?) you should use fastcgi. Seems simple enough, right? Well as long as you know that you need to use the spawn-fastcgi program that comes with lightttpd (another light weight web server) to launch php cgi processes… And are aware of some issues with the init script that is broken to the point that you cannot restart the processes without rewriting the script. it is simple. This took me some time to track down, and I came up with two primary answers. I chose to use this modified init for myself since I am already using gentoo there were no surprises.  The other option that I saw was to patch php with sources found here. Since it is in Russian I chose to try this another day.

2: Rewrites are similar to Apache Rewrites, but just different enough to cause fits.  For example my original Apache rewrite looked like this:

RewriteRule ^([^.]*[\w\d]+)$  ?entry=$1&%{QUERY_STRING} [NC] 

Which became this in Nginx:

rewrite "^/([^.]*[\w\d]+)$" /?entry=$1&$query_string last;

In Apache the regular expression is matched without a / at the beginning, while in Nginx matches a request uri with a slash at the beginning.  Also you have to enclose regular expressions with curly braces inside quotes.  Also the fastcgi_params file contains the mappings of the fastcgi parameters to the variables.

Overall, once I got past these gotchas, Nginx is most everything that they claim and virtual servers are a breeze to set up compared to Apache.

Written by Jeff in: Sys Admin |
Sep
23
2008
0

T-Mobile G1 Android announced today

I just finished watching the video of the release in New York. I have to say that the G1 may end up being a better platform then the iPhone.  Yes I actually said it.  I still need to find out more about the device, but at first blush, I am impressed.  People will probably say that the G1 is too large, but I would disagree.  the G1 looks very usable, and with that little curve at the bottom, I would bet that you could hold it on your shoulder. Something which is next to imposible with the smaller mobile phones that you see these days.  One of the most important questions that is danced around with the iPhone will be battery life.  I always said that I would be more than happy with a bit larger phone if I can get reasonable standby/talk time…  48 hours standby time is NOT reasonable, which is my biggest beef with my iPhone.

Written by Jeff in: Google | Tags: ,
Sep
16
2008
0

More Apple updates.

The first is a Digital Camera Raw Compatibility Update.  This will come in handy for some of those that appreciate the wonders of RAW but have not been able to use it yet in iPhoto or Arperture.

This update extends RAW file compatibility for Aperture 2 and iPhoto ’08 for the following cameras:

  • Canon EOS Digital Rebel XS/Kiss Digital F/1000D
  • Kodak DCS Pro SLR/n
  • Nikon D700
  • Olympus EVOLT E-420
  • Olympus EVOLT E-520
  • Olympus SP-570
  • Samsung GX-10
  • Samsung GX-20
  • Sony DSLR-A300
  • Sony DSC-R1
And the second update won’t do much for me since I do not use Apple Remote Services, but I am sure that it is a good thing for those that do…

Apple Remote Desktop 3.2.2 Client Update

The 3.2.2 update is recommended for all Apple Remote Desktop clients and addresses several issues related to overall reliability and security.

 

For detailed information on this update, please visit this website:http://support.apple.com/kb/HT2691

Written by Jeff in: Uncategorized |
Sep
15
2008
0

Gears for Safari

This is interesting.  I played with gears a bit when I was playing with chrome, and now it is available for safari.  I enabled gears for this site and even though I have a very fast network I noticed an imediate improvment in page drawing.  I then saved this site as an application and it opens up and works just fine and still very fast.

SWEET!!!

Gears for Safari

Monday, September 15, 2008 at 9/15/2008 09:59:00 AM

We’re really excited to announce the official release of Gears for Safari on OS X (minimum requirements are Leopard 10.5.3 or Tiger 10.4.11).

You can download it today from http://gears.google.com.

This means that you can now access all the Gears-enabled sites (such as Zoho office, WordPress, the new YouTube uploader and Google Docs offline) in Safari.

Written by Jeff in: Gears, OS X |
Sep
15
2008
0

Mac OS X 10.5.5 Update now available

Well here it is.  the latest OS X update and it did not even trash my MacBook, although I did start to worry a bit during update process when it took a long time and seemed to reboot twice before I got my normal login screen.

Summary

The Mac OS X 10.5.5 Update is recommended for Mac OS X Leopard versions 10.5, 10.5.1, 10.5.2, 10.5.3 and 10.5.4. It includes general operating system improvements that enhance the stability, compatibility, and security of your Mac.

For detailed information about security updates, please visit this website.

Important: Read before installing

  • It is recommended that you back up your computer prior to installing any updates.
  • Quit all open applications before starting the installation.
  • The installation process should not be interrupted even if the progress bar remains unchanged for several minutes. If a power outage or other interruption occurs during installation, use the standalone installer (see below) from Apple Support Downloads to update.
  • You may experience unexpected results if you have third-party system software modifications installed, or if you’ve modified the operating system through other means, or if you have moved Apple applications from their default locations. (This does not apply to normal application software installation.)
  • If issues occur during installation–for example, if Software Update unexpectedly quits–please see this article.

Products Affected

Mac OS X 10.5, Mac OS X 10.5.1, Mac OS X 10.5.2, Mac OS X 10.5.3, Mac OS X 10.5.4

Installing the update

To update to Mac OS X 10.5.5, use Software Update or the standalone installer. You only need to use one of these methods to update your computer.

Software Update

Choose Software Update from the Apple menu to automatically check for the latest Apple software via the Internet, including this update. (Software Update might have linked you to this article to learn more about the update.) If your computer is not up-to-date, other software updates available for your computer may appear which you should install. Note: An update’s size may vary from computer to computer when installed using Software Update. Also, some updates must be installed prior to others, so you should run Software Update more than once to make sure you have all available updates.

Standalone installer

Download the update installer and run it manually. This is a useful option when you need to update multiple computers but only want to download the update once. These versions of the standalone installers are available from Apple Downloads.

The Mac OS X 10.5.5 Update is recommended for all versions of Mac OS X 10.5 through 10.5.4.

The delta update lets you update from Mac OS X 10.5.4 to 10.5.5.

The combo update lets you update from Mac OS X 10.5, 10.5.1, 10.5.2, 10.5.3 or 10.5.4 to 10.5.5.

What’s included?

General

  • Includes recent Apple security updates.
  • Addresses stability issues with video playback, processor core idling, and remote disc sharing for MacBook Air.
  • Addresses an issue in which some Macs could unexpectedly power on at the same time each day.
  • Resolves a stability issue in TextEdit that could be found when accessing the color palette.
  • Improves Spotlight indexing performance.
  • Fixes an issue in which contacts might not sync properly with PalmOS-based devices.
  • Improves iPhone sync reliability with iCal and Address Book.
  • Includes improvements to Active Directory (see this article for more information).
  • Improves Speech Dictionary.
  • Fixes Kerberos authentication issues for Mac OS X 10.5 clients that connect to certain Samba servers, such as Mac OS X Server version 10.4.
  • Includes extensive graphics enhancements.

Address Book

  • Addresses stability issues that may occur when creating a Smart Group.
  • Resolves a printing issue with address cards containing information that spans more than one page.

Disk Utility and Directory Utility

  • Improves reliability when rebuilding a software mirror RAID volume in Disk Utility.
  • Improves reliability of server status displayed in Directory Utility.

iCal

  • Updates iCal to more accurately handle repeating events.
  • Improves performance when choosing meeting attendees.
  • Resolves an issue in which the “Refresh All” option may be dimmed (”grayed out”) in the contextual menu for certain calendars.
  • Fixes issues with read-only calendars.
  • Addresses an issue that prevents an invitee from moving an event to a different calendar.
  • Resolves an issue with syncing published calendars.

Mail

  • Addresses performance issues related to displaying IMAP messages.
  • Resolves an issue with SMTP settings for AIM, Compuserve, Hanmail, Yahoo!, and Time Warner Road Runner email accounts.
  • Addresses stability issues that may occur when dragging a file to the Mail icon in the Dock.
  • Addresses an issue with the “Organized by Thread” view in which the date does not appear when the thread is collapsed.
  • Resolves an issue in which RSS feeds could temporarily disappear from the sidebar.
  • Improves Mail robustness when sending messages.
  • Improves reliability when saving drafts that have attachments.

MobileMe

  • Improves overall sync reliability.
  • Improves Back to My Mac reliability.

Time Machine

  • Improves Time Machine reliability with Time Capsule.
  • Addresses performance issues that may affect initial and in-progress backups.
  • Fixes an issue in which an incorrect alert message could appear stating that a backup volume does not have enough free space.
  • Time Machine can now back up iPhone backups that are on your Mac, as well as other items in (~/Library/Application Support).

Additional Information

Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.

Written by Jeff in: OS X |
Sep
12
2008
0

iPhone 2.1 software update

Why yes, yes I am crazy.
I am breaking all my rules about not making big changes just before a weekend.   I am currently updating my 1st gen iPhone with the new 2.1 firmware as I type this.  Will it brick my phone, will it bring new wonders, or will it be simply be a new update that fixes some bugs while creating/uncovering some new bugs?  I am betting on the fixes with the addition of some new minor bugs that will not totally destroy my weekend.  So now the download is complete, and iTunes is “Updating iPhone firmeware”.  It is taking quite a while to finish updating my firmware….

Wait!  I see that it has completed and my iPhone is restarting…
Done!  Software version is now 2.1.
Every thing appears to look normal at first glance.

Cool!  I know that I am still crazy, but at least my insanity is vindicated by the lack of meltdown, just before I split for the weekend.

Written by Jeff in: iPhone | Tags:
Sep
09
2008
0

iTunes 8

Yes, the rumors were true, iTunes 8 was released today.  There does not seem to have been any real surprises during todays event with all  the apple secrets having bled out days ago.  Steve must be pretty tourqued at this point.

In any case, iTunes 8 seems to be pretty nice at first blush, although I am not sure that I like the new grid view.  I will mess around with the grid view a bit before I decide to turn it off or not.

 I am currently listining to a play list that the new Genius feature put together for me using  ”Mirrors & Smoke” by Jars of Clay ast the base tune.  Genius actually pulled some of my two and three star Rated songs that I rarely listen to.  Strangely enough, I don’t mind.  The list is fairly interesting.  I look forword to playing with the Genius lists more.  I suspect that the Genius side bar will play a big part in my purchasing more music.  Especially if they do a really good job with the recomendations.

Written by Jeff in: Apple | Tags:
Sep
03
2008
0

OK, now I am annoyed.

I made the mistake of checking out Google Chrome inside of Parallels Yesterday, and all it did was get me annoyed about not being able to check it out natively on my Mac.  Yes it is fast.  Yes it has a clean interface. No it does not run on Mac yet.  Talk about a tease!

Assuming that Google actually delivers before I am too old to care…

One of my favorite features was being able to open and use Gmail as if it was a local application.  Very nice.
Doing the same with docs and calendar will likely have the same positive results.
I am also betting that it will be easy (or soon will be easy) to skin chrome, which will make people who like flashier interfaces very happy.

So for now I will complain from time to time that there is no native version for Mac yet.

Written by Jeff in: Apple, Chrome, GMail |
Sep
01
2008
0

Google about to add another cog to internet domination?

I just read the Google comic all about Google Chrome which is supposed to be released tomorrow.  Unfortunately the initual version is Windows only (Bah!) however if what the are saying is true and if they can actually deliver on OSX and Linux…  You could color me excited!  Chrome sounds very exciting, and with each tab running in its own process, we could not only see an end to browser freezing, we could be witnessing the next evolution of the web based application!

I may have to fire up Parallels tomorow to see this first hand…

Written by Jeff in: Windows | Tags: , ,
Aug
13
2008
0

What do you have in your thumb drive?

I finally went out and purchased a 2Gig Thumb Drive.  My old one while it still works is only 256Meg and is getting a bit long in the tooth.  I have not found a lot of useful portable apps for my primary OS, which is a MacBook. However, for my Windows user friends I have a bunch of tools that come in handy when they call me for help.

Some of my most useful apps.

  • PuTTY Portable
  • WinSCP Portable
  • PCRepairSystem
  • ClamWin Portable
  • Firefox Portable
  • Opera Portable

That is pretty much it for now…

Written by Jeff in: OS X, Windows | Tags: ,

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes