CentOS 6 Linux Server Cookbook

CentOS 6 Linux Server Cookbook

Language: English

Pages: 374

ISBN: 1849519021

Format: PDF / Kindle (mobi) / ePub


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.

What you will learn from this book

  • Installing and validating CentOS 6 and adding a desktop environment
  • Configuring CentOS to allow you to manage time and multiple IP addresses
  • Managing log files by using logrotate, memory usage and databases
  • Managing Packages will show you how to manage the system with the Yum package manager
  • Administering CentOS through creating new administrative users and creating customized email reports
  • Securing your shell environment, ascending user privileges and building firewalls to prevent outside attacks
  • Building networks, domains and implementing the Apache web server.

Approach

Presented in a step by step, easy to read tutorial style, this book presents the reader with real world solutions to every aspect of CentOS 6.

 

 

 

 

 

 

 

 

 

 

 

 

command in order that the changes would take immediate effect: service vsftpd restart Remember, from now on, all your users should connect using SFTP or it will result in connection failures. Thereby implying that not only all usernames and passwords will be secure, but all data transfers will be encrypted for that additional peace of mind. See also Wikipedia, Transport Layer Security: http://en.wikipedia.org/wiki/Transport_Layer_Security Implementing virtual users and

can decide to reboot your computer. To do this type: reboot Your server will now reboot and having returned to the login screen, we will now complete the main recipe and enhance our current installation with a series of package groups that will prove to be very useful in the future. To do this, log in as root and type: yum –y groupinstall "Base" "Development Libraries" "Development Tools" When the installation process is complete, simply reboot your server by typing the following

/etc/denyhosts.conf Scroll down to locate the following line:ADMIN_EMAIL = root Change the e-mail address to reflect an appropriate value and scroll down a little further to ensure that the e-mail settings are correct for your system. When you are finished, simply save and close the file before enabling the package to run at boot. To do this, type: chkconfig denyhosts on To complete this recipe, you should start the service like so: service denyhosts start How it works...

with the md5sum checksum tool. See also CentOS project home page: http://www.centos.org CentOS project – mirror list: http://www.centos.org/mirrors-list CentOS project – approved vendors: http://www.centos.org/vendors CentOS project – download FAQ regarding md5 checksum: http://www.centos.org/modules/smartfaq/faq.php?faqid=46 CentOS project – how to burn an ISO image: http://www.centos.org/docs/5/html/CD_burning_howto.html Performing an installation of CentOS using the

unlimited forward zones, but each must be given a single entry like so: zone "primary-domain-name-1.lan" IN { type master; file "/var/named/primary-domain-name.lan.db"; allow-update { none; }; }; zone "primary-domain-name-2.lan" IN { type master; file "/var/named/another-domain-name.lan.db"; allow-update { none; }; }; zone "primary-domain-name-3.lan" IN { type master; file "/var/named/another-domain-name.lan.db"; allow-update { none; }; }; Note In order to keep this file tidy, it is often

Download sample

Download