Practical Linux Infrastructure

By Syed Ali

Practical Linux Infrastructure teaches you the way to take advantage of the simplest open resource instruments to construct a brand new Linux infrastructure, or adjust an present infrastructure, to make sure it stands as much as enterprise-level wishes. each one bankruptcy covers a key quarter of implementation, with transparent examples and step by step instructions.

Using this ebook, you’ll comprehend why scale concerns, and what issues you want to make. You’ll see how you can swap to utilizing Google Cloud Platform on your hosted answer, tips on how to use KVM on your virtualization, find out how to use Git, Postfix, and MySQL in your model keep watch over, e-mail, and database, and the way to exploit Puppet in 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 the right way to use Cacti, and for notification you’ll use Nagios. You’ll additionally easy methods to make the most of BIND to enforce DNS, find out how to use DHCP (Dynamic Host Configuration Protocol), and the way to setup distant entry in your infrastructure utilizing VPN and Iptables. you'll end by way of a number of the instruments it is very important troubleshoot concerns which can take place along with your hosted infrastructure. This comprises find out how to use CPU, community, disk and reminiscence administration instruments equivalent to most sensible, netstat, iostat and vmstat.

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

What you’ll learn

  • the right way to install firm Linux infrastructure

    • Create networks, firewalls, load balancers

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

    • utilizing Google Cloud Platform (GCP) providers

    • hassle shootings instruments similar to best, 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 e-book is perfect for Linux method directors who're presently coping with small to medium dimension Linux infrastructure environments and wish to the best way to deal with enterprise-level infrastructures. you can be conversant in simple procedure management, or website reliability engineering paintings, yet are looking to how one can construct major, pro-level Linux infrastructure.

Table of Contents

  1. Chapter One: dealing 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 & development 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

Quick preview of Practical Linux Infrastructure PDF

Similar Linux books

Embedded Linux Primer: A Practical Real-World Approach (2nd Edition)

Up to date, whole advice for constructing Embedded suggestions with Linux   Linux has emerged as today’s number one working process for embedded items. Christopher Hallinan’s Embedded Linux Primer has confirmed itself because the definitive real-world consultant to development effective, high-value, embedded structures with Linux.

The Official Ubuntu Book (5th Edition)

Ubuntu is a whole, loose working process that emphasizes group, aid, and straightforwardness of use with out compromising velocity, energy, or flexibility. It’s Linux for people, designed for everybody from laptop rookies to specialists. Ubuntu 10. 04 is the most recent release—more strong, extra versatile, and friendlier than ever.

Advanced Linux Networking

With increasingly more networks and mission-critical purposes working on Linux, approach, and community directors has to be in a position to do greater than organize a server and depend on its default configuration. this article is designed that can assist you in attaining the next point of competence. It specializes in strong innovations and lines of Linux networking and gives you with the information you want to enhance server potency, improve safeguard, and adapt to new specifications.

Guide to Assembly Language Programming in Linux

Introduces Linux recommendations to programmers who're accustomed to different working structures corresponding to home windows XP presents accomplished insurance of the Pentium meeting language

Extra resources for Practical Linux Infrastructure

Show sample text content

6. 20-1. el6. src. rpm --2014-09-10 16:44:06--   https://dev. mysql. com/get/Downloads/MySQL-5. 6/MySQL-5. 6. 20-1. el6. src. rpm ... [SNIP]... 2014-09-10 16:44:13 (4. seventy two MB/s) - “MySQL-5. 6. 20-1. el6. src. rpm” stored [31342030/31342030] # ls MySQL-5. 6. 20-1. el6. src. rpm # rpm -Uvh . /MySQL-5. 6. 20-1. el6. src. rpm 1:MySQL                  ########################################### [100%] Untar the distribution. # cd /usr/local/src # cp /root/rpmbuild/SOURCES/mysql-5. 6. 20. tar. gz. # ls MySQL-5. 6. 20-1. el6. src. rpm  mysql-5. 6. 20. tar. gz # tar xvfz mysql-5. 6. 20. tar. gz mysql-5. 6. 20/ mysql-5. 6. 20/Docs/ set up cmake and ncurses-devel. # cd mysql-5. 6. 20 # yum set up cmake Loaded plugins: fastestmirror, safety Loading reflect speeds from cached hostfile ... [SNIP]... put in: cmake. x86_64 0:2. 6. 4-5. el6 # yum set up ncurses-devel -y Loaded plugins: fastestmirror, safety Loading reflect speeds from cached hostfile developing set up approach ... [SNIP]... put in: ncurses-devel. x86_64 0:5. 7-3. 20090208. el6 Run cmake. # cmake. -- operating cmake model 2. 6. four -- The C compiler identity is GNU -- The CXX compiler id is GNU ... [SNIP]... -- Googlemock used to be now not discovered. gtest-based unit exams may be disabled. you could run cmake. -DENABLE_DOWNLOADS=1 to immediately obtain and construct required elements from resource. -- when you are within a firewall, you could have to use an http proxy: export http_proxy= http://example. com:80 -- Library mysqlserver depends upon OSLIBS -lpthread;m;rt;crypt;dl -- Configuring performed -- producing performed -- construct records were written to: /usr/local/src/MySQL/mysql-5. 6. 20 Run make. # make Scanning dependencies of aim INFO_BIN [  0%] equipped goal INFO_BIN ... [SNIP]... [100%] construction CXX item mysql-test/lib/My/SafeProcess/CMakeFiles/my_safe_process. dir/safe_process. cc. o Linking CXX executable my_safe_process [100%] outfitted aim my_safe_ procedure set up the software program after compiling it. # make set up [  0%] outfitted objective INFO_BIN ... SNIP]... [100%] equipped goal my_safe_process set up the project... -- set up configuration: "RelWithDebInfo" -- fitting: /usr/local/mysql/. /COPYING ... [SNIP]... -- fitting: /usr/local/mysql/sql-bench/test-wisconsin upload mysql person. # getent crew mysql mysql:x:27: # useradd -r -g mysql mysql # getent passwd mysql mysql:x:495:27::/home/mysql:/bin/bash # cd /usr/local # chown -R mysql. mysql mysql/ # pwd /usr/local # cd mysql Initialize mysql through bootstrapping the database. # scripts/mysql_install_db --user=mysql fitting MySQL method tables... 2014-09-10 17:25:07 zero [Warning] TIMESTAMP with implicit DEFAULT price is deprecated. Please use --explicit_defaults_for_timestamp server choice (see documentation for extra details). 2014-09-10 17:25:07 32087 [Note] InnoDB: utilizing atomics to ref count number buffer pool pages 2014-09-10 17:25:07 32087 [Note] InnoDB: The InnoDB reminiscence heap is disabled ... [SNIP]... # chown -R root . switch the basis password for mysql.

Download PDF sample

Rated 4.47 of 5 – based on 41 votes