Setting Up Mac OS X Serverfor Xserve Includes software installation and setup informationfor Mac OS X Server and Xserve LL2133.book Page 1 Friday,
LL2133.book Page 10 Friday, May 24, 2002 11:17 AM
11 CHAPTER 1 1 Welcome to Mac OS X Server for Xserve Mac OS X Server is a powerful suite of server software that lets you manage your network effici
12 Chapter 1 In addition, the applications used to set up servers and directory information have been enhanced to permit remote configuration of se
Welcome to Mac OS X Server for Xserve 13 About ACGI Support Apple Event-based CGI scripts (ACGI) are not supported in this version of Mac OS X Serv
14 Chapter 1 Anti-Piracy Information Be sure you’re acting within the terms of the software license agreement before you install programs on a com
15 CHAPTER 2 2 Before You Begin Your server comes with Mac OS X Server and the administration applications already installed. But before you get st
16 Chapter 2 Exporting Existing User Account Information If you have existing AppleShare IP servers or Mac OS X Servers, you may want to export ac
Before You Begin 17After you set up your new server, you can import the file you saved. To import the file: 1 Open Server Admin and log in to the ser
18 Chapter 2 Deciding On a Setup OptionYou can set up your server in two ways: m Connect to the server remotely from an admin computer and install
19CHAPTER33 Software Setup InstructionsThis chapter gives instructions for performing a basic remote setup and a basic local setup. If you plan to p
K Apple Computer, Inc. © 2002 Apple Computer, Inc. All rights reserved. Under the copyright laws, this manual may not be copied, in whole or in part
20 Chapter 3 3 Release the system identifier button and insert the Mac OS X Server CD in the tray.4 Close the tray. The server starts up from the CD.
Software Setup Instructions 21Step 3: Configure servicesTo finish configuring Mac OS X Server services, use the Server Admin application. If you haven
22 Chapter 3 Remote Setup FlowchartIf you need to partition disks, use the Advanced Remote Setup flowchart. Otherwise, use the Basic Remote Setup.Bas
Software Setup Instructions 23Step 2: Start the server To start up from the hard disk with factory-installed Mac OS X Server software, press the pow
24 Chapter 3 Step 4: Configure servicesTo finish configuring Mac OS X Server services, use the Server Admin application. If you haven’t already instal
Software Setup Instructions 25Local Setup FlowchartIf you need to partition disks or set up RAID, use the Advanced Local Setup flowchart. Follow inst
26 Chapter 3 Additional Setup TasksAfter your initial setup of software, you may need to perform some other tasks. Set NetInfo Hierarchies and Searc
27CHAPTER44 Using Command-Line ToolsXserve can be configured remotely using command-line tools and administration applications designed to support th
28 Chapter 4 About UNIX Command-Line StructureUNIX commands share some basic conventions. First you enter the name of the tool, then any information
Using Command-Line Tools 29Using the Secure Shell (SSH) CommandMac OS X Server supports Secure Shell (SSH), so an administrator can log in to a remo
3 Contents Preface About This Guide 91 Welcome to Mac OS X Server for Xserve 11 What’s New in This Version of Mac OS X Server 11Command
30 Chapter 4 Execute CommandsOnce you are logged in using SSH, you can use command-line tools to execute commands on the remote server. If you want
Using Command-Line Tools 31If you see a warning message about a “man in the middle attack” when you try to connect using SSH, that means the RSA key
32 Chapter 4 2 List the volumes you currently have, as you will need the /dev/diskXsY information for each volume. To do this, type: df -lkto see t
Using Command-Line Tools 33Partition Disk DrivespdiskYou can use this command-line tool to remove and replace existing hard disk partitions but not
34 Chapter 4 3 Unmount the volume from the system. To do this, type this command, replacing <diskXsY> with the information you found in the li
Using Command-Line Tools 35Step 3: Use pdisk to find unmounted volumesList all the device maps for a hard disk and choose the ones you want to mount
36 Chapter 4 Step 5: Delete the existing partitionsYou must delete partitions on the disk one at a time. So for each partition, when prompted, type
Using Command-Line Tools 37Step 7: Add a second partitionCreate and name a second partition formatted as HFS out of the remaining free space listed
38 Chapter 4 Example 2: Divide a Secondary Hard Disk Into Two PartitionsIn this example, you have a primary hard disk called disk 0 and a second 1
Using Command-Line Tools 39Step 5: Choose a device map to partitionUse pdisk to partition the 120 GB hard disk into two 60 GB partitions. When promp
4 Contents Step 1: Start the server 19 Step 2: Run Server Assistant 20 Step 3: Configure services 21 Step 4: Set server network
40 Chapter 4 Step 7: Create a new partitionCreate a new partition for the first available block. In this example, you’ll create a block 1824 with a l
Using Command-Line Tools 41Step 10: ExitType q to exit the pdisk tool. Then use the cd command to change to the /dev directory and the ls command to
LL2133.book Page 42 Friday, May 24, 2002 11:17 AM
43CHAPTER55 Network Setup ToolYou can configure settings for network hardware ports such as your server’s built-in Ethernet, Ethernet cards, or seria
44 Chapter 5 To use Network Setup: 1 Open Terminal.2 Open a SSH session to the target server and log in as an administrator.3 Type networksetup fol
Network Setup Tool 45Getting Network Configuration Information for Your ServerUse these parameters when you want to find out information about the ne
46 Chapter 5 Set the TCP/IP Configuration to DHCPUse this command to set the TCP/IP configuration for the specified network service to use DHCP. The c
Network Setup Tool 47If you want to clear all DNS entries for the specified network service, type “empty” in place of the DNS server name.Example com
48 Chapter 5 Rename a Network ServiceUse this command to rename the specified network service.-renamenetworkservice <network service> <new n
Network Setup Tool 49Designating Proxy ServersYou can use the Network Setup Tool to designate servers to be used as proxies for some services. Use t
Contents 5 5 Network Setup Tool 43 Using Network Setup 43Finding More Information About the Network Setup Tool 44Reverting to Old Netwo
50 Chapter 5 If you want to clear all bypass domain entries for the specified network service, type “empty” in place of the domain name.Example comma
51CHAPTER66 System Setup ToolIn Mac OS X, you set computer and user preferences using the System Preferences application locally on a computer. With
52 Chapter 6 Finding More Information About the System Setup ToolType these parameters to find information about the System Setup Tool: systemsetup
System Setup Tool 53Designate a Startup DiskUse these commands to designate the startup disk for the server. The first command tells you the current
54 Chapter 6 Set Remote Login (SSH)Use this command to turn remote login off. If you don’t want to receive a warning prompt when you turn it off (it
System Setup Tool 55Designate a Network Time ServerUse this command to designate a network time server. Enter the IP address or DNS name for the net
56 Chapter 6 Set Server for Network AccessUse this command to specify whether the server wakes from sleep when a network admin packet is sent to it.
57CHAPTER77 Using Software Installation Tools and ApplicationsMac OS X Server provides these tools to install software on Xserve: m Server Assistan
58 Chapter 7 6 On the Welcome screen, select “Install the Mac OS X Server software.” 7 Select the server on which you want to install the software (
Using Software Installation Tools and Applications 59If you need help using the Installer Tool, read Chapter 4, “Using Command-Line Tools.”Follow th
6 Contents Set Remote Login (SSH) 54Setting Date and Time Preferences 54Set the Date 54Set the Time 54Set the Time Zone 54Desig
60 Chapter 7 -helpDisplays a list of parameters you can use with the Installer Tool.-verboseDisplays more information than the default output, which
Using Software Installation Tools and Applications 61Full Operating System InstallationIf you use command-line tools to recover data, you need to re
62 Chapter 7 5 Install the operating system on a volume from the list. For example, type: /usr/sbin/installer -pkg /System/Installation/Packages/OS
63CHAPTER88 Administration SoftwareMac OS X Server comes with applications to set up, administer, and monitor server processes and services, includi
64 Chapter 8 To use admin applications: 1 Connect to the server from the admin computer and log in to the server using the administrator name and p
Administration Software 65Server AdminYou use the Server Admin application to configure and manage most services, to set up and manage server user ac
66 Chapter 8 Remote Printer SetupThis version of Mac OS X Server supports the creation of print queues for servers from within the Server Admin appl
Administration Software 67Install NetBootUse the NetBoot CD to install the NetBoot.pkg file on your server. You can install the package locally on th
68 Chapter 8 Macintosh ManagerYou use Macintosh Manager to set up authentication and define user environments for computers with Mac OS 8.1 through M
Administration Software 69Server MonitorServer Monitor is a new application, included with this version of Mac OS X Server, that is designed to supp
Contents 7 Receive Automatic Status Change Notifications 70Get Information About a Server 70Streaming Server Admin 71Install Streaming S
70 Chapter 8 Set Up Server MonitorTo display the toolbar, click the oval button in the top-right corner of the Server Monitor window. To set up Serv
Administration Software 71Streaming Server AdminQuickTime Streaming Server (QTSS) is a technology that delivers media over the Internet in real time
72 Chapter 8 5 Select the root volume to install WebObjects and click Continue.6 Choose an installation option and click Install. Apple recommends t
Administration Software 73Simple Network Management Protocol (SNMP)SNMP is a set of protocols used to manage and monitor multi-platform computer net
LL2133.book Page 74 Friday, May 24, 2002 11:17 AM
75CHAPTER99 Problem SolvingThe solutions in this chapter assume that you’ve read the other chapters in this guide. If you need help doing any of the
76 Chapter 9 To fix network settings using the serial port: 1 Connect a terminal to the serial port of your Xserve (follow the instructions in “Con
Problem Solving 77Copy Data and Reinstall System Software RemotelyIf you have information on the server that you need to preserve, you need to copy
78 Chapter 9 3 Drag the AppleSetupDone file to the trash and empty the trash. This file is located in: /var/db/4 Restart the server. Server Assistant
Problem Solving 79-rsrcCopies resource forks.For example, to back up jmartin’s user file to another hard disk named NewDrive, type the following: di
LL2133.book Page 8 Friday, May 24, 2002 11:17 AM
80 Chapter 9 Follow these steps: 1 Start up the server if it’s turned off. You can either start up from the hard disk, or start up from a bootable
Problem Solving 81Setting Up Administrator PermissionsYou can give specific users permission to administer servers using the sudo tool. Sudo is short
LL2133.book Page 82 Friday, May 24, 2002 11:17 AM
83APPENDIXAA Mac OS X Server Information WorksheetThis appendix contains a worksheet for recording information about your server. You can make a pho
Mac OS X Server Information WorksheetServer Assistant asks you for the information in this worksheet. If you don’t have all of the networking and Ethe
Your server has a built-in Ethernet port and may have additional ports installed on Ethernet cards. When you use Server Assistant, you’ll specify how
LL2133.book Page 86 Friday, May 24, 2002 11:17 AM
9 PREFACE About This Guide This guide provides information about installing and using this version of Mac OS X Server on Xserve.Use this guide as a
Komentarze do niniejszej Instrukcji