High Availability for the LAMP Stack, Step-by-Step
How to eliminate single points of failure & increase uptime for your Linux, Apache, MySQL, & PHP Based Web Sites & Apps.
Course Description
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 is a full blown course that demonstrates everything step-by-step...
This is not just a design, though. It's an entire course complete with lessons and demonstrations on actual Linux servers. 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.
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.
Goals
What will you learn in this course:
- Build and deploy a highly available LAMP stack.
Prerequisites
What are the prerequisites for this course?
- Having at least some experience working at the Linux command line will come in helpful during this course.

Curriculum
Check out the detailed breakdown of what’s inside the course
High Availability for the LAMP Stack
17 Lectures
-
Introduction 02:51 02:51
-
Files and Downloads 01:49 01:49
-
Preparing a Local Test Environment 02:12 02:12
-
Installing Vagrant on Windows 01:15 01:15
-
Installing an SSH Command Line Client on Windows Using Git 01:59 01:59
-
Installing Vagrant on Mac 01:31 01:31
-
Vagrant Crash Course 06:33 06:33
-
Typical Web Application Residing on a Single Server 02:48 02:48
-
Scaling VS Availability 01:49 01:49
-
The High Availability Architecture 03:16 03:16
-
Configuring High Availability for the IP Address 07:19 07:19
-
Installing and Configuring a Load Balancer 07:37 07:37
-
Installing and Configuring Apache and PHP 08:40 08:40
-
Creating Highly Available Storage 15:35 15:35
-
Installing and Configuring MySQL 14:20 14:20
-
Installing and Configuring WordPress 06:11 06:11
-
Considerations for the Cloud 01:38 01:38
Scaling
4 Lectures

Bonus: Highly Available Joomla
2 Lectures

Instructor Details

Jason Cannon
Professional system administrator, consultant, and author.Jason started his career as a Unix and Linux System Engineer in 1999. Since that time he has utilized his Linux skills at companies such as Xerox, UPS, Hewlett-Packard, and Amazon.com. Additionally, he has acted as a technical consultant and independent contractor for small businesses and Fortune 500 companies.
Jason has professional experience with CentOS, RedHat Enterprise Linux, SUSE Linux Enterprise Server, and Ubuntu. He has used several Linux distributions on personal projects including Debian, Slackware, CrunchBang, and others. In addition to Linux, Jason has experience supporting proprietary Unix operating systems including AIX, HP-UX, and Solaris.
He enjoys teaching others how to use and exploit the power of the Linux operating system. He is also the author of the books "Linux for Beginners" and "Command Line Kung Fu."
Course Certificate
User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

Our students work
with the Best


































Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now