| Preface |
|
xvii | |
| Acknowledgments |
|
xxiii | |
| About the Authors |
|
xxv | |
| Introduction |
|
xxvii | |
| Welcome to Ubuntu Server |
|
xxvii | |
| Free Software, Open Source, and Linux |
|
xxviii | |
| Free Software and GNU |
|
xxix | |
| Linux |
|
xxx | |
| Open Source |
|
xxxi | |
| A Brief History of the Ubuntu Project |
|
xxxii | |
| Mark Shuttleworth |
|
xxxii | |
| The Warthogs |
|
xxxiv | |
| What Does Ubuntu Mean? |
|
xxxv | |
| Creating Canonical |
|
xxxvi | |
| The Ubuntu Community |
|
xxxvii | |
| Ubuntu Promises and Goals |
|
xxxix | |
| Philosophical Goals |
|
xxxix | |
| Conduct Goals and Code of Conduct |
|
xli | |
| Technical Goals |
|
xlii | |
| Canonical and the Ubuntu Foundation |
|
xliv | |
| Canonical, Ltd |
|
xliv | |
| Canonical's Service and Support |
|
xlv | |
| The Ubuntu Foundation |
|
xlvi | |
| History of Ubuntu Server |
|
xlvii | |
| Simple, Secure, Supported |
|
xlix | |
|
|
|
1 | (16) |
|
|
|
2 | (1) |
|
|
|
3 | (2) |
|
|
|
5 | (8) |
|
|
|
5 | (3) |
|
|
|
8 | (1) |
|
|
|
8 | (1) |
|
|
|
8 | (5) |
|
|
|
13 | (2) |
|
|
|
15 | (1) |
|
|
|
16 | (1) |
|
Essential System Administration |
|
|
17 | (34) |
|
Basic Command-Line Administration |
|
|
18 | (6) |
|
|
|
18 | (3) |
|
|
|
21 | (1) |
|
|
|
21 | (2) |
|
|
|
23 | (1) |
|
|
|
24 | (1) |
|
|
|
24 | (16) |
|
|
|
24 | (2) |
|
|
|
26 | (2) |
|
|
|
28 | (6) |
|
|
|
34 | (6) |
|
|
|
40 | (5) |
|
|
|
45 | (6) |
|
Network Configuration Files |
|
|
46 | (2) |
|
|
|
48 | (3) |
|
|
|
51 | (32) |
|
Introduction to Package Management |
|
|
52 | (8) |
|
|
|
53 | (1) |
|
|
|
53 | (2) |
|
Basic Functions of Package Management |
|
|
55 | (3) |
|
Advanced Functions of Package Management Systems |
|
|
58 | (2) |
|
|
|
60 | (3) |
|
|
|
60 | (3) |
|
|
|
63 | (1) |
|
Package Management in Ubuntu |
|
|
63 | (14) |
|
|
|
64 | (1) |
|
|
|
65 | (2) |
|
|
|
67 | (2) |
|
Manipulating Installed Packages |
|
|
69 | (2) |
|
Manipulating Repositories |
|
|
71 | (2) |
|
Ubuntu Default Repositories |
|
|
73 | (1) |
|
|
|
74 | (1) |
|
|
|
75 | (1) |
|
|
|
76 | (1) |
|
|
|
77 | (6) |
|
|
|
77 | (2) |
|
|
|
79 | (1) |
|
Building Packages from Scratch |
|
|
80 | (1) |
|
Hosting Your Own Packages |
|
|
81 | (2) |
|
Automated Ubuntu Installs |
|
|
83 | (42) |
|
|
|
84 | (20) |
|
Basic Preseed Configuration for CD-ROM |
|
|
85 | (4) |
|
|
|
89 | (2) |
|
|
|
91 | (5) |
|
|
|
96 | (2) |
|
|
|
98 | (1) |
|
|
|
99 | (1) |
|
|
|
100 | (1) |
|
|
|
100 | (4) |
|
|
|
104 | (7) |
|
Basic Kickstart Configuration for CD-ROM |
|
|
104 | (4) |
|
Changes and Limitations in Ubuntu Kickstart |
|
|
108 | (2) |
|
Run Custom Commands during the Install |
|
|
110 | (1) |
|
PXE Boot Server Deployment |
|
|
111 | (6) |
|
|
|
112 | (1) |
|
|
|
113 | (1) |
|
|
|
113 | (2) |
|
|
|
115 | (1) |
|
|
|
116 | (1) |
|
Customize Automated Installs |
|
|
117 | (8) |
|
|
|
118 | (1) |
|
|
|
119 | (1) |
|
|
|
120 | (2) |
|
|
|
122 | (3) |
|
Guide to Common Ubuntu Servers |
|
|
125 | (56) |
|
|
|
126 | (9) |
|
|
|
127 | (1) |
|
|
|
127 | (2) |
|
|
|
129 | (1) |
|
|
|
129 | (3) |
|
|
|
132 | (2) |
|
|
|
134 | (1) |
|
|
|
135 | (9) |
|
|
|
135 | (1) |
|
Ubuntu Apache Conventions |
|
|
136 | (3) |
|
|
|
139 | (2) |
|
|
|
141 | (1) |
|
WordPress, a Sample LAMP Environment |
|
|
141 | (3) |
|
|
|
144 | (12) |
|
|
|
144 | (1) |
|
Postfix Configuration Types |
|
|
145 | (1) |
|
Ubuntu Postfix Conventions |
|
|
146 | (2) |
|
|
|
148 | (2) |
|
|
|
150 | (3) |
|
|
|
153 | (1) |
|
|
|
154 | (2) |
|
|
|
156 | (2) |
|
Enable Maildirs on Postfix |
|
|
156 | (1) |
|
|
|
157 | (1) |
|
Ubuntu Dovecot Conventions |
|
|
158 | (1) |
|
|
|
158 | (2) |
|
Ubuntu OpenSSH Conventions |
|
|
159 | (1) |
|
|
|
160 | (3) |
|
|
|
160 | (1) |
|
|
|
161 | (1) |
|
|
|
161 | (2) |
|
|
|
163 | (9) |
|
|
|
163 | (6) |
|
|
|
169 | (3) |
|
|
|
172 | (9) |
|
|
|
174 | (3) |
|
|
|
177 | (4) |
|
|
|
181 | (40) |
|
General Security Principles |
|
|
182 | (1) |
|
|
|
183 | (5) |
|
|
|
185 | (2) |
|
|
|
187 | (1) |
|
|
|
188 | (4) |
|
|
|
189 | (2) |
|
Enforce and Complain Modes |
|
|
191 | (1) |
|
Ubuntu AppArmor Conventions |
|
|
192 | (1) |
|
|
|
192 | (4) |
|
|
|
193 | (1) |
|
|
|
193 | (2) |
|
|
|
195 | (1) |
|
|
|
196 | (12) |
|
|
|
198 | (1) |
|
|
|
199 | (1) |
|
|
|
200 | (2) |
|
|
|
202 | (5) |
|
|
|
207 | (1) |
|
|
|
208 | (7) |
|
|
|
210 | (1) |
|
Initialize the Tripwire Database |
|
|
211 | (2) |
|
Update the Tripwire Database |
|
|
213 | (1) |
|
Ubuntu Tripwire Conventions |
|
|
214 | (1) |
|
|
|
215 | (6) |
|
|
|
215 | (1) |
|
|
|
216 | (1) |
|
|
|
216 | (1) |
|
|
|
217 | (1) |
|
|
|
217 | (4) |
|
|
|
221 | (28) |
|
|
|
222 | (2) |
|
|
|
224 | (2) |
|
|
|
226 | (5) |
|
|
|
226 | (4) |
|
|
|
230 | (1) |
|
|
|
231 | (18) |
|
|
|
232 | (1) |
|
Default BackupPC Configuration |
|
|
233 | (3) |
|
Configure the Client Machine |
|
|
236 | (1) |
|
Add the Client to BackupPC |
|
|
237 | (1) |
|
Start the First Backup Job |
|
|
238 | (2) |
|
|
|
240 | (5) |
|
|
|
245 | (2) |
|
Ubuntu BackupPC Conventions |
|
|
247 | (2) |
|
|
|
249 | (30) |
|
|
|
250 | (5) |
|
|
|
250 | (1) |
|
|
|
251 | (4) |
|
|
|
255 | (7) |
|
Install ganglia-monitor on All Hosts |
|
|
256 | (2) |
|
|
|
258 | (2) |
|
Install the Ganglia Web Front End |
|
|
260 | (2) |
|
|
|
262 | (17) |
|
|
|
263 | (1) |
|
GroundWork File Conventions |
|
|
264 | (1) |
|
|
|
265 | (3) |
|
|
|
268 | (3) |
|
|
|
271 | (1) |
|
|
|
271 | (1) |
|
Enable Notifications for Nagios |
|
|
272 | (1) |
|
Add a Service Check to a Host |
|
|
273 | (1) |
|
|
|
273 | (1) |
|
|
|
274 | (3) |
|
More GroundWork Information |
|
|
277 | (2) |
|
|
|
279 | (30) |
|
|
|
280 | (17) |
|
|
|
280 | (1) |
|
|
|
281 | (1) |
|
|
|
281 | (1) |
|
|
|
282 | (3) |
|
|
|
285 | (3) |
|
Extra ubuntu-vm-builder Options |
|
|
288 | (4) |
|
|
|
292 | (3) |
|
KVM Graphical Console and Management Tools |
|
|
295 | (2) |
|
|
|
297 | (12) |
|
|
|
298 | (1) |
|
|
|
298 | (2) |
|
VMware Server Init Scripts |
|
|
300 | (1) |
|
VMware Web Administration |
|
|
301 | (1) |
|
Create a New Virtual Machine |
|
|
302 | (1) |
|
|
|
303 | (2) |
|
|
|
305 | (1) |
|
|
|
306 | (1) |
|
|
|
306 | (2) |
|
|
|
308 | (1) |
|
|
|
309 | (56) |
|
Fault Tolerance Principles |
|
|
310 | (1) |
|
|
|
311 | (27) |
|
|
|
312 | (1) |
|
Configure RAID during Installation |
|
|
313 | (3) |
|
Configure RAID after Installation |
|
|
316 | (3) |
|
|
|
319 | (3) |
|
Migrate Non-RAID to Software RAID |
|
|
322 | (6) |
|
Migrate from RAID 1 to RAID 5 |
|
|
328 | (8) |
|
Add a Drive to a RAID 5 Array |
|
|
336 | (2) |
|
|
|
338 | (5) |
|
|
|
343 | (22) |
|
|
|
345 | (8) |
|
|
|
353 | (12) |
|
|
|
365 | (30) |
|
General Troubleshooting Philosophy |
|
|
366 | (3) |
|
|
|
366 | (1) |
|
Favor Quick, Simple Tests over Slow, Complex Tests |
|
|
367 | (1) |
|
|
|
367 | (1) |
|
Good Communication is Critical When Collaborating |
|
|
368 | (1) |
|
Understand How Systems Work |
|
|
368 | (1) |
|
Document Your Problems and Solutions |
|
|
368 | (1) |
|
Use the Internet, but Carefully |
|
|
369 | (1) |
|
|
|
369 | (1) |
|
Localhost Troubleshooting |
|
|
369 | (12) |
|
Host is Sluggish or Unresponsive |
|
|
370 | (9) |
|
|
|
379 | (2) |
|
|
|
381 | (9) |
|
Server A Can't Talk to Server B |
|
|
381 | (6) |
|
Can I Route to the Remote Host? |
|
|
387 | (2) |
|
Test the Remote Host Locally |
|
|
389 | (1) |
|
|
|
390 | (5) |
|
|
|
391 | (1) |
|
|
|
391 | (1) |
|
|
|
392 | (3) |
|
|
|
395 | (20) |
|
|
|
396 | (5) |
|
|
|
398 | (2) |
|
|
|
400 | (1) |
|
|
|
401 | (1) |
|
Ubuntu Server Recovery CD |
|
|
401 | (5) |
|
Boot into the Recovery CD |
|
|
402 | (2) |
|
|
|
404 | (1) |
|
Repair the Root File System |
|
|
405 | (1) |
|
|
|
406 | (9) |
|
|
|
406 | (1) |
|
Add the Universe Repository |
|
|
406 | (1) |
|
|
|
407 | (2) |
|
Restore the Partition Table |
|
|
409 | (2) |
|
|
|
411 | (4) |
|
|
|
415 | (14) |
|
Paid Support from Canonical |
|
|
416 | (1) |
|
|
|
417 | (1) |
|
|
|
418 | (3) |
|
|
|
421 | (1) |
|
|
|
422 | (1) |
|
|
|
423 | (1) |
|
|
|
424 | (1) |
|
|
|
425 | (1) |
|
Tech Answers System (Launchpad) |
|
|
425 | (1) |
|
|
|
425 | (2) |
|
|
|
427 | (2) |
| Index |
|
429 | |