Softwareupdate, Systemsetup, Working with server identity and startup – Apple Mac OS X Server (Administrator’s Guide) User Manual
Page 561
Tools for Advanced Users
561
softwareupdate
You use softwareupdate to find new versions of software and install them on a remote server.
To use softwareupdate:
1
Open Terminal on a Mac OS X Server or administrator computer and log in to the remote
server using SSH.
2
At the prompt, type “softwareupdate”. Available updates are listed.
3
Type “softwareupdate” followed by the items you want to install (for example,
“softwareupdate PrintingEpsonUS Printing EpsonEU”). The tool downloads and installs the
software on the remote server.
4
If the new software requires you to restart the remote server, type “/sbin/reboot” or “/sbin/
shutdown -r”.
systemsetup
You use systemsetup to remotely configure these system preferences: sleep settings; remote
login (SSH); startup disk; computer name; and date, time, and time-zone settings.
To use systemsetup, open Terminal on a server or administrator computer and open an SSH
session on the remote server whose preferences you want to set up. Type one of the
following commands to review complete information about systemsetup:
m “systemsetup -printcommands” displays all the available commands.
m “systemsetup -help” displays commands plus explanations of them.
m “man systemsetup” displays the most complete information, including examples.
You use “get” options to retrieve settings and “set” options to change them:
m “systemsetup -getusingnetworktime” may display “Network Time: Off ”.
m “systemsetup -setusingnetworktime on” starts a network time server.
Working With Server Identity and Startup
You can use systemsetup to set information about a remote server and specify how to handle
its startup:
m To set the computer name, which is used by file sharing and AppleTalk, type “systemsetup
-setcomputername
m To retrieve the current startup disk for the server, type “systemsetup -getstartupdisk”.
Type “systemsetup -liststartupdisks” to list all available disks.
Type “systemsetup -setstartupdisk
disk name exactly as formatted in the list.