Book Image

CentOS 7 Server Deployment Cookbook

By : Timothy Boronczyk, IRAKLI NADAREISHVILI
Book Image

CentOS 7 Server Deployment Cookbook

By: Timothy Boronczyk, IRAKLI NADAREISHVILI

Overview of this book

CentOS is derived from Red Hat Enterprise Linux (RHEL) sources and is widely used as a Linux server. This book will help you to better configure and manage Linux servers in varying scenarios and business requirements. Starting with installing CentOS, this book will walk you through the networking aspects of CentOS. You will then learn how to manage users and their permissions, software installs, disks, filesystems, and so on. You’ll then see how to secure connection to remotely access a desktop and work with databases. Toward the end, you will find out how to manage DNS, e-mails, web servers, and more. You will also learn to detect threats by monitoring network intrusion. Finally, the book will cover virtualization techniques that will help you make the most of CentOS.
Table of Contents (18 chapters)
CentOS 7 Server Deployment Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Installing Apache HTTP Server and PHP


You may have heard the acronym LAMP which stands for Linux, Apache, MySQL, and PHP. It refers to the popular pairing of technologies for providing websites and web applications. This recipe teaches you how to install the Apache HTTP Server (Apache for short) and configure it to work with PHP to serve dynamic web content.

First released over twenty years ago, Apache was one of the first web servers and it continues to be one of the most popular. Its task in the LAMP stack is to interact with the user by responding to their requests for web resources. Perhaps one of its selling points is its design that allows its functionality to be expanded with modules. Many modules exist, from mod_ssl, which adds HTTPS support to mod_rewrite, which allows you to modify the request URL on the fly.

PHP is a scripting language for creating dynamic web content. It works behind the scenes and the output of a script is usually served by Apache to satisfy a request. PHP was...