beautypg.com

Full operating system installation – Apple Mac OS X Server (Administrator’s Guide) User Manual

Page 559

background image

Tools for Advanced Users

559

-config

formats the command-line installation arguments for later use. You can redirect the
output to a configuration file. Then you can use the -file parameter to perform multiple
identical installs.

-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. You specify the language in ISO language code format: EN
for English, JA for Japanese, FR for French, and DE for 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.

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”.

Full Operating System Installation

If you have to install the operating system on a remote Mac OS X Server, you can use the
installer tool to do so.

To use installer to install a full operating system:

1

Insert a bootable CD and start up the server from the CD. ( You can’t install an operating
system onto the current startup volume.)

This manual is related to the following products: