CentOS System Administration Essentials

CentOS System Administration Essentials

Andrew Mallett

Language: English

Pages: 174

ISBN: 1783985925

Format: PDF / Kindle (mobi) / ePub


Become an efficient CentOS administrator by acquiring real-world knowledge of system setup and configuration

About This Book

  • Centralize user accounts in openLDAP and understand how Directory can be at the back-end of many services
  • Learning Puppet to centralize server configuration will free up your time as configuration is handled just once on the configuration server
  • A step-by-step guide that covers the very popular Linux Distribution CentOS 6.5 with easy-to-follow instructions.

Who This Book Is For

If you are a Linux administrator who is looking to gain knowledge that differentiates yourself from the crowd, then this is the book for you. Beginners who have a keen interest to learn more about Linux administration will also progress quickly with this resourceful learning guide.

What You Will Learn

  • Conquer the command line using shortcuts in the shell and within the editor Vim
  • Analyze the booting of CentOS utilizing MBR, GRUB, and Plymouth
  • Gain an understanding of the filesystem structure of hard links, inodes, and data using stat and ls
  • Manage your software installations with YUM
  • Handle your services as they begin to migrate from System V scripts
  • Establish centralized account information using openLDAP directory services
  • Centralize the configuration management of CentOS using Puppet, enabling updates from Puppet Master to be distributed to the clients

In Detail

CentOS is widely respected as a very powerful and flexible Linux distribution, and it can be used as a web server, file server, FTP server, domain server, or a multirole solution. It is designed to handle the more demanding needs of business applications such as network and system administration, database management, and web services. CentOS is self-sufficient and fast while working, with the added benefit of global acceptance as a large number of the world's web servers run on it.

This book not only concentrates on the basics, but also supplements your existing knowledge on subject areas that are important in the Enterprise market, such as directory services, security configuration management, and web-based architecture. By the end of this book, you will be able to manage an Enterprise Linux network focused on management-centralized configuration, user management, and filesystem enhancements by covering everything from the latest filesystem advances with BTRFS through to learning about the new web server on the block—Nginx.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This will consist of the directory name and the file named . (just the period by itself). In fact, in a new directory, there are always two new files that are created along with the directory: the . and .. files. • The . file represents the directory itself • The .. file represents the parent directory [ 34 ] Chapter 3 Try this yourself; it is easier to understand and might prevent you from going too dotty over this: $ cd $ mkdir newdir $ ls -a newdir #Note the two files $ ls -ld newdir #

of entertainment is managing the life cycle of software on your CentOS desktops and servers; this includes installing, updating, and removing software that can take the form of programs, documentation, and drivers, as well as more or less anything that consists of one or more files within Linux. Installing software using RPM files is preferable to install scripts. With an RPM-based installation, we can always query the database for information regarding what is currently installed on the system.

script plugin being present. If installed via YUM, then the dependency will automatically be resolved and installed as required. Using YUM As we have already seen with the Foxit PDF reader, the management of the RPM dependency requirements is greatly simplified by using YUM; almost certainly the ongoing software management of your CentOS will be based on YUM in the same way that Advanced Packaging Tool (APT) is used on Debian-based systems. To install software with YUM, you do not need to know

is a binary and we need to endure a certain environment in which it can run. There is an exec directive that can be used in place of the script directive where a single binary should run in place of the script. The full life cycle of an upstart service includes: • Pre-start • Post-start • Main (using exec or script) • Pre-stop • Post-stop [ 67 ] Herding Cats – Taking Control of Processes The advantages that we gain from using Upstart and/or systemd is that we are no longer restricted to

group; in other words, creating a user bob will also create a group bob, to which the user will be the only member. Linux groups Firstly, we have to understand a little about Linux groups. A user has both a primary group and secondary groups. User ID and group ID (UID/GID) are used with the permission management structure in Linux. Every file in any filesystem will be owned by a user and a group by means of storing the UID and GID in the files metadata. Permissions can be assigned to the user,

Download sample

Download