Book Image

Mastering Linux Network Administration

By : Jay LaCroix
Book Image

Mastering Linux Network Administration

By: Jay LaCroix

Overview of this book

Linux is everywhere. Whether you run a home office, a small business, or manage enterprise systems, Linux can empower your network to perform at its very best. Armed with the advanced tools and best practice guidance of this practical guide, you'll be able to mold Linux networks to your will, empowering your systems and their users to take advantage of all that Linux-based networks have to offer. Understand how Linux networks function and get to grips with essential tips and tricks to manage them - whether you're already managing a networks, or even just starting out. With Debian and CentOS as its source, this book will divulge all the details you need to manage a real Linux-based network. With detailed activities and instructions based on real-world scenarios, this book will be your guide to the exciting world of Linux networking.
Table of Contents (17 chapters)
Mastering Linux Network Administration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding modules


As useful as Apache is out of the box, some functionality you'll likely require are not built in. Apache uses modules to extend its feature set. Examples of this may include installing the php5 module to enable your site to use PHP, or perhaps the Python module if you develop in that language. Once a module is installed and activated, the features of that module will then become available to you.

The implementation of Apache between CentOS and Debian is different, and the ways in which modules are added between them is also different. In fact, Debian even includes its very own command for enabling and disabling modules, which is completely exclusive to Debian systems. These commands are a2enmod and a2dismod.

To work through the typical process of enabling a module in Debian, we can enable the PHP module on our server. I'll also detail this process in CentOS, but as I mentioned, this process is completely different between the two.

First, locate a package that contains the module...