Storing a Configuration File in an Accessible Location

Server Assistant looks for configuration files in the following location:

/Volumes/vol/Auto Server Setup/

where vol is any device volume mounted in /Volumes.

Devices you can use to provide configuration files include:

ÂA partition on one of the computer’s hard disks

ÂAn iPod

ÂAn optical (CD or DVD) drive

ÂA USB or FireWire drive

ÂAny other portable storage device that mounts in the /Volumes folder

Configuring the Server Remotely from the Command Line

It’s possible to configure the server remotely from the command line. Performing this task requires the following tools:

Âdscl—Directory service command line is a general purpose tool that allows you to create, read, and manage directory service data. If invoked without any commands, dscl runs interactively, reading commands from standard input. See Chapter 8, “Working with Users and Groups,” for more information about the usage of this command.

Âsystemsetup—Use systemsetup to set a number of system-wide preferences. If you were going through Server Assistant, you would have to select the proper keyboard and time zone. The systemsetup tool can configure both these preferences, and more. See Chapter 5, “Setting General System Preferences,” for mor information on the usage of this command.

Ânetworksetup—Anything that you can configure in the Network pane of System Preferences can also be configured using networksetup. See Chapter 6, “Setting Network Preferences,” for more information about the usage of this command.

See the man pages related to these tools for more information. The man pages for systemsetup and networksetup are only available on Mac OS X Server.

Chapter 3 Installing Server Software and Finishing Basic Setup

47

Page 47
Image 47
Apple Mac OS X Server manual Configuring the Server Remotely from the Command Line