没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Ubuntu Server Guide
Ubuntu Server Guide
Copyright © 2018 Contributors to the document
Abstract
Welcome to the Ubuntu Server Guide! It contains information on how to install and configure various server applications
on your Ubuntu system to fit your needs. It is a step-by-step, task-oriented guide for configuring and customizing your
system.
Credits and License
This document is maintained by the Ubuntu documentation team (https://wiki.ubuntu.com/DocumentationTeam). A list of contributors is below.
This document is made available under the Creative Commons ShareAlike 3.0 License (CC-BY-SA).
You are free to modify, extend, and improve the Ubuntu documentation source code under the terms of this license. All derivative works must be
released under this license.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE AS DESCRIBED IN THE DISCLAIMER.
A copy of the license is available here: Creative Commons ShareAlike License
1
.
Contributors to this document are:
• Members of the Ubuntu Documentation Project
2
• Members of the Ubuntu Server Team
3
• Contributors to the Community Help Wiki
4
• Other contributors can be found in the revision history of the serverguide
5
and ubuntu-docs
6
bzr branches available on Launchpad.
1
https://creativecommons.org/licenses/by-sa/3.0/
2
https://launchpad.net/~ubuntu-core-doc
3
https://launchpad.net/~ubuntu-server
4
https://help.ubuntu.com/community/
5
https://bazaar.launchpad.net/~ubuntu-core-doc/serverguide/trunk/changes
6
https://bazaar.launchpad.net/~ubuntu-core-doc/ubuntu-docs/trunk/changes
Table of Contents
1. Introduction ........................................................................................................................................ 1
1. Support ...................................................................................................................................... 2
2. Installation .......................................................................................................................................... 3
1. Preparing to Install ..................................................................................................................... 4
2. Installing using the live server installer ........................................................................................ 6
3. Installation using debian-installer ................................................................................................ 8
4. Upgrading ................................................................................................................................. 11
5. Advanced Installation ................................................................................................................ 12
6. Kernel Crash Dump .................................................................................................................. 21
3. Package Management ........................................................................................................................ 27
1. Introduction .............................................................................................................................. 28
2. dpkg ......................................................................................................................................... 29
3. Apt ........................................................................................................................................... 30
4. Aptitude ................................................................................................................................... 32
5. Automatic Updates ................................................................................................................... 34
6. Configuration ............................................................................................................................ 36
7. References ................................................................................................................................ 38
4. Networking ....................................................................................................................................... 39
1. Network Configuration .............................................................................................................. 40
2. TCP/IP ..................................................................................................................................... 48
3. Dynamic Host Configuration Protocol (DHCP) .......................................................................... 52
4. Time Synchronization ............................................................................................................... 55
5. Data Plane Development Kit ..................................................................................................... 60
5. DM-Multipath ................................................................................................................................... 75
1. Device Mapper Multipathing ..................................................................................................... 76
2. Multipath Devices ..................................................................................................................... 79
3. Setting up DM-Multipath Overview ........................................................................................... 82
4. The DM-Multipath Configuration File ....................................................................................... 86
5. DM-Multipath Administration and Troubleshooting .................................................................... 98
6. Remote Administration .................................................................................................................... 103
1. OpenSSH Server ..................................................................................................................... 104
2. Puppet .................................................................................................................................... 107
3. Zentyal ................................................................................................................................... 110
7. Network Authentication ................................................................................................................... 114
1. OpenLDAP Server .................................................................................................................. 115
2. Samba and LDAP ................................................................................................................... 140
3. Kerberos ................................................................................................................................. 146
4. Kerberos and LDAP ................................................................................................................ 154
5. SSSD and Active Directory ..................................................................................................... 161
8. Domain Name Service (DNS) ......................................................................................................... 166
iii
Ubuntu Server Guide
1. Installation .............................................................................................................................. 167
2. Configuration .......................................................................................................................... 168
3. Troubleshooting ...................................................................................................................... 174
4. References .............................................................................................................................. 178
9. Security .......................................................................................................................................... 179
1. User Management ................................................................................................................... 180
2. Console Security ..................................................................................................................... 186
3. Firewall .................................................................................................................................. 187
4. AppArmor .............................................................................................................................. 194
5. Certificates ............................................................................................................................. 198
6. eCryptfs .................................................................................................................................. 203
10. Monitoring .................................................................................................................................... 205
1. Overview ................................................................................................................................ 206
2. Nagios .................................................................................................................................... 207
3. Munin ..................................................................................................................................... 211
11. Web Servers ................................................................................................................................. 213
1. HTTPD - Apache2 Web Server ............................................................................................... 214
2. PHP - Scripting Language ....................................................................................................... 221
3. Squid - Proxy Server .............................................................................................................. 223
4. Ruby on Rails ......................................................................................................................... 226
5. Apache Tomcat ....................................................................................................................... 228
12. Databases ...................................................................................................................................... 232
1. MySQL .................................................................................................................................. 233
2. PostgreSQL ............................................................................................................................ 237
13. LAMP Applications ...................................................................................................................... 240
1. Overview ................................................................................................................................ 241
2. Moin Moin ............................................................................................................................. 242
3. phpMyAdmin .......................................................................................................................... 244
4. WordPress .............................................................................................................................. 246
14. File Servers ................................................................................................................................... 248
1. FTP Server ............................................................................................................................. 249
2. Network File System (NFS) .................................................................................................... 253
3. iSCSI Initiator ........................................................................................................................ 255
4. CUPS - Print Server ............................................................................................................... 258
15. Email Services .............................................................................................................................. 261
1. Postfix .................................................................................................................................... 262
2. Exim4 ..................................................................................................................................... 270
3. Dovecot Server ....................................................................................................................... 273
4. Mailman ................................................................................................................................. 275
5. Mail Filtering .......................................................................................................................... 281
16. Chat Applications .......................................................................................................................... 288
1. Overview ................................................................................................................................ 289
iv
Ubuntu Server Guide
2. IRC Server ............................................................................................................................. 290
3. Jabber Instant Messaging Server .............................................................................................. 292
17. Version Control System ................................................................................................................ 294
1. Bazaar .................................................................................................................................... 295
2. Git .......................................................................................................................................... 296
3. Subversion .............................................................................................................................. 299
4. References .............................................................................................................................. 304
18. Samba ........................................................................................................................................... 305
1. Introduction ............................................................................................................................ 306
2. File Server .............................................................................................................................. 307
3. Print Server ............................................................................................................................ 310
4. Securing File and Print Server ................................................................................................. 312
5. As a Domain Controller .......................................................................................................... 317
6. Active Directory Integration .................................................................................................... 321
19. Backups ........................................................................................................................................ 323
1. Shell Scripts ........................................................................................................................... 324
2. Archive Rotation ..................................................................................................................... 328
3. Bacula .................................................................................................................................... 331
20. Virtualization ................................................................................................................................ 336
1. libvirt ..................................................................................................................................... 337
2. Qemu ..................................................................................................................................... 344
3. Cloud images and uvtool ......................................................................................................... 346
4. Ubuntu Cloud ......................................................................................................................... 350
5. LXD ....................................................................................................................................... 351
6. LXC ....................................................................................................................................... 362
21. Clustering ..................................................................................................................................... 377
1. DRBD .................................................................................................................................... 378
22. VPN ............................................................................................................................................. 381
1. OpenVPN ............................................................................................................................... 382
23. Other Useful Applications ............................................................................................................. 396
1. pam_motd ............................................................................................................................... 397
2. etckeeper ................................................................................................................................ 399
3. Byobu ..................................................................................................................................... 401
A. Appendix ....................................................................................................................................... 403
1. Reporting Bugs in Ubuntu Server Edition ................................................................................ 404
v
剩余412页未读,继续阅读
资源评论
错误重复学习记录
- 粉丝: 54
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功