Apache is still bundled with Mountain Lion, but you can no longer start it using the "Sharing" icon under the "System Preferences" app.
Category Archives: Sys Admin
Unique, Secure, Memorable Passwords
An easy way to generate a unique, memorable but secure password for each website or service you visit is to apply the following recipe:
How Disqus does scaling
Here is a great presentation given by Jason Yan and David Cramer of Disqus fame about how their site was architected in order to scale to handle 75 million comments.
dhclient and resolv.conf
For some reason, when I get onto a client's network and run /sbin/dhclient on my hacked-together-linux notebook, dhclient gets an IP address via DHCP, but doesn't update my /etc/resolv.conf with the local name servers, so names don't get resolved using DNS.
I haven't figured out a fix for this yet, but a temporary work-around is to have a look at the lease in the /var/state/dhcp/dhclient.leases file. You should see a line like "option domain-name-servers 192.168.94.49;". Just put that IP address in the /etc/resolv.conf file (ie "nameserver 192.168.94.49").