Preface |
|
xix | |
Acknowledgments |
|
xxv | |
About the Authors |
|
xxvii | |
Introduction |
|
xxix | |
Welcome to Ubuntu Server |
|
xxix | |
Free Software, Open Source, and Linux |
|
xxx | |
Free Software and GNU |
|
xxxi | |
Linux |
|
xxxii | |
Open Source |
|
xxxiii | |
A Brief History of the Ubuntu Project |
|
xxxiv | |
Mark Shuttleworth |
|
xxxiv | |
The Warthogs |
|
xxxvi | |
What Does Ubuntu Mean? |
|
xxxvii | |
Creating Canonical |
|
xxxviii | |
The Ubuntu Community |
|
xxxix | |
Ubuntu Promises and Goals |
|
xli | |
Philosophical Goals |
|
xli | |
Conduct Goals and Code of Conduct |
|
xliii | |
Technical Goals |
|
xliv | |
Canonical and the Ubuntu Foundation |
|
xlvi | |
Canonical, Ltd. |
|
xlvi | |
Canonical's Service and Support |
|
xlvii | |
The Ubuntu Foundation |
|
xlviii | |
History of Ubuntu Server |
|
xlix | |
Simple, Secure, Supported |
|
li | |
|
|
1 | (16) |
|
|
2 | (1) |
|
|
3 | (2) |
|
|
5 | (1) |
|
|
5 | (3) |
|
|
8 | (1) |
|
|
8 | (1) |
|
|
9 | (4) |
|
|
13 | (2) |
|
|
15 | (1) |
|
|
16 | (1) |
|
Chapter 2 Essential System Administration |
|
|
17 | (34) |
|
Basic Command-Line Administration |
|
|
18 | (1) |
|
|
18 | (3) |
|
|
21 | (1) |
|
|
21 | (2) |
|
|
23 | (1) |
|
|
24 | (1) |
|
|
24 | (1) |
|
|
25 | (1) |
|
|
26 | (1) |
|
|
27 | (7) |
|
|
34 | (5) |
|
|
39 | (6) |
|
|
45 | (1) |
|
Network Configuration Files |
|
|
46 | (2) |
|
|
48 | (3) |
|
Chapter 3 Package Management |
|
|
51 | (32) |
|
Introduction to Package Management |
|
|
52 | (1) |
|
|
53 | (1) |
|
|
53 | (2) |
|
Basic Functions of Package Management |
|
|
55 | (3) |
|
Advanced Functions of Package Management Systems |
|
|
58 | (2) |
|
|
60 | (1) |
|
|
60 | (3) |
|
|
63 | (1) |
|
Package Management in Ubuntu |
|
|
63 | (1) |
|
|
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 | (1) |
|
|
77 | (2) |
|
|
79 | (1) |
|
Building Packages from Scratch |
|
|
80 | (1) |
|
Hosting Your Own Packages |
|
|
81 | (2) |
|
Chapter 4 Automated Ubuntu Installs |
|
|
83 | (42) |
|
|
84 | (1) |
|
Basic Preseed Configuration for CD-ROM |
|
|
85 | (4) |
|
|
89 | (2) |
|
|
91 | (5) |
|
|
96 | (2) |
|
|
98 | (1) |
|
|
99 | (1) |
|
|
100 | (1) |
|
|
100 | (4) |
|
|
104 | (1) |
|
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 | (1) |
|
|
112 | (1) |
|
|
113 | (1) |
|
|
113 | (3) |
|
|
116 | (1) |
|
|
116 | (2) |
|
Customize Automated Installs |
|
|
118 | (1) |
|
|
118 | (1) |
|
|
119 | (2) |
|
|
121 | (2) |
|
|
123 | (2) |
|
Chapter 5 Guide to Common Ubuntu Servers |
|
|
125 | (74) |
|
|
126 | (1) |
|
|
127 | (1) |
|
|
127 | (2) |
|
|
129 | (1) |
|
|
129 | (3) |
|
|
132 | (2) |
|
|
134 | (1) |
|
|
135 | (1) |
|
|
135 | (1) |
|
Ubuntu Apache Conventions |
|
|
136 | (3) |
|
|
139 | (2) |
|
|
141 | (1) |
|
WordPress, a Sample LAMP Environment |
|
|
141 | (3) |
|
|
144 | (1) |
|
|
144 | (1) |
|
Postfix Configuration Types |
|
|
145 | (1) |
|
Ubuntu Postfix Conventions |
|
|
146 | (2) |
|
|
148 | (2) |
|
|
150 | (3) |
|
|
153 | (1) |
|
|
154 | (2) |
|
|
156 | (1) |
|
Enable Maildirs on Postfix |
|
|
156 | (1) |
|
|
157 | (1) |
|
Ubuntu Dovecot Conventions |
|
|
158 | (1) |
|
|
158 | (1) |
|
Ubuntu OpenSSH Conventions |
|
|
159 | (1) |
|
|
160 | (1) |
|
|
160 | (1) |
|
|
161 | (1) |
|
|
161 | (2) |
|
|
163 | (1) |
|
|
163 | (5) |
|
|
168 | (6) |
|
|
174 | (1) |
|
|
174 | (3) |
|
|
177 | (3) |
|
|
180 | (1) |
|
|
180 | (1) |
|
Technical Details of the LTSP Boot Process |
|
|
181 | (1) |
|
|
182 | (1) |
|
|
183 | (1) |
|
LTSP Availability in Ubuntu |
|
|
183 | (1) |
|
Installing an LTSP Server |
|
|
183 | (1) |
|
LTSP Server Configurations |
|
|
184 | (2) |
|
The Installation Procedure |
|
|
186 | (2) |
|
Initial LTSP Server Setup |
|
|
188 | (1) |
|
Initial LTSP Client Setup |
|
|
189 | (1) |
|
Installing the LTSP Environment in Ubuntu or on a Desktop Installation |
|
|
190 | (1) |
|
|
191 | (3) |
|
|
194 | (1) |
|
|
195 | (2) |
|
|
197 | (2) |
|
|
199 | (40) |
|
General Security Principles |
|
|
200 | (1) |
|
|
201 | (2) |
|
|
203 | (2) |
|
|
205 | (1) |
|
|
206 | (1) |
|
|
207 | (2) |
|
Enforce and Complain Modes |
|
|
209 | (1) |
|
Ubuntu AppArmor Conventions |
|
|
210 | (1) |
|
|
210 | (1) |
|
|
211 | (1) |
|
|
211 | (2) |
|
|
213 | (1) |
|
|
214 | (2) |
|
|
216 | (1) |
|
|
217 | (1) |
|
|
218 | (2) |
|
|
220 | (4) |
|
|
224 | (2) |
|
|
226 | (1) |
|
|
227 | (2) |
|
Initialize the Tripwire Database |
|
|
229 | (1) |
|
Update the Tripwire Database |
|
|
230 | (2) |
|
Ubuntu Tripwire Conventions |
|
|
232 | (1) |
|
|
233 | (1) |
|
|
233 | (1) |
|
|
233 | (1) |
|
|
234 | (1) |
|
|
234 | (1) |
|
|
235 | (4) |
|
|
239 | (28) |
|
|
240 | (2) |
|
|
242 | (2) |
|
|
244 | (1) |
|
|
244 | (4) |
|
|
248 | (1) |
|
|
249 | (1) |
|
|
250 | (1) |
|
Default BackupPC Configuration |
|
|
251 | (3) |
|
Configure the Client Machine |
|
|
254 | (1) |
|
Add the Client to BackupPC |
|
|
255 | (1) |
|
Start the First Backup Job |
|
|
256 | (2) |
|
|
258 | (5) |
|
|
263 | (2) |
|
Ubuntu BackupPC Conventions |
|
|
265 | (2) |
|
|
267 | (30) |
|
|
268 | (1) |
|
|
268 | (1) |
|
|
269 | (4) |
|
|
273 | (1) |
|
Install ganglia-monitor on All Hosts |
|
|
274 | (2) |
|
|
276 | (2) |
|
Install the Ganglia Web Front End |
|
|
278 | (2) |
|
|
280 | (1) |
|
|
281 | (1) |
|
Groundwork File Conventions |
|
|
282 | (1) |
|
|
283 | (3) |
|
|
286 | (3) |
|
|
289 | (1) |
|
|
289 | (1) |
|
Enable Notifications for Nagios |
|
|
290 | (1) |
|
Add a Service Check to a Host |
|
|
291 | (1) |
|
|
291 | (1) |
|
|
292 | (4) |
|
More Groundwork Information |
|
|
296 | (1) |
|
Chapter 9 Virtualization and Cloud Computing |
|
|
297 | (44) |
|
|
298 | (1) |
|
|
298 | (1) |
|
|
299 | (1) |
|
|
299 | (1) |
|
|
300 | (2) |
|
|
302 | (4) |
|
|
306 | (3) |
|
|
309 | (3) |
|
KVM Graphical Console and Management Tools |
|
|
312 | (3) |
|
|
315 | (1) |
|
|
315 | (1) |
|
|
316 | (3) |
|
|
319 | (1) |
|
|
320 | (4) |
|
|
324 | (2) |
|
|
326 | (1) |
|
Start, Stop, and Terminate an Instance |
|
|
327 | (1) |
|
|
328 | (2) |
|
|
330 | (1) |
|
Install and Configure Juju |
|
|
330 | (3) |
|
|
333 | (1) |
|
|
333 | (4) |
|
|
337 | (1) |
|
|
338 | (3) |
|
Chapter 10 Fault Tolerance |
|
|
341 | (58) |
|
Fault Tolerance Principles |
|
|
342 | (2) |
|
|
344 | (1) |
|
|
345 | (1) |
|
Configure RAID during Installation |
|
|
346 | (2) |
|
Configure RAID after Installation |
|
|
348 | (3) |
|
|
351 | (3) |
|
Migrate Non-RAID to Software RAID |
|
|
354 | (5) |
|
Migrate from RAID 1 to RAID 5 |
|
|
359 | (7) |
|
Add a Drive to a RAID 5 Array |
|
|
366 | (3) |
|
|
369 | (1) |
|
|
370 | (1) |
|
|
371 | (1) |
|
|
372 | (3) |
|
Ubuntu 10.04 Network Configuration |
|
|
375 | (1) |
|
Ubuntu 12.04 and Newer Network Configuration |
|
|
376 | (1) |
|
Enable the Bonded Interface |
|
|
377 | (1) |
|
|
378 | (2) |
|
|
380 | (8) |
|
|
388 | (11) |
|
Chapter 11 Troubleshooting |
|
|
399 | (30) |
|
General Troubleshooting Philosophy |
|
|
400 | (1) |
|
|
400 | (1) |
|
Favor Quick, Simple Tests over Slow, Complex Tests |
|
|
401 | (1) |
|
|
401 | (1) |
|
Good Communication Is Critical |
|
|
|
|
402 | (1) |
|
Understand How Systems Work |
|
|
402 | (1) |
|
Document Your Problems and Solutions |
|
|
402 | (1) |
|
Use the Internet, but Carefully |
|
|
403 | (1) |
|
|
403 | (1) |
|
Localhost Troubleshooting |
|
|
403 | (1) |
|
Host Is Sluggish or Unresponsive |
|
|
404 | (9) |
|
|
413 | (3) |
|
|
416 | (1) |
|
Server A Can't Talk to Server B |
|
|
416 | (5) |
|
Can I Route to the Remote Host? |
|
|
421 | (3) |
|
Test the Remote Host Locally |
|
|
424 | (1) |
|
|
425 | (1) |
|
|
425 | (1) |
|
|
426 | (1) |
|
|
427 | (2) |
|
Chapter 12 Rescue and Recovery |
|
|
429 | (20) |
|
|
430 | (2) |
|
|
432 | (2) |
|
|
434 | (1) |
|
|
435 | (1) |
|
Ubuntu Server Recovery CD |
|
|
435 | (1) |
|
Boot into the Recovery CD |
|
|
436 | (2) |
|
|
438 | (1) |
|
Repair the Root File System |
|
|
438 | (1) |
|
|
439 | (1) |
|
|
439 | (1) |
|
Add the Universe Repository |
|
|
439 | (1) |
|
|
440 | (3) |
|
Restore the Partition Table |
|
|
443 | (1) |
|
|
444 | (5) |
|
Chapter 13 Help and Resources |
|
|
449 | (14) |
|
Paid Support from Canonical |
|
|
450 | (1) |
|
|
451 | (1) |
|
|
452 | (3) |
|
|
455 | (1) |
|
|
456 | (1) |
|
|
457 | (1) |
|
|
458 | (1) |
|
|
459 | (1) |
|
Tech Answers System (Launchpad) |
|
|
459 | (1) |
|
|
459 | (2) |
|
|
461 | (2) |
|
Chapter 14 Basic Linux Administration |
|
|
463 | (32) |
|
|
464 | (1) |
|
|
465 | (1) |
|
|
466 | (4) |
|
|
470 | (2) |
|
File Permissions and Ownership |
|
|
472 | (2) |
|
|
474 | (1) |
|
|
474 | (1) |
|
|
475 | (1) |
|
|
476 | (1) |
|
|
477 | (1) |
|
|
478 | (1) |
|
|
478 | (2) |
|
|
480 | (5) |
|
Appendix Cool Tips and Tricks |
|
|
485 | (1) |
|
Avoid That grep Command in grep Output |
|
|
485 | (1) |
|
Shortcut to a Command Path |
|
|
486 | (1) |
|
|
486 | (1) |
|
Run a Command Over and Over |
|
|
487 | (1) |
|
Make a Noise When the Server Comes Back Up |
|
|
487 | (1) |
|
Search and Replace Text in a File |
|
|
487 | (1) |
|
|
488 | (1) |
|
Bash Commands with Too Many Arguments |
|
|
488 | (1) |
|
|
489 | (1) |
|
Are These Files Identical? |
|
|
489 | (1) |
|
Go Back to Your Previous Directory |
|
|
489 | (1) |
|
Find Out Who Is Tying Up a File System You |
|
|
|
|
490 | (1) |
|
Send a Test E-mail Using telnet |
|
|
490 | (1) |
|
|
491 | (1) |
|
|
492 | (3) |
Index |
|
495 | |