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.
Components of a Virtual Server
Let’s start by exploring the main elements we need in a VPS. We’ll discuss and review CPUs, memory, disk storage, software, and networking. Ready?
Provisioning Servers on AWS
Next up, we will learn how to build a server and configure its networking and firewall. Let’s go!
Installing PHP & Nginx
In this video, together, we’ll work through the process of installing PHP, Nginx, and Composer.
Installing the Laravel App
Moving on, we can now pull our application from GitHub and configure Nginx to serve it.
Isolating Apps
In this episode, we will learn how to secure any apps running on our server by isolating them into different system users.
Install and Secure MySQL 8
In this episode, you’ll learn how to install and configure MySQL 8 for your Laravel application running on Ubuntu VBS. This tutorial covers the installation of MySQL 8, changing the root user password, and securing the installation through a shell script.
Task Scheduling
Next, let’s explore the cron daemon and how we may use it to schedule Laravel tasks that are triggered on a regular basis.
Installing Redis and Running Workers
Next up, we will discuss how to install Redis on our VPS and configure Laravel workers through Supervisor.
Configuring Domain Names
In this episode, we’ll discuss how we might configure Nginx to serve our applications to requests targeting different domains.
Installing TLS Certificates with Let’s Encrypt
To allow for secure data transfers for our application, we need to install and configure a TLS certificate. Let’s learn how to that in this episode.
Automatic Deployments
In this episode, we will use GitHub actions to automatically deploy to our VPS when we push to Git.
Configuring OPCache
OPCache optimizes our PHP scripts for better performance. In this final episode, let’s explore it and see how we may enable it on our VPS.


There are no reviews yet.