beautypg.com

Apple Mac OS X Server (version 10.2.3 or later) User Manual

Page 598

background image

598

Chapter 17

-plist

formats the installer tool’s output into an XML file, which is sent by default to StdOut. You
use this parameter with -pkginfo and -volinfo.

-file pathToFile

specifies the path to an XML file containing parameter information. This file can be used
instead of the command-line parameters and supersedes any parameters on the
command-line (for example, “installer -file /temp/configfile.plist”).

-lang isoLanguageCode

specifies the default language of the installed system. You need this parameter only if you
perform a full system install. Valid values for isoLanguageCode, which are case sensitive,
are English, Japanese, French, and German.

-pkg pathToPackage

specifies where to find the package you want to install. Don’t end the pathname string
with a forward slash (/) or the command will not execute.

-target pathToDestinationVolume

specifies where to install the package. Don’t end the pathname string with a forward slash
(/) or the command will not execute. If any of the names in the path contains a space,
enclose pathToDestinationVolume in quotation marks, for example, “/Volumes/Server
HD2”.

To use installer to install software on a server:

1

Insert the application disk in the optical drive of the remote server on which you want to
install the software.

2

Open an SSH connection in Terminal and log in to the remote server.

3

Type an installer command.

4

If the software package you’re installing requires that you restart the server, type “/sbin/
reboot” or /sbin/shutdown -r”.

If you are not logged in as the root user, type “sudo” before typing the command, then enter
the root password when prompted.

LL0395.Book Page 598 Wednesday, November 20, 2002 11:44 AM