Muutke küpsiste eelistusi

E-raamat: Using and Administering Linux: Volume 3: Zero to SysAdmin: Network Services

  • Formaat: PDF+DRM
  • Ilmumisaeg: 14-Dec-2019
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484254851
  • Formaat - PDF+DRM
  • Hind: 61,74 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: PDF+DRM
  • Ilmumisaeg: 14-Dec-2019
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484254851

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Manage complex systems with ease and equip yourself for a new career. This book builds upon the skills you learned in Volumes 1 and 2 of this course and it depends upon the virtual network and virtual machine you created there. 

However, more experienced Linux users can begin with this volume and download an assigned script that will set up the VM for the start of Volume 3. Instructions with the script will provide specifications for configuration of the virtual network and the virtual machine. Refer to the volume overviews in the book's introduction to select the volume of this course most appropriate for your current skill level.

Start by reviewing the administration of Linux servers and install and configure various Linux server services such as DHCP, DNS, NTP, and SSH server that will be used to provide advanced network services.  Youll then learn to install and configure servers such as BIND for name services, DHCP for network host configuration, and SSH for secure logins to remote hosts. Other topics covered include public/private keypairs to further enhance security, SendMail and IMAP and antispam protection for email, using Apache and WordPress to create and manage web sites, NFS, SAMBA, and Chrony.







This volume also covers SELinux, and building RPMs to distribute automation scripts. All of these services are installed on a single server host over the course of the book and by the time you are finished you will have a single server that provides these services for your network.





What You Will Learn









Install, configure, and manage several Linux server services such as email with spam management and single and multiple web sites Work with NTP time synchronization, DHCP, SSH, and file sharing with Unix/Linux and Windows clients Create RPMs for distribution of scripts and administrative programs. Understand and work with enhanced security.     

























Who This Book Is For

Those who are already Linux power users SysAdmins who can administer Linux workstation hosts that are not servers who want to learn to administer the services provided by Linux servers such as web, time, name, email, SSH, and more. 
About the Author xvii
About the Technical Reviewer xix
Acknowledgments xxi
Introduction xxiii
Chapter 1 Server Preparation
1(6)
Objectives
1(1)
Overview
1(1)
Creating the VM
2(1)
Installing Linux
3(2)
Personalization
5(1)
Chapter summary
5(1)
Exercises
5(2)
Chapter 2 Server Configuration
7(14)
Objectives
7(1)
Overview
7(1)
Network configuration
7(12)
Chapter summary
19(1)
Exercises
19(2)
Chapter 3 DHCP
21(12)
Objectives
21(1)
Overview of DHCP
21(1)
Installing the DHCP server
22(2)
Configuring the DHCP server
24(5)
Configuring guest hosts
29(3)
The dhcpd.conf file
31(1)
Chapter summary
32(1)
Exercises
32(1)
Chapter 4 Name Services
33(34)
Objectives
33(1)
Introducing Domain Name Services
33(3)
The /etc/hosts file
34(2)
How a name search works
36(2)
The DNS database
38(4)
Common DNS record types
42(4)
SOA
42(1)
$Origin
43(1)
Ns
43(1)
A
44(1)
AAAA
44(1)
CNAME
44(1)
PTR
45(1)
Mx
45(1)
Other records
46(1)
Using BIND
46(11)
Preparation
46(1)
Setting up the caching name server
47(3)
Configuring IPTables for DNS
50(3)
Start the name service
53(2)
Reconfiguring DHCP
55(1)
Using the top-level DNS servers
56(1)
Creating a primary name server
57(9)
Creating the forward zone file
57(1)
Adding the forward zone files to named.conf
58(2)
Adding CNAME records
60(2)
Creating the reverse zone file
62(1)
Add the reverse zone to named.conf
63(3)
Chapter summary
66(1)
Exercises
66(1)
Chapter 5 Remote Access with SSH
67(20)
Objectives
67(1)
Introduction
67(1)
Starting the SSH server
68(2)
How SSH works -- briefly
70(1)
Public/Private Key pairs
71(7)
How PPKPs work
72(6)
X-forwarding
78(3)
The X Window System
80(1)
Remote commands
81(3)
Remote backups
83(1)
Chapter summary
84(1)
Exercises
85(2)
Chapter 6 Routing and Firewalls
87(38)
Objectives
87(1)
Introduction
87(2)
NIC configuration files
89(4)
The ip command
90(1)
Create an interface configuration File
90(3)
The interface configuration file
93(3)
Routing on a workstation
96(1)
Network routing
97(2)
Creating a router
99(11)
Preparation
100(1)
Configure the new NIC
101(1)
Reconfiguring DHCP
102(4)
Reconfiguring DNS
106(4)
Setting up the router
110(8)
Kernel configuration
110(2)
Changing the firewall
112(6)
Complex routing
118(1)
Fail2Ban
119(4)
Chapter summary
123(1)
Exercises
123(2)
Chapter 7 Introducing Email
125(34)
Objectives
125(1)
Introduction
125(2)
Definitions
126(1)
Email dataflow
127(2)
Structure of an email
129(5)
Email headers
129(5)
SendMail on the server
134(13)
Sendmail installation
134(1)
SendMail configuration
135(10)
Firewall and DNS configuration
145(2)
SendMail on the client
147(3)
SMTP-The protocol
150(4)
Email-only accounts
154(1)
Who gets email for root?
155(2)
Things to remember
157(1)
It is not instant
157(1)
There is no delivery guarantee
157(1)
Chapter summary
158(1)
Exercises
158(1)
Chapter 8 Email Clients
159(28)
Objectives
159(1)
Introduction
159(1)
More mailx
160(3)
IMAP
163(3)
Configuring IMAP on the server
163(3)
Thunderbird
166(4)
Adding authentication
170(5)
Certificates
171(1)
IMAP authentication
171(4)
More about ports
175(10)
Other considerations
185(1)
Chapter summary
185(1)
Exercises
186(1)
Chapter 9 Combating Spam
187(28)
Objectives
187(1)
Introduction
187(1)
The problem
188(1)
But why?
189(1)
My email server
189(1)
Project requirements
190(1)
Procmail
191(1)
How it works
192(1)
Preparation
193(1)
Configuration
194(18)
Configuring SendMail
194(1)
Hacking mimedefang-filter
195(7)
Setting up a mail folder
202(1)
Configuring Procmail
203(3)
Creating SpamAssassin rules
206(6)
Additional resources
212(1)
Chapter summary
212(1)
Exercises
213(2)
Chapter 10 Apache Web Server
215(20)
Objectives
215(1)
Introduction
215(1)
Installing Apache
216(1)
Testing Apache
216(3)
Creating a simple index file
219(2)
Adding DNS
221(1)
Using Telnet to test the web site
222(1)
Good practice configuration
223(1)
Virtual hosts
224(4)
Configuring the primary virtual host
224(2)
Configuring the second virtual host
226(2)
Using CGI scripts
228(5)
Using Perl
228(2)
Using BASH
230(1)
Redirecting the web page to CGI
231(2)
Refreshing the page automatically
233(1)
Chapter summary
233(1)
Exercises
234(1)
Chapter 11 WordPress
235(16)
Objectives
235(1)
Introduction
235(1)
Install PHP and MariaDB
236(1)
Install WordPress
237(2)
HTTPD configuration
239(1)
Creating the WordPress Database
240(1)
Configuring WordPress
241(3)
Administering WordPress
244(2)
Updating WordPress
246(1)
Exploring MariaDB
247(2)
Chapter summary
249(1)
Exercises
250(1)
Chapter 12 Mailing Lists
251(14)
Objectives
251(1)
Introduction
251(1)
Installing MailMan
252(1)
Integrating MailMan with Apache
252(1)
Site mailing list
253(3)
Create a mailing list
256(1)
Configuring the new list
257(2)
Changing list defaults
259(1)
The user interface
260(2)
Rejections from large email services
262(1)
Documentation
263(1)
Chapter summary
264(1)
Exercises
264(1)
Chapter 13 File Sharing
265(50)
Objectives
265(1)
Introduction
265(1)
File sharing use cases
266(2)
Preparation
268(3)
FTP and FTPS
271(1)
VSFTP
271(13)
Installation and preparation of VSFTP
271(3)
The FTP client
274(2)
Firewall configuration for FTP
276(4)
Anonymous FTP access
280(2)
Securing VSFTP with encryption
282(2)
NFS
284(9)
NFS server
284(7)
NFS client
291(1)
Cleanup
292(1)
SAMBA
293(9)
Using the SAMBA client
299(3)
Midnight Commander
302(4)
Midnight Commander and SAMBA
306(1)
Apache web server
306(6)
Chapter summary
312(1)
Exercises
313(2)
Chapter 14 Remote Desktop Access
315(12)
Objectives
315(1)
Introduction
315(1)
TigerVNC
316(5)
Security
321(2)
Problems
323(1)
Blank TigerVNC view screen
323(1)
Chapter summary
324(1)
Exercises
324(3)
Chapter 15 Network Time Protocol
327(18)
Objectives
327(1)
Linux and time
327(1)
The NTP server hierarchy
328(1)
NTP choices
329(1)
Chrony structure
330(1)
Client configuration
330(4)
Configuring NTP with Chrony
334(4)
Configuring the NTP server
334(2)
Configuring the client and testing
336(2)
Chronyc as an interactive tool
338(1)
Setting the hardware clock
339(1)
About time zones
340(3)
Chapter summary
343(1)
Exercises
344(1)
Chapter 16 Security
345(38)
Objectives
345(1)
Introduction
345(1)
Advanced DNS security
346(4)
About chroot
346(1)
Enabling bind-chroot
346(4)
Hardening the network
350(2)
Advanced iptables
352(3)
Advanced backups
355(8)
Rsync
356(4)
Performing backups
360(3)
Recovery testing
363(1)
Restrict SSH remote root login
363(1)
Malware
364(10)
Root kits
364(5)
Clam-AV
369(2)
Tripwire
371(3)
SELinux
374(6)
Additional SELinux considerations
380(1)
Social engineering
380(1)
Chapter summary
381(1)
Exercises
381(2)
Chapter 17 Advanced Package Management
383(18)
Objectives
383(1)
Introduction
383(1)
Preparation
384(4)
Examining the spec file
388(6)
Preamble
388(2)
%description
390(1)
%prep
390(1)
%files
391(1)
%pre
392(1)
%post
392(1)
%postun
392(1)
%clean
393(1)
%changelog
393(1)
Building the RPM
394(2)
Testing the RPM
396(1)
Experimenting
397(1)
Rebuilding a corrupted RPM database
398(1)
Chapter summary
398(1)
Exercises
399(2)
Chapter 18 Where Do I Go from Here?
401(8)
Introduction
401(1)
Curiosity
401(1)
Convert
402(1)
Tools
403(1)
Resources
404(1)
Contribute
405(1)
Skip this
405(1)
Compiling the kernel
405(1)
Chapter summary
406(3)
Bibliography
409(6)
Books
409(1)
Web sites
410(5)
Index 415
David Both is an Open Source Software and GNU/Linux advocate, trainer, writer, and speaker. He has been working with Linux and Open Source Software for more than 20 years and has been working with computers for over 45 years.  He is a strong proponent of and evangelist for the "Linux Philosophy for System Administrators." David has been in the IT industry for over forty years.





He worked for IBM for 21 years and, while working as a Course Development Representative in Boca Raton, FL, in 1981, wrote the training course for the first IBM PC. He has taught RHCE classes for Red Hat and has worked at MCI Worldcom, Cisco, and the State of North Carolina. In most of the places he has worked since leaving IBM in 1995, he has taught classes on Linux ranging from Lunch'n'Learns to full five day courses. Helping others learn about Linux and open source software is one of his great pleasures.





David had some amazing teachers and mentors in my 40 years in IT and my more than 20 years working with Linux.  At their core, Linux and open source in general are about sharing and helping others and about contributing to the community. These books, along with The Linux philosophy for SysAdmins, are a continuation of his desire to pass on my knowledge and to provide mentoring to anyone interested in learning about Linux.





David is the author of The Linux Philosophy for SysAdmins (Apress, 2018) and can be found on Twitter @linuxgeek46.