Book description
An all-in-one guide to installing, configuring, and running a Centos 6 server. Ideal for newbies and old-hands alike, this practical tutorial ensures you get the best from this popular, enterprise-class free server solution.
- Delivering comprehensive insight into CentOS server with a series of starting points that show you how to build, configure, maintain and deploy the latest edition of one of the world’s most popular community based enterprise servers.
- Providing beginners and more experienced individuals alike with the opportunity to enhance their knowledge by delivering instant access to a library of recipes that addresses all aspects of CentOS server and put you in control.
- Giving you immediate access to a thriving knowledge base that illustrates just how quickly you can master CentOS server with a whole host of tricks of the trade thrown in for good measure.
In Detail
CentOS is a community-based enterprise class operating system and this book will provide a series of practical solutions that will not only show you how to install and maintain CentOS as a server, but to explore this well-known Linux distribution with the intention of tackling many common issues by providing some tricks of the trade in order to simplify the task of building a server.
"CentOS 6 Linux Server Cookbook" is a practical guide to installation, configuration, administration, and maintenance. This is a one-stop-shop to all things CentOS, so regardless as to whether you need a mail server, web server, database server, domain server or a file sharing platform, this book provides a comprehensive series of starting points that will give you direct access to the inner workings of this open source, community-based enterprise server.
"CentOS 6 Linux Server Cookbook" is a practical guide to the complete installation, configuration, administration, and maintenance of one of the world’s most popular community-based enterprise servers.
From installation to configuration, this book of recipes will take you on a journey to explore inner workings of CentOS server. Within this book you will learn how to install CentOS in variety of settings, enhance your installation with the correct tools of the trade and prepare your server to fulfil almost any role you could ever need.
By discovering more about time, networking, package management, system management and security, this book will serve to show you how to get the very best from this freely available, open source server by presenting a series of solutions that will enable you to master the art of building your very own web, database, mail, domain name, file sharing services.
CentOS 6 Linux Server Cookbook is a hands-on approach to installing, configuring and managing this ever popular community based enterprise server. By taking you from installation to customization this book will serve all Linux professionals and enthusiasts alike by providing you with a practical guide to using CentOS as a world-class server solution that is capable of delivering your mail, web, ftp, domain and file sharing services.
Table of contents
-
CentOS 6 Linux Server Cookbook
- Table of Contents
- CentOS 6 Linux Server Cookbook
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Installing CentOS
- Introduction
- Downloading CentOS and confirming the checksum on a Windows desktop
- Performing an installation of CentOS using the graphical installer
- Running a netinstall over HTTP
- Installing CentOS in Text Mode and building a minimal installation
- Re-installing the boot loader
- Updating the installation and enhancing the minimal install with additional administration and development tools
- Finishing the installation process with Firstboot
- Adding the GNOME desktop environment, changing the runlevel, and installing additional software
-
2. Configuring CentOS
- Introduction
- Changing the time zone and updating the hardware clock
- Synchronizing the system clock with NTP
- Setting a static IP address
- Binding multiple IP addresses to a single Ethernet device
- Bonding two Ethernet devices to increase bandwidth and provide redundancy
- Changing the hostname and resolving a fully qualified domain name
- Switching SELinux off
- Disabling the IPv6 module
-
3. Working with CentOS
- Introduction
- Creating an administrative user and becoming root with the switch user command
- Introducing mailx and forwarding the root's e-mail to an external e-mail address
- Automating tasks with cron
- Synchronizing files and directories with rsync and working towards a full system backup with cron
- Issuing customized e-mail reports with Mutt
- Using logrotate to manage logfiles
- Extending log rotation by adding NTP to logrotate
- Using chkconfig to enable a custom service at boot
- Evaluating current memory usage with the free and top commands and clearing the memory cache
- 4. Managing Packages with Yum
- 5. Securing CentOS
- 6. Working with Samba
-
7. Working with Domains
- Introduction
- Building a caching-only nameserver with BIND
- Writing zone files for BIND
- Adding zones to BIND and configuring a nameserver
- Deploying a local nameserver with dnsmasq
- Logging events with dnsmasq and combining this with logrotate
- Enabling domain name wildcards with dnsmasq
- Hardening BIND with chroot and providing better security measures
- 8. Working with Databases
-
9. Providing Mail Services
- Introduction
- Enabling a domain-wide Mail Transport Agent (MTA) and testing your SMTP configuration with Telnet
- Building a local POP3/SMTP server with Postfix and Dovecot
- Closing the open relay, enabling SMTP authentication and dealing with Spam by configuring SASL, and enabling Postfix header and body checks
- Using Postfix and Dovecot to serve e-mails across virtual domains
-
10. Working with Apache
- Introduction
- Installing the Apache web server with CGI/Perl, PHP, configuring mod_perl, and preparing httpd for a production environment
- Adding a secure connection to the Apache web server by creating a self-signed SSL certificate using OpenSSL
- Hosting peers by enabling user directories on the Apache web server and troubleshooting suexec
- Configuring Apache name-based virtual hosting
- Working with publishing directories, vhosts.d, error documents, directives, and the rewrite rule for virtual hosting with the Apache web server
-
11. Working with FTP
- Introduction
- Building a basic FTP service by installing and configuring VSFTP
- Providing a secure connection to VSFTP with SSL/TLS using OpenSSL encryption
- Implementing virtual users and directories in standalone mode on VSFTP
- Providing an anonymous upload and download or download only FTP server with VSFTP
- Index
Product information
- Title: CentOS 6 Linux Server Cookbook
- Author(s):
- Release date: April 2013
- Publisher(s): Packt Publishing
- ISBN: 9781849519021
You might also like
book
CentOS 7 Linux Server Cookbook - Second Edition
Over 80 recipes to get up and running with CentOS 7 Linux server About This Book …
book
Mastering CentOS 7 Linux Server
Configure, manage, and secure a CentOS 7 Linux server to serve a variety of services provided …
book
Linux Server Hacks, Volume Two
Today's system administrators deal with a vast number of situations, operating systems, software packages, and problems. …
book
CentOS 7 Server Deployment Cookbook
Deploy and manage today's essential services on an enterprise-class, open operating system About This Book Configure …