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)

Installing a file server

This is the last section in this chapter. In this section, we will discover how to install and configure, on an Ubuntu Server, two of the most used file servers—FTP and Samba.

The FTP server

The vsftpd is an FTP daemon available in Ubuntu. It is easy to install, set up, and maintain. To install vsftpd, run the following command:

sudo apt-get install vsftpd

The /etc/vsftpd.conf file contains the main configuration options for the FTP server. It is well commented. Therefore, you can edit it easily. After the config modification, you should restart the server by using the following command:

sudo restart vsftpd

Connecting to the FTP server is quite easy. You can do so either by using the FTP command in the CLI of the customer machine or a client GUI program such as FileZilla.


With FTP, data is transmitted unencrypted over the network. To transmit data securely, you can either use the FTPS protocol (FTP over SSL), or advantageously turn to SFTP (SSH File Transfer Protocol...