Muutke küpsiste eelistusi

Practical Internet Server Configuration: Learn to Build a Fully Functional and Well-Secured Enterprise Class Internet Server 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 394 pages, kõrgus x laius: 254x178 mm, kaal: 780 g, 2 Illustrations, black and white; XVII, 394 p. 2 illus., 1 Paperback / softback
  • Ilmumisaeg: 11-Apr-2021
  • Kirjastus: APress
  • ISBN-10: 1484269594
  • ISBN-13: 9781484269596
Teised raamatud teemal:
  • Pehme köide
  • Hind: 71,86 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 84,54 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 394 pages, kõrgus x laius: 254x178 mm, kaal: 780 g, 2 Illustrations, black and white; XVII, 394 p. 2 illus., 1 Paperback / softback
  • Ilmumisaeg: 11-Apr-2021
  • Kirjastus: APress
  • ISBN-10: 1484269594
  • ISBN-13: 9781484269596
Teised raamatud teemal:
Learn the skills to complete the full installation, configuration, and maintenance of an enterprise class internet server, no matter what Unix-like operating system you prefer. This book will rapidly guide you towards real system administration, with clear explanations along the way.After a chapter explaining the most important Unix basics, you will start with a vanilla server as delivered by a hosting provider and by the end of the book, you will have a fully functional and well-secured enterprise class internet server. You will also be equipped with the expertise needed to keep your server secured and up to date.  All configuration examples are given for FreeBSD, Debian and CentOS, so you are free to choose your operating system.







No single blueprint exists for an internet server, and an important part of the work of a system administrator consists of analyzing, interpreting and implementing specific wishes, demands and restrictions from different departmentsand viewpoints within an organization. Practical Internet Server Configuration provides the information you need to succeed as a sysadmin.







What You'll Learn













Configure DNS using Bind 9 Set up Apache and Nginx Customize a mail server: IMAP (Dovecot) and SMTP (Postfix), spam filtering included Authenticate mail users using LDAP Install and maintain MariaDB and PostgreSQL databases Prepare SSL/TLS certificates for the encryption of web, mail and LDAP traffic Synchronize files, calendars and address books between devices Build a firewall: PF for FreeBSD and nftables for Linux





































Who This Book Is For







This book can be used by aspiring and beginning system administrators who are working on personal servers, or more experienced system administrators who may know Unix well but need a reference book for the more specialized work that falls outside the daily routine. Basic understanding of Unix and working on the command line is necessary.
About the Author xv
About the Technical Reviewer xvii
Chapter 1 Introduction And Preparations
1(14)
Addendum
2(1)
Free Software
2(1)
Required Knowledge and Experience
2(2)
Required Time and Motivation
3(1)
External Account for Email and Disk Space
4(1)
Selecting a System and a Provider
5(7)
Hardware
5(2)
Operating System
7(1)
File System
8(1)
Provider
9(1)
BIOS or UEFI Configuration
10(1)
Log On to the New Server
11(1)
Names and Addresses Used in This Book
12(2)
IP Address
12(1)
Domain Names
12(1)
Hostname
13(1)
Usernames
14(1)
Summary
14(1)
Chapter 2 Unix And Posix In A Few Words
15(28)
User Accounts
15(1)
Shell
16(7)
Shell Configuration
19(3)
Shell Script
22(1)
Directory Structure
23(6)
Filename Extensions
29(1)
Network Ports
29(1)
Processes
30(4)
Displaying Processes
31(1)
Terminating Processes
31(2)
Switching Off/Restarting the System
33(1)
Daemons
34(5)
Starting and Stopping Daemons
35(3)
Other Background Processes
38(1)
Logs
39(1)
Documentation
39(3)
Man and Info Pages
40(1)
HTML and Text
41(1)
Request for Comments (RFC)
42(1)
Summary
42(1)
Chapter 3 Software Management
43(28)
FreeBSD
45(12)
Base System
45(1)
Additional Software
46(11)
Debian
57(5)
Updates
59(1)
Installation
59(1)
Information
60(1)
Removal
61(1)
CentOS
62(4)
Updates
62(1)
Installation
63(1)
Information
64(1)
Removal
65(1)
Perl and Python
66(3)
Perl: CPAN/cpan
67(1)
Python: PyPI/pip
68(1)
Summary
69(2)
Chapter 4 Network Basics And Firewall
71(28)
Network Configuration
71(8)
About the Netmask and the Routing Prefix
73(1)
FreeBSD
74(2)
Debian
76(1)
CentOS
77(2)
Firewall
79(18)
Martians
82(1)
FreeBSD
82(5)
Linux
87(6)
Brute-Force Attacks
93(4)
Summary
97(2)
Chapter 5 User Management And Permissions
99(42)
Users and Groups
99(21)
Files
100(5)
Account Creation
105(4)
Password Modification
109(1)
Account Modification
109(1)
Locking an Account
110(2)
Account Deletion
112(2)
User Information
114(1)
Group Creation and Deletion
115(1)
Changing uroup Memberships
116(3)
Group Information
119(1)
Permissions
120(1)
Traditional
121(7)
Access Control Lists
128(7)
Limiting Root Access
135(4)
sudo
135(3)
Locking the Root Account
138(1)
setuid
139(1)
Accounts for Other Users
139(1)
Departure of a System Administrator
139(1)
Summary
140(1)
Chapter 6 Domain Name System (Dns)
141(18)
Installation
143(1)
FreeBSD
143(1)
Debian
144(1)
CentOS
144(1)
Configuration
144(3)
Adding Domains
147(8)
Zone File
147(6)
Adding Zones to the Configuration
153(1)
Loading the Configuration
154(1)
Reverse Resolution
155(2)
Consulting and Debugging
157(1)
Summary
158(1)
Chapter 7 Secure Shell (Ssh)
159(16)
Installing and Configuring the SSH Server
159(6)
Installation on FreeBSD
159(2)
Installation on Debian
161(1)
Installation on CentOS
161(1)
Configuration
161(2)
Starting and Stopping
163(2)
Starting a Session
165(2)
Linux, BSD, and macOS
165(1)
Windows
166(1)
File Transfer via an SSH Connection
167(2)
SFTP
167(1)
SCP
168(1)
rsync
169(1)
SSH Keys Instead of Passwords
169(5)
Generating a Key Pair
170(2)
Installing the Key on the Server
172(1)
Using a Key to Connect
173(1)
Rejecting Password-Based Authentication
174(1)
Summary
174(1)
Chapter 8 Task Scheduling
175(8)
Network Time Protocol (NTP)
175(1)
FreeBSD
176(1)
Debian
176(1)
CentOS
176(1)
Cron
176(3)
Anacron
179(1)
at
180(1)
Summary
181(2)
Chapter 9 Web Server Part 1: Apache/Nginx Basics
183(44)
Directory
186(1)
Apache
187(9)
Installation on FreeBSD
187(1)
Installation on Debian
188(1)
Installation on CentOS
188(1)
First Test
188(1)
Configuration
189(7)
Nginx
196(7)
Installation on FreeBSD
196(1)
Installation on Debian
196(1)
Installation on CentOS
197(1)
First Test
197(1)
Configuration
198(5)
mod_php
203(1)
PHP-FPM
203(6)
Installation on FreeBSD
204(1)
Installation on Debian
204(1)
Installation on CentOS
204(1)
Configuration
205(4)
PHP
209(2)
Configuration
209(1)
Extensions
210(1)
A First Virtual Host or Virtual Server
211(13)
DNS
211(1)
Names
212(1)
User
212(1)
Directories
213(3)
PHP-FPM
216(1)
Apache
217(3)
Nginx
220(3)
Test
223(1)
Replacing mod php with PHP-FPM
224(1)
Summary
225(2)
Chapter 10 Traffic Encryption: Ssl/Tls
227(12)
Let's Encrypt
229(8)
Certbot
229(2)
Installation of the green.example.com Certificate
231(4)
Automatic Renewal
235(2)
Certificate Removal
237(1)
Summary
237(2)
Chapter 11 Databases
239(42)
db.example.com
240(5)
MariaDB (MySQL)
245(8)
Installation on FreeBSD
245(1)
Installation on Debian
246(1)
Installation on CentOS
247(1)
Post-installation
247(2)
phpMyAdmin
249(4)
PostgreSQL
253(7)
Installation on FreeBSD
254(1)
Installation on Debian
255(1)
Installation on CentOS
256(1)
Post-installation
256(1)
phpPgAdmin
257(3)
Lightweight Directory Access Protocol (LDAP)
260(19)
Installation
261(1)
TLS Certificate
262(5)
Daemon Configuration
267(5)
Client Configuration
272(1)
Container for Users
272(1)
phpLDAPadmin
273(6)
Apache Directory Studio
279(1)
Other Databases
279(1)
DBM
280(1)
SQLite
280(1)
Summary
280(1)
Chapter 12 Email Basics
281(28)
DNS
284(1)
TLS Certificate
284(1)
Internet Message Access Protocol (IMAP)
285(12)
Dovecot
285(1)
Installation
285(1)
Directory
286(1)
Configuration
287(9)
Test
296(1)
Simple Mail Transfer Protocol (SMTP)
297(10)
Postfix
297(1)
Installation
297(3)
Configuration
300(7)
Test
307(1)
Basic Mail Server Finished
307(1)
Summary
307(2)
Chapter 13 Web Server Part 2: Advanced Apache/Nginx
309(30)
www.example.com
309(3)
CGI (Common Gateway Interface)
312(2)
Apache
313(1)
Nginx
313(1)
Alias
314(3)
Apache
314(2)
Nginx
316(1)
Access Control
317(4)
Apache
317(3)
Nginx
320(1)
WebDAV
321(13)
Apache
323(2)
Nginx
325(2)
CaIDAV and CardDAV
327(7)
Logs and Statistics
334(1)
Instant Web Applications
335(3)
Complete Website
336(1)
Ecommerce
337(1)
Customer Service
337(1)
Wiki
338(1)
Personal Cloud Service
338(1)
Summary
338(1)
Chapter 14 Advanced Email
339(28)
Sieve
339(3)
Installation
340(1)
Configuration
341(1)
Manipulation of the Filters
341(1)
Fine-tuning the Postfix Configuration
342(3)
Verification of HELO/EHLO Command
342(1)
Verification of Addresses
343(1)
Unused Addresses
344(1)
Greylisting
345(2)
Installation
345(1)
Configuration
346(1)
DNS Blackhole List (DNSBL)
347(1)
Sender Policy Framework (SPF)
348(3)
pypolicyd-spf
349(2)
DomainKeys Identified Mail (DKIM)
351(5)
Spam Filter
356(10)
Reclassification of Emails
361(5)
Web Mail
366(1)
Summary
366(1)
Chapter 15 Backup And Monitoring
367(8)
Backup
368(3)
What Needs to Be Backed Up?
368(1)
Where Are Backups Stored?
369(1)
When Are Backups Created?
370(1)
Conclusion
371(1)
Monitoring
371(3)
Mailing Lists
371(1)
Monitoring Locally
372(2)
Remote Monitoring
374(1)
Summary
374(1)
Chapter 16 Taking It Further
375(8)
Chroot and Virtualization
375(1)
Kernel Configuration
376(1)
Load Balancing
377(1)
RAID
378(2)
Reduce the System Administrator's Work
380(1)
Web Hosting Control Panel
380(1)
Configuration Management
381(1)
ummary
381(2)
Appendix: Default Port Numbers 383(2)
Index 385
Robert La Lau has been active on the internet since the mid-90s. What started as a hobby playing around with Linux, and developing small games and applications using Perl, HTML and JavaScript turned into a job when he became a full-time freelance web developer in 1999. Shortly thereafter, a web hosting server and freelance Linux and FreeBSD administration were added. In the years that followed, new programming languages were learned, and software development was added to the range of services offered. In his spare time, Rob was involved in several smaller and larger open source projects; among other things, he was the initiator and first administrator for the official online KDE forums. After 15 years of freelance IT work, Rob thought he'd had enough of IT work, finished his running affairs, and left the Netherlands to discover the world. However, the IT kept calling him, and once installed in his new home country France, he decided to return to his old métier. Only this time, it was not to get his own hands dirty in the field, executing orders for clients, but to transfer his knowledge and experience onto the next generations of system administrators and developers. He rebooted his IT career translating and narrating educational books and videos, taught some Unix classes, and seems to have found his destination publishing books now.