High Availability for the LAMP Stack: Eliminate Single Points of Failure and Increase Uptime for Your Linux, Apache, MySQL, and PHP Based Web Applications

Jason Cannon

  • 出版商: CreateSpace Independ
  • 出版日期: 2014-12-17
  • 售價: $1,000
  • 貴賓價: 9.5$950
  • 語言: 英文
  • 頁數: 76
  • 裝訂: Paperback
  • ISBN: 150560706X
  • ISBN-13: 9781505607062
  • 相關分類: LinuxMySQLPHPSQL
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

How to Setup a Highly Available LAMP Stack Even If You've Never Done It before, Don't Know Where to Start, or Don't Want to Spend Weeks Researching How to Do It.

This step-by-step guide teaches you everything you need to know in order to eliminate single points of failure for your Linux, Apache, MySQL, and PHP based web applications. Do you wish you could ensure your web site was up all the time and finally enjoy a peaceful night's sleep? Do you want to be able to scale without downtime and handle unexpected surges of traffic? Do you want a solution that just works without spending weeks testing various combinations of technologies and software? Do you want someone to lay it all out for you and walk you through an entire deployment? If so, you're in the right place...

I understand, because I've been there.

I know what it's like to be woken up in the middle of the night when a web server goes down. I don't know about you, but I'm fairly grumpy at 2:47 A.M. when something is broke and I'm the one that has to fix it. That's why I strive to eliminate single points of failure and ensure service availability. I would much rather plan for failure ahead of time than have to react to it. If you have a robust design that's easy to support you can repair any failures at your convenience instead of trying to cobble together a makeshift solution in the middle of the night. I've spent countless hours designing, testing, and implementing high availability solutions for a wide range of Linux based services during my career. I've put together a well designed, well tested solution for the LAMP (Linux, Apache, MySQL, PHP) stack that easily scales to support an increasing number of users all the while decreasing downtime. I've taken each possible single point of failure into account from the obvious ones to the less than obvious edge cases you'll need to cover in order to have a truly robust design.

This architecture and design:

  • Works on physical servers. If you're running on bare metal, this design will work for you.
  • Works in virtual environments such as VMWare, VirtualBox, Ovirt, Red Hat Enterprise Virtualization (RHEV), KVM, and Xen.
  • Works in the cloud -- You'll learn about the important nuances for running in the cloud. This design works whether you're using Amazon Web Services (AWS), Rackspace Cloud, or another provider.
  • Scales without downtime…. add more servers or resources without users even noticing.
  • Works with custom written web sites and applications that run on the LAMP stack.
  • Supports popular open source web applications such as WordPress, Drupal, Joomla, MediaWiki, phpBB, Redmine, SugarCRM, and more.

This demonstrates everything step-by-step...

This is not just a design, though. It's an entire book complete with lessons and demonstrations you can use on actual Linux servers. In the book I'll be performing the demonstrations on Ubuntu servers, but the concepts are the same no matter if you're using RedHat Enterprise Linux, CentOS, or another distribution. The only real difference is the couple of commands you'll use to perform some of the software installations. The design and configurations remain the same.

Apply what you learn to other situations

Even though this course is targeted directly at the LAMP stack (Linux, Apache, MySQL, PHP), the concepts and techniques presented can be reused in a variety of other situations. If you ever need a floating IP, the ability to add more storage to servers without downtime, to balance loads across multiple servers, or deploy a highly available database cluster, you can put what you learn in this course to good use. The only thing between you and web site that stays up all the time is this book. Get started now by scrolling up to the top of the page and clicking on the "Buy now" button.

商品描述(中文翻譯)

如何建立高可用性的LAMP堆疊,即使你以前從未嘗試過、不知道從何開始,或不想花幾週時間研究如何做到這一點。這本逐步指南將教你一切必要的知識,以消除Linux、Apache、MySQL和PHP基礎的網絡應用程序中的單點故障。

你是否希望能確保你的網站始終運行,並終於享受一個安寧的夜晚睡眠?你是否希望能夠在無停機的情況下進行擴展,處理意外的流量激增?你是否希望有一個只需動手即可運作的解決方案,而不必花費數周時間測試各種技術和軟件的組合?你是否希望有人為你提供所有解決方案並引導你完成整個部署過程?如果是的話,你來對地方了...

我理解,因為我也曾經有過同樣的經歷。我知道當網絡服務器發生故障時,在半夜被吵醒的感覺。我不知道你是否和我一樣,在凌晨2點47分時,當某些東西出了問題,而我又是唯一能修復的人時,我會相當不高興。這就是為什麼我努力消除單點故障並確保服務可用性。我寧願提前計劃失敗,而不是被迫應對失敗。如果你有一個堅固且易於支持的設計,你可以在方便的時候修復任何故障,而不是在半夜匆忙拼湊出一個臨時解決方案。

在我的職業生涯中,我花了無數的時間設計、測試和實施各種基於Linux的高可用性解決方案。我為LAMP(Linux、Apache、MySQL、PHP)堆疊提供了一個經過良好設計、經過充分測試的解決方案,可以輕鬆擴展以支持越來越多的用戶,同時減少停機時間。我考慮了每一個可能的單點故障,從明顯的到不太明顯的邊緣情況,你需要涵蓋所有這些情況,才能擁有真正堅固的設計。

這個架構和設計:
- 適用於物理服務器。如果你在裸機上運行,這個設計對你也適用。
- 適用於虛擬環境,如VMWare、VirtualBox、Ovirt、Red Hat Enterprise Virtualization(RHEV)、KVM和Xen。
- 適用於雲端——你將學習在雲端運行的重要細節。無論你使用Amazon Web Services(AWS)、Rackspace Cloud還是其他提供商,這個設計都適用。
- 可以無需停機地擴展...添加更多的服務器或資源,用戶甚至不會察覺到。
- 適用於在LAMP堆疊上運行的自定義網站和應用程序。
- 支持流行的開源網絡應用程序,如WordPress、Drupal、Joomla、MediaWiki、phpBB、Redmine、SugarCRM等。

這本書將一步一步地演示所有內容...這不僅僅是一個設計,它是一本完整的書,包含了你可以在實際的Linux服務器上使用的教訓和演示。在這本書中,我將在Ubuntu服務器上進行演示,但無論你使用的是RedHat Enterprise Linux、CentOS還是其他發行版,概念都是相同的。唯一的真正區別是你將用來執行一些軟件安裝的幾個命令。設計和配置保持不變。

將你所學應用於其他情況
儘管這門課程直接針對LAMP堆疊(Linux、Apache、MySQL、PHP),但所呈現的概念和技術可以在各種其他情況下重複使用。如果你需要浮動IP、在無需停機的情況下為服務器添加更多存儲空間、在多個服務器之間平衡負載,或部署高可用性的數據庫集群,你可以將在這門課程中學到的知識派上用場。

你和一個始終運行的網站之間唯一的障礙就是這本書。現在就開始,滾動到頁面頂部,點擊“立即購買”按鈕。