Ubuntu Server Cookbook
eBook - ePub

Ubuntu Server Cookbook

  1. 456 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Ubuntu Server Cookbook

Book details
Book preview
Table of contents
Citations

About This Book

Arm yourself to make the most of the versatile, powerful Ubuntu Server with over 100 hands-on recipes

About This Book

  • Master the skills to setup secure and scalable web services with popular tools like Apache, Nginx, MySQL and HAProxy
  • Set up your own cloud with Open Stack and quickly deploy applications with Docker or LXD
  • Packed with clear, step-by-step recipes to let you protect you valuable data with your own chat servers, code hosting and collaboration tools.

Who This Book Is For

Ubuntu Server Cookbook is for system administrators or software developers with a basic understanding of the Linux operating system who want to set up their own servers. You are not required to have in-depth knowledge or hands-on experience with Ubuntu, but you should know the basics commands for directory navigation, file management, and the file editing tool. An understanding of computer networks is advisable

What You Will Learn

  • Set up high performance, scalable, and fault-tolerant back ends with web and database servers
  • Facilitate team communication with a real-time chat service and collaboration tools
  • Quickly deploy your applications to their own containers and scale your infrastructure as and when needed
  • Find out how to set up your own cloud infrastructure for your internal use or rent it to the public
  • Ensure quick and easy access for your users while also securing your infrastructure from intruders
  • Set up a high performance private network with a personal VPN server and centralized authentication system
  • Swiftly start a content streaming service
  • Set up network storage for private data and source code and say good bye to costly and unreliable cloud services

In Detail

Ubuntu is one of the most secure operating systems and defines the highest level of security as compared other operating system. Ubuntu server is a popular Linux distribution and the first choice when deploying a Linux server. It can be used with a $35 Raspberry Pi to top-notch, thousand-dollar-per-month cloud hardware. Built with lists that there are 4 million + websites built using Ubuntu. With its easy-to-use package management tools and availability of well-known packages, we can quickly set up our own services such as web servers and database servers using Ubuntu.

This book will help you develop the skills required to set up high performance and secure services with open source tools. Starting from user management and an in-depth look at networking, we then move on to cover the installation and management of web servers and database servers, as well as load balancing various services. You will quickly learn to set up your own cloud and minimize costs and efforts with application containers. Next, you will get to grips with setting up a secure real-time communication system. Finally, we'll explore source code hosting and various collaboration tools. By the end of this book, you will be able to make the most of Ubuntu's advanced functionalities.

Style and approach

This easy-to-follow guide contains a series of step-by-step recipes ranging from simple to complex. Each topic will start with basic introduction to each technology followed by a detailed step-by-step installation guide and then a detailed explanation of the approach taken during installation and the various advanced options available.

Frequently asked questions

Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Ubuntu Server Cookbook by Uday R. Sawant in PDF and/or ePUB format, as well as other popular books in Computer Science & Databases. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781785883064
Edition
1

Ubuntu Server Cookbook


Table of Contents

Ubuntu Server Cookbook
Credits
About the Author
www.PacktPub.com
eBooks, discount offers, and more
Why Subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Managing Users and Groups
Introduction
Creating a user account
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Creating user accounts in batch mode
Getting ready
How to do it...
How it worksā€¦
Creating a group
Getting ready
How to do it...
How it worksā€¦
There's moreā€¦
See also
Adding group members
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Deleting a user account
Getting ready
How to do it...
How it worksā€¦
There's moreā€¦
See also
Managing file permissions
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Getting root privileges with sudo
Getting ready
How to do it...
How it worksā€¦
There's moreā€¦
Setting password less sudo
Other uses of sudo
See also
Setting resource limits with limits.conf
Getting ready
How to do it...
How it worksā€¦
There's moreā€¦
Setting up public key authentication
Getting ready
How to do it...
How it worksā€¦
Working of SSH authentication
There's moreā€¦
Troubleshooting SSH connections
SSH tools for the Windows platform
See also
Securing user accounts
How to do it...
How it worksā€¦
2. Networking
Introduction
Connecting to a network with a static IP
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
IPv6 configuration
See also
Installing the DHCP server
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Installing the DNS server
Getting ready
How to do itā€¦
How it worksā€¦
See also
Hiding behind the proxy with squid
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Access control list
Set cache refresh rules
Sarg ā€“ tool to analyze squid logs
Squid guard
See also
Being on time with NTP
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Discussing load balancing with HAProxy
Getting ready
How to do itā€¦
How it worksā€¦
There's more ā€¦
See also
Tuning the TCP stack
Getting readyā€¦
How to do itā€¦
How it worksā€¦
See also
Troubleshooting network connectivity
Getting ready
How to do itā€¦
There's moreā€¦
Securing remote access with OpenVPN
Getting readyā€¦
How to do itā€¦
How it worksā€¦
There's moreā€¦
Securing a network with uncomplicated firewall
Getting ready
How to do itā€¦
There's moreā€¦
See also
Securing against brute force attacks
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Discussing Ubuntu security best practices
Getting ready
How to do itā€¦
How it worksā€¦
See also
3. Working with Web Servers
Introduction
Installing and configuring the Apache web server
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
HTTP version 2 support
See also
Serving dynamic contents with PHP
Getting ready
How to do itā€¦
How it worksā€¦
PHP settings
There's moreā€¦
Installing the LAMP stack
Upgrading PHP under Ubuntu 14
Hosting multiple websites with a virtual domain
Getting ready
How to do itā€¦
How it worksā€¦
See also
Securing web traffic with HTTPS
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Installing Nginx with PHP_FPM
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Setting Nginx as a reverse proxy
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
HAProxy and Varnish
See also
Load balancing with Nginx
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Setting HTTPs on Nginx
Getting ready
How to do itā€¦
How it worksā€¦
See also
Benchmarking and performance tuning of Apache
Getting ready
How to do itā€¦
There's moreā€¦
See also
Securing the web server
Getting ready
How to do itā€¦
How it worksā€¦
See also
Troubleshooting the web server
Getting ready
How to do itā€¦
Web server not accessible
Virtual host not accessible
Access denied or forbidden errors
Apache downloads .php files
4. Working with Mail Servers
Introduction
Sending e-mails with Postfix
Getting ready
How to do itā€¦
How it worksā€¦
See also
Enabling IMAP and POP3 with Dovecot
Getting ready
How to do itā€¦
Ho...

Table of contents

  1. Ubuntu Server Cookbook