Book Image

Ubuntu Server Essentials

By : Abdelmonam Kouka
Book Image

Ubuntu Server Essentials

By: Abdelmonam Kouka

Overview of this book

Ubuntu is a Debian-based Linux operating system built on top of the Debian architecture. It is used to make operating systems for multiple platforms, including phones, desktops, TVs and mobiles. It has made some serious progress in the realms of efficiency and user friendliness. With evolving technology trends, demands on software have changed, with more and more skilled users. Over the past few years, services such as Facebook, Twitter, and push notifications on smartphones mean that users are used to being up to date with everything that happens all the time. With SignalR, the applications stay connected and will generate notifications when something happens either from the system or by other users. This provides new opportunities for the system administrators, to enter this new and exciting world of real-time application development. This is a concise and a cost-friendly guide, packed with up-to-date essentials on Ubuntu Server fundamentals. It will guide you through deploying and configuring Ubuntu servers in your office environments. You’ll start by installing Ubuntu Server, then move to the most useful aspect —the command-line interface inside it. You’ll extend your knowledge by learning how to administrate and configure Ubuntu Server. You will also see how to deploy services on Ubuntu Server and find out how to secure it. You’ll get to grips with the virtualization and cloud computing facilities provided by Ubuntu, and finally, you’ll gain some very useful tips.
Table of Contents (13 chapters)


Ubuntu Server Essentials is a practical, hands-on guide that provides you with a clear step-by-step process to install and manage an Ubuntu Server, which will help you take advantage of the real power that is behind Ubuntu without being an expert in it.

This fast-paced book is for administrators who wish to discover the essentials of the latest version of the Ubuntu Server. The purpose of this book is to guide the readers so that they can deploy and configure Ubuntu servers in their office environments. First of all, we will start by explaining how to install the Ubuntu Server. Then, we will move on to cover the most useful aspect of the command-line interface that comes with it. Meanwhile, we will have a look at how to administrate and configure an Ubuntu Server. This knowledge will be extended with the help of a chapter dedicated to this topic. After that, we will discuss how to deploy services on an Ubuntu Server and secure it. Before finishing, we will discover the virtualization and Cloud computing facilities provided by Ubuntu. Finally, we will explore some very useful tips related to an Ubuntu Server.

What this book covers

Chapter 1, The Ubuntu Server Installation, serves as an Ubuntu Server installation guide.

Chapter 2, Configuring and Administering Ubuntu Server, provides the necessary knowledge and tools that are required to manage an Ubuntu Server.

Chapter 3, Deploying Servers on Ubuntu, allows users to easily set up and deploy a set of frequently used services, such as e-mail, the Web, DNS, and so on.

Chapter 4, Security with Ubuntu, serves as a security guide for the Ubuntu Server.

Chapter 5, Virtualization and Cloud Computing inside the Ubuntu Server, provides the knowledge needed to work with virtualization and Cloud computing.

Chapter 6, Tips and Tricks for Ubuntu Server, contains some of the most useful tips and tricks that every Ubuntu administrator needs.

What you need for this book

To use this book, you need only basic knowledge Linux OS and a cup of coffee.

Who this book is for

This book is intended for system administrators who are familiar with the fundamentals of the Linux operating system and are looking for a fast-paced guide on Ubuntu. Those familiar with the older versions of Ubuntu will also find this book useful. Basic knowledge of Linux administration is assumed. By the end of this book, readers will have a good understanding of working with the latest version of Ubuntu and exploring the new features of Ubuntu Server administration.


In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

zone "localhost" {
  type master;
  file "/etc/bind/db.local";
  allow-transfer {; };
  also-notify {; };
zone "" {
  type master;
  file "/etc/bind/db.127";
  allow-transfer {; };
  also-notify {; };

Any command-line input or output is written as follows:

sudo ln -s /etc/phppgadmin/apache.conf /etc/apache2/sites-available/phppgadmin
sudo a2ensite phppgadmin
sudo apache2ctl graceful

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Then, go to the Settings of the machine and select the System tab."


Warnings or important notes appear in a box like this.


Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail , and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files from your account at for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit and register to have the files e-mailed directly to you.

Downloading the color images of this book

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from


Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to and enter the name of the book in the search field. The required information will appear under the Errata section.


Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.


If you have a problem with any aspect of this book, you can contact us at , and we will do our best to address the problem.