Apple oxs Server User Manual


 
26 Chapter 2 Installing Server Software and Finishing Basic Setup
Viewing, Validating, and Setting the Software
Serial Number
You can use the serversetup command to view or set the server’s software serial
number or to validate a server software serial number. The serversetup utility is
located in /System/Library/ServerSetup.
To display the server’s software serial number:
$ serversetup -getSerialNumber
To set the server software serial number:
$ sudo serversetup -setSerialNumber serialnumber
To validate a server software serial number:
$ serversetup -verifySerialNumber serialnumber
Displays 0 if the number is valid, 1 if it isn’t.
Updating Server Software
You can use the softwareupdate command to check for and install software updates
over the web from Apple’s website.
To check for available updates:
$ softwareupdate --list
To install an update:
$ softwareupdate --install update-version
To view command help:
$ softwareupdate --help
Parameter Description
serialnumber
A valid Mac OS X Server software serial number, as found on the
software packaging that comes with the software.
Parameter Description
update-version
The hyphenated product version string that appears in the list of
updates when you use the --list option.
LL2354.book Page 26 Monday, October 20, 2003 9:47 AM