Troubleshooting Ubuntu Server

Troubleshooting Ubuntu Server

Language: English

Pages: 266

ISBN: 1785284142

Format: PDF / Kindle (mobi) / ePub


Make life at the office easier for server administrators by helping them build resilient Ubuntu server systems

About This Book

  • Tackle the issues you come across in keeping your Ubuntu server up and running
  • Build server machines and troubleshoot cloud computing related issues using Open Stack
  • Discover tips and best practices to be followed for minimum maintenance of Ubuntu Server 3

Who This Book Is For

This book is for a vast audience of Linux system administrators who primarily work on Debian-based systems and spend long hours trying fix issues with the enterprise server. Ubuntu is already one of the most popular OSes and this book targets the most common issues that most administrators have to deal with. With the right tools and definite solutions, you will be able to keep your Ubuntu servers in the pink of health.

What You Will Learn

  • Deploy packages and their dependencies with repositories
  • Set up your own DNS and network for Ubuntu Server
  • Authenticate and validate users and their access to various systems and services
  • Maintain, monitor, and optimize your server resources and avoid tremendous load
  • Get to know about processes, assigning and changing priorities, and running processes in background
  • Optimize your shell with tools and provide users with an improved shell experience
  • Set up separate environments for various services and run them safely in isolation
  • Understand, build, and deploy OpenStack on your Ubuntu Server

In Detail

Ubuntu is becoming one of the favorite Linux flavors for many enterprises and is being adopted to a large extent. It supports a wide variety of common network systems and the use of standard Internet services including file serving, e-mail, Web, DNS, and database management. A large scale use and implementation of Ubuntu on servers has given rise to a vast army of Linux administrators who battle it out day in and day out to make sure the systems are in the right frame of operation and pre-empt any untoward incidents that may result in catastrophes for the businesses using it. Despite all these efforts, glitches and bugs occur that affect Ubuntu server's network, memory, application, and hardware and also generate cloud computing related issues using OpenStack.

This book will help you end to end. Right from setting up your new Ubuntu Server to learning the best practices to host OpenStack without any hassles. You will be able to control the priority of jobs, restrict or allow access users to certain services, deploy packages, tackle issues related to server effectively, and reduce downtime.

Also, you will learn to set up OpenStack, and manage and monitor its services while tuning the machine with best practices. You will also get to know about Virtualization to make services serve users better. Chapter by chapter, you will learn to add new features and functionalities and make your Ubuntu server a full-fledged, production-ready system.

Style and approach

This book contains topic-by-topic discussion in an easy-to-understand language with loads of examples to help you take care of Ubuntu Server. Plenty of screenshots will guide you through a step-by-step approach.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

a different location. This is where Puppet comes to the rescue. Puppet is a system that helps you centrally manage the configuration across machines and helps avoid problems of locating the config files in each of the remote machines and then changing the configuration in each of them one by one. Puppet master is a service set up on a server to centrally track and maintain the configuration files on all your client nodes. Every client will have a daemon running, which periodically reports to the

we again get the process ID and parent process ID with the following command: echo $$ $PPID The output is shown in the following screenshot: Now, we will start a new bash process but this time we will bypass fork, which means there is mirroring of the same process. Instead, the bash process will use the same process ID as that of ksh. The screenshot shows the complete picture. Note that the process ID of the korn shell process and the process ID of the new bash shell process are the same.

the following columns: USER: This is the user who started the process.PID: This is the process ID.%CPU: This is percentage of CPU used by this process.%MEM: This is the percentage of RAM used by this process.VSZ: This is the virtual size in KB units.RSS: This is the resident set size in KB units.TTY: This is the terminal type.STAT: This is the state code for the process, that is, the current state of the process. Refer to the next bullet points to understand what each code means.START: This is

Ubuntu OS. While installing, hit F4 on your keyboard. You will see a list of items and select the one that reads Minimal installation. This will install the JeOS variant.Build your own copy with vmbuilder from Ubuntu. The kernel of JeOS is specifically tuned to run in virtual environments. It is stripped off of the unwanted packages and has only the base ones. JeOS takes advantage of the technological advancement in VMware products. A powerful combination of limited size with performance

compute node The compute node is responsible for the connectivity and security groups for instances. Configuring the prerequisites It is necessary to set some kernel networking parameters before we install and configure OpenStack Networking: Edit the /etc/sysctl.conf file and make the following changes:net.ipv4.conf.all.rp_filter=0 net.ipv4.conf.default.rp_filter=0 Run the following command so that the changes take effect: sysctl –p Installing the Networking components Run the following

Download sample

Download