万本电子书0元读

万本电子书0元读

顶部广告

Ubuntu Server Cookbook电子书

售       价:¥

29人正在读 | 0人评论 9.8

作       者:Uday R. Sawant

出  版  社:Packt Publishing

出版时间:2016-06-01

字       数:330.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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.
目录展开

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…

How it works…

See also

Adding e-mail accounts

Getting ready

How to do it…

How it works…

There's more…

Web console for virtual mailbox administration

See also

Mail filtering with spam-assassin

Getting ready

How to do it…

How it works…

There's more…

See also

Troubleshooting the mail server

Getting ready

How to do it…

See also

Installing the Zimbra mail server

Getting ready

How to do it…

How it works…

There's more…

See also

5. Handling Databases

Introduction

Installing relational databases with MySQL

Getting ready

How to do it…

How it works…

There’s more…

Securing MySQL installation

See also

Storing and retrieving data with MySQL

Getting ready

How to do it…

How it works…

Importing and exporting bulk data

How to do it…

See also

Adding users and assigning access rights

Getting ready

How to do it…

How it works…

There’s more…

Removing user accounts

Setting resource limits

See also

Installing web access for MySQL

Getting ready

How to do it…

How it works…

There’s more…

See also

Setting backups

Getting ready

How to do it…

How it works…

See also

Optimizing MySQL performance – queries

Getting ready

How to do it…

How it works…

There’s more…

Sharding MySQL

See also

Optimizing MySQL performance – configuration

Getting ready

How to do it…

How it works…

There’s more…

Percona configuration wizard

MySQL table compression

See also

Creating MySQL replicas for scaling and high availability

Getting ready

How to do it…

How it works…

There’s more…

See also

Troubleshooting MySQL

Getting ready

How to do it…

See also

Installing MongoDB

Getting ready

How to do it…

How it works…

See also

Storing and retrieving data with MongoDB

Getting ready

How to do it…

How it works…

There’s more…

See also

6. Network Storage

Introduction

Installing the Samba server

Getting ready

How to do it…

How it works…

There's more…

Tools for personal file sharing

See also

Adding users to the Samba server

Getting ready

How to do it…

How it works…

There's more…

See also

Installing the secure FTP server

Getting ready

How to do it…

How it works…

There's more…

See also

Synchronizing files with Rsync

How to do it…

How it works…

There's more…

See also

Performance tuning the Samba server

Getting ready

How to do it…

How it works…

Troubleshooting the Samba server

How to do it…

Checking network connectivity

Checking the Samba service

Checking Samba logs

Checking Samba configuration

See also

Installing the Network File System

Getting ready

How to do it…

How it works…

There's more…

See also

7. Cloud Computing

Introduction

Creating virtual machine with KVM

Getting ready

How to do it…

How it works…

There's more…

See also

Managing virtual machines with virsh

Getting ready

How to do it…

How it works…

There's more…

Easy cloud images with uvtool

See also

Setting up your own cloud with OpenStack

Getting ready

How to do it…

How it works…

There's more…

See also

Adding a cloud image to OpenStack

Getting ready

How to do it…

How it works…

There's more…

See also

Launching a virtual instance with OpenStack

Getting ready

How to do it…

How it works…

There's more…

See also

Installing Juju a service orchestration framework

Getting ready

How to do it…

How it works…

There's more…

See also

Managing services with Juju

Getting ready

How to do it…

How it works…

There's more…

See also

8. Working with Containers

Introduction

Installing LXD, the Linux container daemon

Getting ready

How to do it…

How it works…

There's more…

See also

Deploying your first container with LXD

Getting ready

How to do it…

How it works…

There's more…

See also

Managing LXD containers

Getting ready…

How to do it…

There's more…

See also

Managing LXD containers – advanced options

How to do it…

How it works…

Setting resource limits on LXD containers

How to do it…

How it works…

There's more…

See also

Networking with LXD

Getting ready

How to do it…

How it works…

There's more…

See also

Installing Docker

Getting ready

How to do it…

How it works…

There's more…

See also

Starting and managing Docker containers

Getting ready

How to do it…

How it works…

There's more…

See also

Creating images with a Dockerfile

Getting ready

How to do it…

How it works…

There's more…

See also

Understanding Docker volumes

Getting ready

How to do it…

How it works…

See also

Deploying WordPress using a Docker network

How to do it…

How it works…

There's more…

See also

Monitoring Docker containers

How to do it…

How it works…

There's more…

See also

Securing Docker containers

How to do it…

See also

9. Streaming with Ampache

Introduction

Installing the Ampache server

Getting ready

How to do it…

How it works…

There's more…

See also

Uploading contents and creating catalogs

Getting ready

How to do it…

How it works…

Setting on-the-fly transcoding

Getting ready

How to do it…

Enabling API access for remote streaming

Getting ready

How to do it…

How it works…

Streaming music with Ampache

Getting ready

How to do it…

10. Communication Server with XMPP

Introduction

Installing Ejabberd

Getting ready

How to do it…

How it works…

See also

Creating users and connecting with the XMPP client

Getting ready

How to do it…

How it works…

There's more…

See also

Configuring the Ejabberd installation

Getting ready

How to do it…

How it works…

There's more…

See also

Creating web client with Strophe.js

Getting ready

How to do it…

How it works…

There's more…

See also

Enabling group chat

Getting ready

How to do it…

How it works…

There's more…

See also

Chat server with Node.js

Getting ready

How to do it…

How it works…

There's more…

See also

11. Git Hosting

Introduction

Installing Git

Getting ready

How to do it…

How it works…

There's more…

See also

Creating a local repository with Git CLI

Getting ready

How to do it…

How it works…

There's more…

See also

Storing file revisions with Git commit

Getting ready

How to do it…

How it works…

There's more…

Synchronizing the repository with a remote server

Getting ready

How to do it…

How it works…

There's more…

GitHub pages

See also

Receiving updates with Git pull

Getting ready

How to do it…

How it works…

See also

Creating repository clones

Getting ready

How to do it…

How it works…

See also

Installing GitLab, your own Git hosting

Getting ready

How to do it…

How it works…

There's more…

See also

Adding users to the GitLab server

Getting ready

How to do it…

Creating a repository with GitLab

Getting ready

How to do it…

Automating common tasks with Git hooks

Getting ready

How to do it…

How it works…

See also

12. Collaboration Tools

Introduction

Installing the VNC server

Getting ready

How to do it…

How it works…

See also

Installing Hackpad, a collaborative document editor

Getting ready

How to do it…

How it works…

There's more

Using Hackpad with Docker

See also

Installing Mattermost – a self-hosted slack alternative

Getting ready

How to do it…

How it works…

There's more …

See also

Installing OwnCloud, self-hosted cloud storage

Getting ready

How to do it…

How it works…

See also

13. Performance Monitoring

Introduction

Monitoring the CPU

Getting ready

How to do it…

How it works…

There's more…

See also

Monitoring memory and swap

Getting ready

How to do it…

How it works…

There's more…

See also

Monitoring the network

Getting ready

How to do it…

How it works…

There's more…

Monitoring storage

Getting ready

How to do it…

Setting performance benchmarks

Getting ready

How to do it…

There's more…

Graphing tools

More options

See also

14. Centralized Authentication Service

Introduction

Installing OpenLDAP

Getting ready

How to do it…

How it works…

See also

Installing phpLDAPadmin

Getting ready

How to do it…

How it works…

There's more…

See also

Ubuntu server logins with LDAP

Getting ready

How to do it…

How it works…

See also

Authenticating Ejabberd users with LDAP

Getting ready

How to do it…

How it works…

See also

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部