Installing Server Software and

3

Finishing Basic Setup

In this chapter you will find commands you can use to install, set up, and update Mac OS X Server software on local or remote computers.

Some computers come with Mac OS X Server software already installed. However,

you might want to upgrade from a previous version, change a computer configuration, automate software installation, or completely refresh your server environment. This chapter covers the commands needed to perform a variety of software setup and installation tasks.

Installing Server Software

You can use the /usr/sbin/installer tool to install Mac OS X Server or other software on a computer. You can use the installer tool locally or remotely. The installer tool requires at least two arguments: the installation package, and the destination of the installation package. For a standard installation, your target would be the root drive. Here is an example installation command:

$ installer -pkg OSInstall.mpkg -target /

Other useful options include:

Âlang—The operating system package requires that you choose a language. This flag allows you to do so from the command line. The argument is a two-character ISO language code. For English, it’s en.

Âverbose—Prints out the details of the installation. It’s useful for monitoring progress.

See the installer man page for detailed information.

To use installer to install Mac OS X Server software:

1Start the target computer from the first installation CD or the installation DVD. The procedure you use depends on the target computer hardware.

If the target computer has a keyboard and an optical drive, insert the first installation disc into the optical drive. Then hold down the C key on the keyboard while restarting the computer.

37

Page 37
Image 37
Apple manual Installing Server Software, To use installer to install Mac OS X Server software