Chapter 3. Working with CentOS
In this chapter, we will cover:
- Creating an administrative user and becoming root with the switch user command
- Introducing
mailx
and forwarding the root's e-mail to an external 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
- Enabling a custom service at boot
- Evaluating current memory usage with the
free
andtop
commands and clearing the memory cache
Introduction
This chapter is a collection of recipes that introduces you to the process of running and maintaining an enterprise class server by introducing you to a series ...
Get CentOS 6 Linux Server Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.