Browse all series
DevOpsIntermediate12 episodes

Servers for Laravel

In this series, we'll learn, from scratch, how to provision servers to run Laravel applications. We'll begin with the core elements for any VPS, and then work our way up to installing and configuring the necessary software to securely run your Laravel applications.

Series episodes

Components of a Virtual Server

6m 29s

Explore VPS components: CPUs, memory, storage, software, and networking—learn how to size and build a reliable virtual server.

Provisioning Servers on AWS

7m 53s

Provision AWS servers: build an EC2 instance, configure networking and firewall, and prep it for deployment step-by-step.

Installing PHP & Nginx

7m 54s

Install PHP, Nginx, and Composer step-by-step—set up a production-ready PHP environment and deploy Laravel apps confidently.

Installing the Laravel App

9m 22s

Pull your Laravel app from GitHub and configure Nginx to serve it—deploy a working site with step-by-step server setup.

Isolating Apps

10m 10s

Secure your server apps by isolating each into its own system user - contain processes, limit privileges, and reduce the attack surface.

Install and Secure MySQL 8

8m 26s

Install and secure MySQL 8 on Ubuntu VBS for Laravel: step-by-step setup, root password change, and a shell script to harden your database.

Task Scheduling

8m 4s

Learn how to use the cron daemon to schedule Laravel tasks effortlessly. Automate regular jobs and keep your app running smoothly with ease.

Installing Redis and Running Workers

8m 34s

Learn to install Redis on your VPS and configure Laravel workers with Supervisor for efficient queue management and improved app performance.

Configuring Domain Names

8m

Learn how to configure Nginx to serve your apps on multiple domains. Get practical tips to manage domain requests and streamline your server setup.

Installing TLS Certificates with Let's Encrypt

9m 59s

Secure your app with free TLS certificates from Let's Encrypt. Learn how to install and configure them for safe, encrypted data transfers in this easy guide.

Automatic Deployments

8m 41s

Automate your VPS deployments with GitHub Actions. Learn how to trigger seamless, reliable deploys every time you push code to Git.

Configuring OPCache

12m 13s

Boost your PHP performance by configuring OPCache. Learn how to enable and optimize OPCache on your VPS for faster, more efficient scripts.

Continue learning

Thumbnail for AWS Fundamentals
AWS Fundamentals

With Mohamed Said

  • 10 episodes
  • Intermediate
  • DevOps
Thumbnail for Valet Uncovered
Valet Uncovered

With Matt Stauffer

  • 16 episodes
  • Advanced
  • Tooling
Thumbnail for Laravel Octane
Laravel Octane

With Mohamed Said

  • 8 episodes
  • Advanced
  • DevOps
Thumbnail for Continuous Integration Step by Step
Continuous Integration Step by Step

With Luke Downing

  • 9 episodes
  • Advanced
  • DevOps
Thumbnail for Serverless Laravel
Serverless Laravel

With Mohamed Said

  • 13 episodes
  • Advanced
  • DevOps

Would you like to hear from Laracasts by email occasionally?