50

To validate a server software serial number:

$ sudo serversetup -verifyServerSerialNumber serialnumber

watermarkinformation

Displays 0 if the serial number is valid, or 1 if the serial number is invalid.

Serial numbers generated for the server can be generated with watermarks so that they can be tracked to a specific company, group, or individual. If a serial number has watermarking strings associated with it, then it is necessary to supply the watermark information when setting or validating the serial number.

To check whether a serial number is site licensed:

$ sudo serversetup -issitelicensedserialnumber

Updating Server Software

You can use the softwareupdate tool to check for and install software updates over the Internet from Apple’s website.

To check for available updates:

$ sudo softwareupdate --list

The output will be similar to the following:

Software Update Tool

Copyright 2002-2005 Apple

Software Update found the following new or updated software:

- WebObjects5.3.1ServerUpdate-5.3.1

WebObjects5.3.1 Server Update (5.3.1), 29110K [recommmended] [restart] * J2SE50Release3-3.0

**PRERELEASE** J2SE 5.0 Release 3 (8M318) (3.0), 44020K [recommmended] - AirPort-1.0

AirPort Update 2005-001 (1.0), 1440K [restart]

To install an update:

$ sudo softwareupdate --install update-version

Parameter

Description

update-version

The hyphenated product version string that appears in the list of

 

updates when you use the --listoption.

 

 

Some updates require that you agree to a license agreement. To work around this in an automated command-line environment, execute the following command before

running softwareupdate:

$ command_line_install=1 export command_line_install

Chapter 3 Installing Server Software and Finishing Basic Setup

Page 50
Image 50
Apple Mac OS X Server manual Updating Server Software, To validate a server software serial number, To install an update