Archive for the ‘Uncategorized’ category

First Impressions on Lion Server

February 15th, 2012

I haven’t forgotten about the posts on upgrading my servers, I’ve just not had the time to.  I also got extremely delayed with getting the hardware itself.  Let me just give some first impressions on Lion server and the new hardware.

Hardware

The Mac Mini servers are very fast, quiet, and easy to store of course.  The Promise Pegasus is a great piece of hardware also.  Six SATA drives in a box smaller than a mini tower with a single cable for data.  Setting up the hardware was so simple it’s only one sentence: Take out of box, configure, plug in Promise, done.

Software

Now on to the bad part; Lion Server.  I like Lion as s desktop, I haven’t had any issues with it thus far, but I really dislike Lion Server.  Initial server setup was also very simple; it asks a few questions, configures some services for you, and you’re done.  After it drops you into the desktop, you’re on your own.  So manage the server in the past you had a few tools; Server Admin, the main config GUI for all services; Workgroup Manager, to configure users and computers on the network; and Server Monitor, a simple monitoring tool that gives you the server status at a glance.  Lion includes those tools with the addition of one more: Server.  Server is basically what separates Lion desktop from Lion Server, one single app to “control” the services.  This sounds great, but wasn’t that what Server Admin was for?  Yes..it was.  But now Apple decided that they wanted to make things more difficult and separate configurations into two programs, one of which (Server) is stupidly over simplified.

Server vs Server Admin

Server is basically a simplified version of Server Admin.  When I say simplified I mean VERY simplified.

Looks good, but wait until you go in more...

Now, compare that to the old Server Admin overview shown below.

Looks similar....but...

Now these two look like they give relatively the same information, right?  It tells you everything you need to know about the sevrer at a glance.  If you notice that on Server you have a lot more items on the sidebar though, and Server Admin has very little.  This is because Server Admin allows you to select what you want shown, so out of the many options (there are 11 total) I only need to show those 3; however, out of those 11, only 2 are available in Server also (Mail and Podcast Producer).  Why is this a problem?  Server Admin allows you to really edit lots of different settings with your services, it also allows you to edit more advanced services (DHCP, NAT, DNS).  Server allows you to edit the most used services (file sharing and web) but they are VERY limited in what you can edit.

For example, editing file sharing on anything other than 10.7 looked like this in Server Admin before:

10.5 File Sharing

This window gave you everything you needed to set up proper file sharing with users, home directories, NFS, FTP, SMB, AFP, and a bunch of other things.  It gives you great control over your network file system and user access.  This is what you get with Server:

10.7 File Sharing Configuration

That’s it.  Those are your settings you can edit. Notice the lack of FTP and NFS…as well as lack of a REAL permissions editor.  This is totally unacceptable in a server environment.  NFS is still there (it gets enabled when you use NetBoot) but where is FTP?  it’s not in Server or Server Admin.  Well, Apple decided FTP isn’t needed really, and basically removed it.  Let me rephrase, they didn’t REMOVE it completely, it’s hidden.  Apple’s basic FTP server is still there, but there are not settings in GUI for it at all, it’s all command based now, and to enable it you have to type this command in terminal.

sudo launchctl load /System/Library/LaunchDaemons/ftp.plist

Now, on a server, that’s pretty ridiculous, especially since FTP config was easy and clean in pervious versions of OS X Server.  To get around using the basic FTP, which has limited functionality, I decided to install a third-party server.  I will make another post on how I accomplished this and about the frustrations I had with it.  Long story short, went with PureFTP.

My frustrations with LDAP also came back.  I’m not sure if it’s an issue with our old LDAP database or setup, but I simply couldn’t restore the server LDAP backup for the life of me.  I tried several different methods but nothing worked.  I ended up exporting user data (without the passwords) to the new server using Workgroup manager.  This worked fine, but I lost every password. I was upset with this, but I knew it was the best method to try to get the LDAP working normally again (I constantly have trouble with the old LDAP server due to corruption…so this hopefully would fix that).  The user editing in Server is horrible.  It’s way too simplified, and doesn’t allow much configuration..thankfully, you can use Workgroup manager still.

After setting up a new image and setting shares for home directories and resetting passwords, I tested our lab with home directories and logins and SUCCESS!  It all worked!  So now the network accounts are faster, and the LDAP seems to be working fine now.

Moral: Lion Server sucks compared to older versions.

I’ll be updating again on how I got PureFTP installed on the server and configure it for LDAP.  I’ll also go over how I got SFTP working with users jailed to their home directories….but breaking AFP, then fixing it again.

Steve Jobs: February 24, 1955 – October 5, 2011

October 5th, 2011

Thanks, Steve.

Getting more from my Original DROID (Part 1:Rooting and CM7)

April 11th, 2011

I love my DROID, I have since I got it over a year ago.  But in a year, a lot can happen with technology of course.  My phone was originally equipped with Android 2.1 (the first phone to have it actually) and had an ARM 600MHz processor (underclocked to 550 for battery life), and 256MB RAM.  It was fast, really fast…and it took a while for phones to be that fast…but it didn’t last long.  Soon after the DROID came out every new phone that came out just got faster and faster very quickly..I mean, that’s what technology does, right?  But the DROID looked slow very quickly.

So when Froyo (Android 2.2) came out the DROID got it down the line and that’s when the DROID started to show it’s age; extremely slow…a big drop in performance.  So I decided to root it to get a little more millage out of it before my upgrade.  Mind you, I was waiting for the Thunderbolt to come out to replace it…but decided against upgrading for the time…another story I suppose.  I decided to use SuperOneClick to root my phone, and damn it was simple.  Literally one click and it was done…but what can I do with this root?  Well, first thing was overclocking to see if I can get some more speed.  I overclocked it to 800MHz and really didn’t notice much of a difference besides the fact that I could now have a wireless hot-spot…oh and I could take screen shots now (why doesn’t Android have this functionality built in? Seriously!).

Android Screen shot

Hey look, I need to ROOT to take a screen shot!

So I decided to take it a step further.  My buddy was telling me about CyanogenMod and how he loved it on his MyTouch and basically brought life back into it.  So I said “Why the hell not?”  Not only does it add a lot of functionality, it will give me Android 2.3.3 (Gingerbread)…something the original DROIDs won’t ever see normally.  I backed-up my apps and text messages phone using MyBackup Root then flashed my recovery ROM to ClockworkMod which allows me to install firmware from the SD card and allows me to backup my entire phone to an image just in case anything goes wrong.  After the backup with MyBackup Root I rebooted into recovery mode and backed-up the entire phone using the Nandroid backup (in the recovery) then started to flash CyanogenMod 7 on my phone..this meant I had to do a complete wipe of the phone which is always scary but with the backup I should be cool!

Wiped the phone, flashed the ROM, and booted the phone. It worked! I had the Release Candidate (at the time it was RC1) of CyanogenMod 7 on my phone!

I had some issues with CM7 at first and some issues with getting my apps back (which I’ll talk about in Part 2) but after some initial bumps I was up running as smooth as I could be on a release candidate.  I had some reboots and some programs would crash but reinstalling them from scratch helped for the most part.

After a few updates it became more and more stable.  I am now running RC4 with a new ultra-low voltage kernel (which allows me to overclock to 1GHz and uses less battery power than the stock kernel). which gives me good battery life, pretty good performance, and all around a pretty good experience.

Android 2.3.3 and 1.1GHz!

So if you’re looking to get some more time from your old DROID this seems like a great way to do it.  It’s not up there with the new phones, but it does give your device a nice little jolt until you decide to retire it.

In Part 2 I’ll talk about installing all of the apps from backup and troubleshooting the many issues I had with memory issues and how they were resolved.

New Domain!

May 4th, 2009

Welcome to the new home of The Year of the Geek!

As per a very special May Day sale on DreamHost I now have a domain and permanent home for my site.  So now I will actually want to update more, hopefully;-)

Go DreamHost and your kick ass sale!

Update on drive

December 10th, 2008

So after some time with this new drive I’ll just give a quick update on it.

I love the new space of course. I an now keep all of my docs and programs happily as well as some extras. I’m not removing files left and right anymore to free up space for downloads, etc.

The computer seems to run a little hotter, it could just be me, and it does seem a tad bit louder than the original. My old drive was also a 7200RPM drive, but this one seems quieter seeking, but spinning sounds like a small fan (another one). I can deal with it though, doesn’t bother me.

Was it worth $100? Oh yeah!