By Syed Ali

Practical Linux Infrastructure teaches you ways to exploit the simplest open resource instruments to construct a brand new Linux infrastructure, or modify an current infrastructure, to make sure it stands as much as enterprise-level wishes. every one bankruptcy covers a key sector of implementation, with transparent examples and step by step instructions.

Using this e-book, you’ll comprehend why scale concerns, and what issues you must make. You’ll see how you can change to utilizing Google Cloud Platform on your hosted answer, easy methods to use KVM to your virtualization, find out how to use Git, Postfix, and MySQL on your model keep an eye on, e mail, and database, and the way to take advantage of Puppet on your configuration administration. For enterprise-level fault tolerance you’ll use Apache, and for load balancing and excessive availability, you will use HAProxy and Keepalived. For development research you’ll tips on how to use Cacti, and for notification you’ll use Nagios. You’ll additionally how one can make the most of BIND to enforce DNS, how one can use DHCP (Dynamic Host Configuration Protocol), and the way to setup distant entry in your infrastructure utilizing VPN and Iptables. you'll end by means of taking a look at some of the instruments it is very important troubleshoot concerns which may ensue along with your hosted infrastructure. This comprises the way to use CPU, community, disk and reminiscence administration instruments reminiscent of most sensible, netstat, iostat and vmstat.

Author Syed Ali is a senior web site reliability engineering supervisor, who has vast adventure with virtualization and Linux cloud dependent infrastructure. His earlier adventure as an entrepreneur in infrastructure computing bargains him deep perception into how a enterprise can leverage the facility of Linux to their virtue. He brings his professional wisdom to this e-book to coach others the best way to ideal their Linux environments. develop into a Linux infrastructure professional with Practical Linux Infrastructure today.

What you’ll learn

  • the way to install firm Linux infrastructure

    • Create networks, firewalls, load balancers

    • set up Postfix, Cacti, Nagios, Apache, MySQL

    • utilizing Google Cloud Platform (GCP) companies

    • difficulty shootings instruments comparable to most sensible, tcpdump, iostat, vmstat

    • utilizing iptables to guard your host

    • set up a GIT server for resource code configuration management

    • Use rlog for log collections

Who this booklet is for

This booklet is perfect for Linux approach directors who're presently dealing with small to medium dimension Linux infrastructure environments and wish to the best way to deal with enterprise-level infrastructures. you'll be conversant in easy method management, or website reliability engineering paintings, yet are looking to methods to construct major, pro-level Linux infrastructure.

Table of Contents

  1. Chapter One: coping with huge Scale Infrastructure

    2. bankruptcy : Hosted Cloud recommendations utilizing Google Cloud Platform

    3. bankruptcy 3: Virtualization with KVM

    4. bankruptcy 4: MySQL, Git, Postfix

    5. bankruptcy 5: Configuration administration with Puppet

    6. bankruptcy Six: Apache for Enterprise-level Fault Tolerance

    7. bankruptcy Seven: tracking with Nagios & pattern research with Cacti

    8. bankruptcy 8: DNS utilizing Bind and DHCP

    9. bankruptcy 9: Log assortment, OpenVPN, Iptables

    10. bankruptcy Ten: Troubleshooting Tools

Show description

Read Online or Download Practical Linux Infrastructure PDF

Best Linux books

Linux: The Complete Reference, Sixth Edition

Your one-stop consultant to Linux--fully revised and expandedGet in-depth assurance of all Linux positive aspects, instruments, and utilities from this completely up to date and entire source, designed for all Linux distributions. Written by way of Linux professional Richard Petersen, this publication explains the right way to get up-and-running on Linux, use the computers and shells, deal with functions, installation servers, enforce security features, and deal with method and community management projects.

RHCSA/RHCE Red Hat Linux Certification Study Guide, Seventh Edition (Exams EX200 & EX300)

In response to pink Hat firm Linux 7, the hot variation of this bestselling research advisor covers the up to date pink Hat qualified procedure Administrator (RHCSA) and crimson Hat qualified Engineer (RHCE) tests. RHCSA/RHCE purple Hat Linux Certification research consultant, seventh version is absolutely revised to hide the lately published purple Hat company Linux 7 and the corresponding RHCSA and RHCE certification tests.

The Official Ubuntu Book (7th Edition)

Matthew Helmke, Amber Graner, "The legitimate Ubuntu publication, seventh Edition"
2012 | ISBN-10: 0133017605 | EPUB | 432 pages | 10 + 21 MB

Ubuntu is a whole, unfastened working approach that emphasizes ease of use, group, and help whereas improving pace, energy, and suppleness. it truly is designed for everybody from machine newbies to experts.

This identify serves a large viewers: rookies who simply are looking to try the waters and provides Ubuntu a test, intermediate clients, and those that are looking to take your next step towards changing into strength clients. it's not meant as a consultant to hugely technical makes use of like specialist structures management or programming, even though there's a few technical fabric right here; the focal point is on studying the landscape.

New during this version is deep assurance of the groundbreaking, user-experience-focused cohesion machine, an leading edge new type of human—computer interplay that has gone through huge improvement and trying out to supply robust, industry-leading usability.

In addition, you will
Learn the way to use and customise Ubuntu for domestic, small company, college, executive, and firm environments
Learn the best way to fast replace Ubuntu to iteration models with upgraded applications
Find up to the moment troubleshooting suggestion from Ubuntu clients all over the world to get the assistance you would like quickly
Learn Ubuntu Server install and management, together with LVM and RAID implementation

The Penguin and the Leviathan: How Cooperation Triumphs over Self-Interest

What do Wikipedia, Zip Car’s enterprise version, Barack Obama's presidential crusade, and a small workforce of lobster fishermen have in universal? all of them express the ability and promise of human cooperation in remodeling our companies, our executive, and our society at huge. simply because this day, whilst the prices of taking part are less than ever earlier than, there aren't any limits to what we will be able to in attaining via operating jointly.

Extra resources for Practical Linux Infrastructure

Show sample text content

Apache. org ) operating on your point-of-presence websites to aid one of these layout. If construction such an infrastructure is expense prohibitive, then think about using a CDN, comparable to these provided through Akamai, Amazon, Rackspace, and different companies, to accomplish an analogous effects. determine 1-12. international scalable structure Autoscaling Autoscaling is the method of accelerating or reducing infrastructure assets to satisfy various site visitors calls for. Let’s take the instance of Netflix. Their infrastructure could see a wide spike in incoming streaming requests on Saturday morning, whilst loads of young ones are domestic and need to observe cartoons. nevertheless, they might have a lot decrease use on a Monday morning, while most folks are at paintings and kids are in class. to deal with this variance in site visitors, autoscaling may perhaps turn out to be useful. in the course of height hours, the burden balancer can fee uptime or another metric from the true internet servers and, according to a threshold, spin up new situations of net servers (Figure 1-13). whilst site visitors slows down, the digital cases could be deleted (Figure 1-14). This method allows the fee to Netflix to alter in response to want, and so they wouldn't have to spin up and preserve the high-watermark situations up and working for all time. determine 1-13. top utilization vehicle scaling is out there in Amazon internet providers and in different clouds, comparable to Google Cloud. for personal clouds, you might want to create your individual autoscaling mechanism except your inner most cloud seller offers it. determine 1-14. Autoscaling in the course of general site visitors styles Rolling Deployments while a brand new model of code comes in construction for deployment, the conventional process for upgrading present code in construction used to be to agenda a few downtime within which the carrier isn't really on hand. This was once referred to as a upkeep window, and continues to be utilized by a few enterprises. through the upkeep window, all clients are tired from a provider, and entry to the carrier is disabled. Code is upgraded and demonstrated, after which site visitors is authorized again into the creation cluster. an obstacle of this technique is that, in the event that your website is profit producing, you are going to lose profit throughout the upkeep window. specifically in today’s worldwide atmosphere, the place your external-facing website might be accessed from anyplace on the planet, conserving your website up a hundred% of the time is changing into extra an important. another method of this is often rolling deployments. Rolling deployments includes upgrading a small part of your infrastructure, trying out it, after which upgrading extra servers. There are methods of doing this: one procedure is to installation code on new servers, or digital machines, that might be further to the pool in the back of a load balancer. If issues seem to paintings okay at the new servers, then you definitely continue including extra new servers with the hot code base. once you achieve a hundred% of latest code base servers, you could then begin to flip off the outdated code base servers. one other process is to exchange an current server within the pool with a more moderen model of code (Figure 1-15). Of the 8 servers for a given program, all 8 are working v1.

Rated 4.91 of 5 – based on 9 votes