Jennifer Zelazny

Random and Opinionated Thoughts

Tag: Mac OS X Server

HOWTOs UNIX Web Development

rsync: synch both boot and data volumes.

Posted by: Jennifer Zelazny | 1 Comment

If you have mission critical servers, you know that a backup is essential. I do not want my mission critical web server to go down. Along comes rsync. How to set up rsync to synch my boot drive (and make it bootable) as well as synch my data files (html/php files): First, you will to set up passwordless ssh between your servers. This is a good tutorial, except make sure step #5 is actually: /var/root/.ssh/cat id_rsa.pub >> authorized_keys2 . Now you are ready to send data from your main server to the backup(s). Data I have a daily cron job... Read More » Read more

Apple UNIX Web Development

why I use Mac OS X client on my Xserve for web serving needs.

Posted by: Jennifer Zelazny | 1 Comment

I was recently asked to defend my decision to run OS X Client on my Xserve and I thought others might like to know why as well. Changing the IP. I have written about this before. I have a mission critical web server. I want to upgrade the OS or the hardware, so for maximum up time, I configure my new server with a temporary IP, then when everything is ready and tested, I shutdown the mission critical server, change the IP on the new server, and everything and everyone is happy. Less than a minute of downtime. I am... Read More » Read more

Apache Apple HOWTOs UNIX Web Development

redirecting domain.com to www.domain.com.

Posted by: Jennifer Zelazny | 0 Comments

So you have a web server and one/some domain names. You want to have all requests to domain.com to go to www.domain.com. most companies have this redirect in place (Apple is an example). I was stumped when I first set out to do this…so here is what I learned from our friends on the Apache mailing list. ServerName www.domain.com ServerAlias domain.com Redirect permanent / http://www.domain.com/ ServerName www.domain.com ServerAdmin [email protected] DocumentRoot /Volumes/www/domain.com/documents This set up in Apache will then redirect all domain.com requests to www.domain.com. You cannot beat mailing lists’ support! [tags]apache, vhosts, redirect[/tags] Read more

UNIX Web Development

what's on my web server?

Posted by: Jennifer Zelazny | 1 Comment

It is time to build another web server, and this time I will write about what is on it. I have built this configuration on the original iMac all the way up to the latest Xserve with success, so it is possible to make a cheap web server out of an older computer. To further save money, you could use all the apps with a different OS like FreeBSD, Darwin, NetBSD, OpenBSD, etc (I like the BSDs) which are free. OS: Mac OS X Web Server: Apache Web Server Benchmarking: Siege Web Authentication Apache Module: mod_auth_mysql Database: MySQL Database Management... Read More » Read more

Apple UNIX Web Development

Tiger Server 10.4 Makes Me Growl

Posted by: Jennifer Zelazny | 0 Comments

Well it is WWDC time and Apple has released information about my friend and your’s Mac OS X Server, the new improved version. We finally get mobile home directories, I am really excited about that, but then Apple talks about “Certificate management”….gee I wonder if you can rename the cert files (when you serve more than one site) and have apache start? That might be too much to ask, but I am glad Apple thinks it is something to mention. I also wonder how they are going to address the change ip issue. Time will tell, but I will not... Read More » Read more

Apple UNIX Web Development

Mac OS X Server, Apple, A Truce Please?

Posted by: Jennifer Zelazny | 0 Comments

Well…one look at the “Safari cannot connect to localhost because your computer is connected to the internet” message I received yesterday while trying to view my web site while on the train and I about lost it. After I hacked the apache conf, that was enough for me to put up the white flag when dealing with Mac OS X Server. Apple needs to hire me or some other apache/mac based person to tweak the apache conf in Mac OS X Server. I am so frustrated at this point I am going to throw Mac OS X client on my... Read More » Read more

Apple Hints UNIX Web Development

Little Tech Reminders

Posted by: Jennifer Zelazny | 0 Comments

I often perform the same tasks over and over and yet forget some little thing. This post is a reminder for me. General Apple hints. What to do when you get the “Do not enter sign”. (besides wonder how to describe it while searching for a solution) Starting up in target disk mode: hold down “t” Starting up in single user mode: hold down Apple +”s” How to set up open firmware password protection Command to check for user preference errors: sudo plutil -s ~/Library/Preferences/*.plist Mac OS X Server hints, aka Industrial Strength hints. Don’t change Mac OS X Server’s... Read More » Read more

Apple UNIX

Changing the IP On Mac OS X Server, Lessons Learned

Posted by: Jennifer Zelazny | 1 Comment

Is it common to change a server’s IP? I suppose yes and no. Yes, say you decide to move to a data center or your office moves or you want to configure a server to replace another server already using the IP you want for DNS reasons or you just need to reorganize your subnet. Yes, a change in IP is possible. Apple, thanks for figuring that out. I have been using Mac OS X Server since it first appeared on the scene and the sight of a “wheel” user really jarred me. Until now (Mac OS X Server 10.3.x)... Read More » Read more

UNIX

My Friend and Your's: Mac OS X Server

Posted by: Jennifer Zelazny | 0 Comments

Installing and configuring Mac OS X Server is like being Larry David on Curb Your Enthusiasm. Larry has a great life, but there are always problems in the details…and the problems are unbelievable unless you see them yourself. I am still in pain from the install, the reinstall, the clone, and now onto the second clone. Apple: we love the Xserve. We love Mac OS X. But how did you screw up your “industrial strength” server OS? Let us modify the config files without worrying about the GUI eating our changes! I know I am very fortunate to not have... Read More » Read more