Nginx for Mac OS X Snow LeopardOverview
This is a quick article to show you how I compiled a basic version of Nginx 0.8.33 on Mac OS X 10.6.2 Snow Leopard. The “2 minute” compilation that I mention in the title of this article is when using the script that I provide below. For the Do-It-Yourself (DIY) crowd, I’m breaking down the steps. Variations in your Mac’s specs, and your copy and paste skills may increase the total time to over 2 minutes.

Prerequisites
First, if you do not already have it installed, download Xcode from Apple’s website, and run the installer from the .dmg file. For the record, the file I installed was called xcode321_10m2003_developerdvd.dmg, yours may be slightly different.

Install PCRE
Nginx requires PCRE – Perl Compatible Regular Expressions to build, I used PCRE version 8.01. In a Terminal, run:
sudo curl -OL h ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.01.tar.gz > /usr/local/src/pcre-8.01.tar.gz
sudo mkdir -p /usr/local/src
cd /usr/local/src
tar xvzf pcre-8.01.tar.gz
cd pcre-8.01
./configure --prefix=/usr/local
make
sudo make install
cd ..

Install Nginx
(You should still be in /usr/local/src, if you followed along from above.)
tar xvzf nginx-0.8.33.tar.gz
cd nginx-0.8.33
./configure --prefix=/usr/local --with-http_ssl_module
make
sudo make install

Start Nginx
Assuming that you have /usr/local in your $PATH (which nginx should say:/usr/local/sbin/nginx), you can simply run:
sudo nginx
Note: to add /usr/local to your $PATH variable, edit or create ~/.profile to include it. For reference, mine currently looks like this:
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local:/usr/local/sbin:/usr/local/bin:/usr/X11/bin:/opt/X11/bin" – I emphasized in bold type what you need to add to your PATH.

The 2 Minute way, using my script
All of the above instructions, in a nice little script. Save it to your Mac as build-nginx.sh, and run:
chmod a+x build-nginx.sh
sudo ./build-nginx.sh

Conclusion
It’s a pretty quick process to get Nginx installed nicely on your Mac, especially if you use my script. This provides a very basic install, but it should get you moving in the right directions. If you have any comments, questions, or suggestions, I would love to hear your feedback, so leave a comment below.

Although I haven’t built Nginx for Windows and Lighttpd for Windows in a while, I need your help. I’m trying to determine if there is enough interest for me to create my Cygwin based builds again. So even if you have never left a comment here before, please do today. Please let me know:

  • if you are interested in: Nginx and/or Lighttpd for Windows
  • which version of Windows you will be running on: Windows XP, Windows Vista, Windows 2003 Server, Windows 7
  • if your Windows version is 32-bit or 64-bit

This is very important! Please leave a comment below right now. Thanks as always for reading!

WordPress

WordPress is an open source blog publishing platform that is also widely used as a content management system (CMS). As of September 2009, WordPress is used by 62.8 million websites in the US and 202 million websites worldwide. By itself, WordPress is a very powerful and flexible system that is easy to get up and running, as well as easy to maintain. But when combined with the available WordPress plugins, it becomes an unstoppable powerhouse of a platform.

In this article, I’ll discuss 18 plugins that I consider essential for use on any personal blog. These plugins are all in use on this site, so you know that I really believe in the power of these plugins. Ready? Here we go: [continue reading…]

Microsoft’s latest operating system, Windows 7 was released on Thursday October 22, 2009. The buzz around the Internet and traditional media outlets has been overwhelmingly positive, even a week later. Links: Windows 7 reviews still shine one week in, Review: Windows 7 Is Microsoft’s Best Yet, Windows 7 review: like Vista, but good.
Windows7
As a user who has installed the public beta and the release candidate, I can honestly say that this is the best version of Windows that Microsoft has built and released to date. And you would expect that to be the case, particularly after the disaster that was Windows Vista. [continue reading…]

As of around 12:53 PM PST, Gmail was (and still is) down.
On their status page it said:

Google Apps Status
September 1, 2009 12:53:00 PM PDT
We’re aware of a problem with Google Mail affecting a majority of users. The affected users are unable to access Google Mail. We will provide an update by September 1, 2009 1:53:00 PM PDT detailing when we expect to resolve the problem. Please note that this resolution time is an estimate and may change.

Having nervous ticks due to Google’s Gmail service being down? Read on… [continue reading…]

Very quick and easy tip today – you may already know this one…

If you are browsing a web page in mobile Safari on your iPhone, you can fast scroll to the top of the page simply by tapping the clock in the “titlebar” at the top edge of your screen.

This is very handy, especially when reading an extremely long web page. It sure beats sweeping your finger repeatedly.

That’s all there is to it! Tap the clock! I told you it was quick and easy.

Do you have any iPhone tips, tricks, or suggestions? Please leave a comment below. Thanks for reading the site.

Want to save some battery life on your iPhone AND increase your security? Well, this 2-for-1 tip should do the trick. Ready? Here it is:

From your iPhone’s home screen, tap “Settings.” You will see this screen:

iPhone Settings

Figure 1: iPhone Settings

Next, tap “General,” and you will see:

iPhone General Settings

Figure 2: General iPhone Settings

You may change or set “Auto-Lock.” I have mine set to 2 minutes. With this setting, my screen will lock after 2 minutes and save some battery life for me.

To set a password (or passcode) to unlock the screen, tap “Passcode Lock”:

iPhone Enter Passcode

Figure 3: Set your passcode

It will ask twice, to make double-sure that the code you choose was entered correctly. You will then see the following screen, which outline options for changing the passcode or disabling it at another time:

iPhone Passcode Options

Figure 4: Passcode options

For now you can leave these settings alone, or change them if you wish. It’s your iPhone, I’m not the boss of you.

Do you have an iPhone tip or trick that you’d like to share? Please leave a comment below. Thanks for stopping by the site.

The iPhone’s home screen shows several included applications that come with your iPhone. These icons are displayed, even if you do not want or use them. If you want to get rid of them, well you cannot, but I will show you how to get around it.

Ready for the tip? OK, brace yourself: Put your undesirable or unwanted applications on your last home page. OK, so it is not the most ideal way to do it, but it will keep those apps out of your way at least.

For a more in-depth solution see Macenstein’s “How to: Delete Apple’s Apps from your iPhone – aka ‘the Hidden 10th iPhone app screen'” article. Macenstein’s method puts applications on a hidden overflow page. The problem with that method is that it only works until the iPhone is shut off.

A third option is to jailbreak, your phone, which is both sketchy and possibly illegal. Not to mention that your expensive iPhone may turn into a paperweight or a brick. If you want to go the jailbreaking route, Google search programs like Poof or Sbsettings.

Apple really should have a “Hide” or “Look & Feel” option in the General Settings menu that allows you to hide applications without removing them completely from the iPhone.

Do you have any iPhone tips or tricks to share? Please leave a comment below and thank you for stopping by.