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

Configuring a guest's network interface


This recipe teaches you how to configure the virtual network interface's behavior. By changing the interface's behavior, you can provide the guest direct access or filtered access to the network, and even set up a local network visible only to the host system and other guests.

Getting ready

This recipe requires a CentOS system with a working network connection. It also requires a virtual machine set up as described in the previous recipes.

How to do it...

Follow these steps to configure a guest's network interface:

  1. Make sure that the virtual machine you want to modify is not running.

  2. Open the virtual machine by double-clicking on the desired entry in the list of available machines.

  3. View the virtual machine's hardware details by clicking on the lightbulb icon in the menu bar or selecting Details from View.

  4. Specify the desired Network source (NAT or Host device).

  5. If selecting a host device, specify the desired mode (Bridged, VEPA, Private, or Passthrough):

    The...