ebook img

Ubuntu 15.04 Server with Systemd: Administration and Reference PDF

712 Pages·2015·7.58 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Ubuntu 15.04 Server with Systemd: Administration and Reference

Ubuntu 15.04 Server with systemd: Administration and Reference to Larisa and Aleina Ubuntu 15.04 Server with systemd: Administration and Reference Richard Petersen Surfing Turtle Press Alameda, CA www.surfingturtlepress.com Please send inquires to: [email protected] ISBN-13 978-1-936280-97-1 ISBN 1-936280-97-3 Copyright Richard Petersen, 2015 All rights reserved Copyright 2015 by Richard Petersen. All rights reserved. Printed in the United States of America. Except as permitted under the Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher, with the exception that the program listings may be entered, stored, and executed in a computer system, but they may not be reproduced for publication., Information has been obtained by Surfing Turtle Press from sources believed to be reliable. However, because of the possibility of human or mechanical error by our sources, Surfing Turtle Press, the author Richard Petersen, or others, Surfing Turtle Press does not guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the results obtained from use of such information. Limit of Liability and Disclaimer of Warranty: The publisher and the author make no representation or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. The information and code in this book is provided on "as is" basis. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained here in may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. Surfing Turtle Press and anyone else who has been involved in the creation or production of the included code cannot and do not warrant the performance or results that may be obtained by using the code. Trademark Acknowledgements UNIX is a trademark of The Open Group Microsoft and MS-DOS are registered trademarks of Microsoft Corporation IBM and PC are registered trademarks of the International Business Machines Corporation UNIX is a trademark of The Open Group Ubuntu is a trademark of Ubuntu Linux. and are trademarks of Ubuntu The Ubuntu Font Family provides libre/open fonts (TTF) for Ubuntu, http://font.ubuntu.com/ See www.ubuntu.com for more information is a trademark of Surfing Turtle Press Preface This book is designed as an Ubuntu 15.04 Server administration and reference source, covering the Ubuntu servers and their support applications. Server tools are covered as well as the underlying configuration files and system implementations. The emphasis is on what administrators will need to know to perform key server support and management tasks. Coverage of the systemd service management system is integrated into the book, replacing the deprecated Upstart system. Topics covered include software management, systemd service management, AppArmor security, OpenSSH, and the Network Time Protocol. Key servers are examined, including Web, FTP, CUPS printing, NFS, and Samba Windows shares. Network support servers and applications covered include the Squid proxy server, the Domain Name System (BIND) server, DHCP, distributed network file systems, IPtables firewalls, and cloud computing. The book is organized into five parts: getting started, services, shared resources, network support, and shells. Part 1 focuses on basic tasks such as installing the Ubuntu Server CD, managing software from the Ubuntu repository, and basic usage for the desktop and the command line interfaces. Part 2 examines Internet servers as well as how services are managed by systemd using unit files. Configuration and implementation of the Postfix mail server, the vsftpd FTP server, the Apache Web server, as well as news and database servers are covered in detail. Part 3 deals with servers that provide shared resources on a local network or the Internet. Services examined include the CUPS printing server, NFS Linux network file server, and Samba Windows file and printing server, the GFS distributed file system, and cloud computing services supported by Ubuntu. Part 4 covers servers that provide network support, like the Squid proxy server, the Bind Domain Name System (DNS) server, DHCP servers, and the IPtables and FirewallD firewalls. Key networking operations are also examined like IPv6 auto-configuration, TPC/IP networking, and network monitoring tools. Part 5 provides a review of shell commands, including those used for managing files, as well as shell scripts, variables, and configuration files. The Ubuntu Server CD only installs a command line interface, with no desktop. To manage your system and its files you will need to know the shell commands. Overview Ubuntu 15.04 Server with systemd: Administration and Reference Preface Overview Contents Part 1: Getting Started 1. Introduction to Ubuntu Linux 2. Installing the Ubuntu Server 3. Usage Basics: Login, Interfaces, and Help 4. Managing Software Part 2: Services 5. Managing Services with systemd 6. Mail Servers 7. FTP 8. Web Servers 9. News and Database Services Part 3: Shared Resources 10. Print Services 11. Network File Systems, Network Information System, and Distributed Network File Systems: NFS, NIS, and GFS 12. Samba 13. Cloud Computing Part 4: Network Support 14. Proxy Servers: Squid 15. Domain Name System 16. Network Auto-configuration with IPv6, DHCPv6, and DHCP 17. Firewalls 18. Administering TCP/IP Networks Part 5: Shells 19. Shells 20. Working with files and directories 21. Shell Variables and Scripts 22. Shell Configuration Table Listing Figure Listing Index A B C D E F G H I J K L M N O P Q R S T U V W Z Contents Ubuntu 15.04 Server with systemd: Administration and Reference Preface Overview Contents Part 1: Getting Started 1. Introduction to Ubuntu Linux Ubuntu Server Ubuntu 15.04 Server Installation Alternatives and Options Server on the desktop installation Desktop on the Server installation Minimal GNOME desktop ubuntu-desktop Server install options Ubuntu 15.04 Features Managing Systems with Landscape Ubuntu Linux Help and Documentation help.ubuntu.com ubuntuforums.org Linux documentation 2. Installing the Ubuntu Server Upgrading Ubuntu Server CD Getting the Install Server CD Installing Ubuntu from the Server CD Installation Overview Starting the Installation Program Starting the Ubuntu Installation Language and Keyboard Network Configuration and Cobbler Create administrative user Time Zone Partitions Guided Partitioning with LVM Manual Partitioning Reuse existing Linux partitions on a hard drive Select server software: Package Tasks Recovery, rescue, and boot loader re-install Recovery Rescue a broken system with the Ubuntu Server CD Re-Installing the Boot Loader Metal as a Service (MAAS) 3. Usage Basics: Login, Interfaces, and Help Ubuntu Server startup Grub selection and editing The Command Line Interface Accessing Ubuntu from the Command Line Interface Using the Command Line Interface Accessing USB drives from the Command line Interface on a Server. Setting the date and time Editing files with the command line interface: text editors Help Resources accessible from the command line Application Documentation The Man Pages The Info Pages Using the Ubuntu Desktop Interface The Light Display Manager: LightDM The Session menu and the User Switcher Guest login Lock Screen Shut down and Logging out The Ubuntu Desktop (Unity) Ubuntu Unity Gnome file manager (Nautilus) Network Connections from the desktop Network Manager wired connections Network Manager wireless connections Network Manager options Setting up shared directories on the desktop (nautilus-share) Terminal Window on the desktop System Settings Ubuntu Help Center on the desktop Ubuntu Desktop Guide 4. Managing Software Ubuntu Package Management Software Command Line interface tools Desktop tools Ubuntu Software Repositories Repository Components Repositories Ubuntu Repository Configuration file: sources.list and sources.list.d Software Management with Tasksel, DEB, APT, and DKPG DEB Software Packages Installing and Removing Software with tasksel Managing software with Aptitude Managing software with APT Updating packages (Upgrading) with apt-get Command Line Search and Information: dpkg-query and apt-cache tools Source code files Managing Software from the Ubuntu Desktop Repositories managed from Ubuntu Desktop: Software & Updates Managing Packages with the Ubuntu Software Center Synaptic Package Manager Properties Installing packages Removing packages Updating Ubuntu with Software Updater Installing Software from the Applications Dash Ubuntu Software Center for separate DEB packages Software Package Types Managing non-repository packages with dpkg Installing Software from Compressed Archives: .tar.gz Decompressing and Extracting Software Compiling Software Checking Software Package Digital Signatures Importing Software Public keys with apt-key Checking Software Compressed Archives Part 2: Services 5. Managing Services with systemd systemd systemd basic configuration files units unit file syntax special targets Modifying unit files: etcsystemd/system

Description:
This book is designed as an Ubuntu 15.04 server reference, covering the Ubuntu servers and their support applications. Server tools are covered as well as the underlying configuration files and system implementations. The emphasis is on what administrators will need to know to perform key server sup
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.