ng Mac OS X Lion Server Charles Edge, Jr. O'REILLY Beijing Cambridge Farnham Kbln Sebastopol Tokyo
Table of Contents Preface ix 1. Planning 1 The Minimum 1 Server Allocation 2 Service Allocation 2 Choosing the Right Hardware 2 Storage 3 System Resources 4 Backup 5 Power 6 Planning Your Server's Network Configuration 7 Determining the IP Address, Subnet Mask, and Gateway 7 Configuring DHCP 7 Finding the Subnet Mask and Gateway 9 What's In a Name?: DNS 10 Link Aggregation 12 Using Multiple IP Addresses 14 Accessing the Server from Outside the Network 15 Port Forwarding 15 Accessing the Server Using DNS 15 Conclusion 20 2. Installation 21 Base OS Installation 21 Making a Lion Recovery Disk 21 Configuring the Network 23 Verifying Hostnames 24 Configuring Energy Saver 26 Installing the Server Software 27 Completing Installation Tasks 27 iii
Table Setting Date and Time 31 Creating Users 33 Creating Groups 35 Adding Users to Groups 36 Setting Up Open Directory 37 Open Directory Replicas 40 Binding to Open Directory 41 Switching Between Directory Domains 43 Using Workgroup Manager 44 Conclusion 46 3. Sharing and Backing Up Files 49 Managing File and Folder Access with Permissions 49 POSIX 51 ACLs 52 Enabling Sharing 54 Connecting from Clients 56 Configuring AFP Connections from Mac OS X 56 Connecting from Windows 57 Configuring WebDAV Connections from ios 59 Logging in Remotely 59 Backing Up 60 Backing Up the Server 61 Backing Up Open Directory 63 Backing Up Server Configurations 65 Backing Up Client Workstations 65 Setting Up Time Machine Server 66 Setting Up Time Machine Server Clients 67 Backing Up with Other Solutions 68 Conclusion 69 4. Sharing Address Books, Calendars, and ichat 71 Sharing Address Books 71 The Directory 72 Personal Address Books 72 Configuring Address Book to Connect 73 Sharing Calendars 74 Publishing Calendars 74 Configuring ical Server 76 Locations and Resources 77 Configuring ical Clients 78 Setting Up a Private ichat Server 82 Configuring ichat Server 82 iv of Contents
Federation 82 Saving a Copy of Each Chat 83 Setting Up the Clients 84 Conclusion 85 5. Wikis, Webs, and Blogs 87 Setting Up a Website 87 Accessing the Web Portal 88 Uploading Your Own Site 89 Setting Up More Sites 89 Setting Up a Wild 90 Deciding on a Structure 91 Creating a Wild 92 Collaborating with Others 94 Customizing the Wiki 95 Blogs 96 Creating a User Blog 96 Editing the Blog 97 Accessing Content 98 Site Redirection 99 Conclusion 100 6. Building a Mail Server 101 Before You Install 101 Registering a Domain Name 101 Configuring DNS 102 Reverse DNS 102 Making Sure the IP Isn't Blacklisted 102 Installing the Mail Service 103 Enabling Services 103 Configuring Options 107 Configuring Users 109 Installing Clients 109 Setting up ios Clients 110 Configuring Lion Mail Clients 113 Leveraging Push Notifications 115 Protecting Mail: Message Hygiene 117 Spam Filtering via MX Records 117 Clam Up Viruses and Send Assassins After Spam 117 Configuring WebMail 119 Using WebMail 120 Conclusion 123 Table ofcontents v
7. Building Your Own Podcasting Server 125 Before You Begin 126 Building Podcast Producer 126 Podcasting 128 Making Your First Podcast with Podcast Publisher 128 Accessing Content 132 Viewing Content 132 Restricting Access to Podcasts 134 Connecting with itunes 135 Customizing Workflows 135 Creating Workflows with Podcast Composer 137 Securing Workflows 140 Podcast Capture 141 Remote Recording 142 Conclusion 143 8. Managing Apple Computers and ios Devices 145 Profile Manager 146 Setting Up Profiles 148 Distributing Profiles 152 Managed Preferences 155 Software Update Services 159 Installing Software Update Server 159 Choosing Which Updates to Release 160 Configuring Clients 160 Conclusion 161 9. Network Services 163 When to Use Apple's Network Services 163 Setting Up a VPN Server 164 Configuring the Network 165 Setting Up the L2TP Clients 166 Sharing IP Addresses Using NAT 172 Hosting Your Own DNS 173 Configuring Wireless Access with RADIUS 177 Setting Up the AirPort 178 Setting Up AirPort Clients 180 Managing the Adaptive Firewall 181 Conclusion 182 10. Deploying Mac OS X Computers 183 The Basics of Imaging Mac OS X 183 Imaging with Disk Utility 184 vi Table of Contents
Using NetBoot Building a NetBoot Set Hosting a NetBoot Set Using a NetBoot Client Using Netlnstall Building a Netlnstall Image Deploying Computers with NetRestore Conclusion