Skip to main content
00:00/00:00
Lecture 5 of 73

[Optional] Create an account in the provider used during the course

Download Course (Free)

Course Content

0 / 73 completed
Section 1: Introduction3 videos

About the instructor

15m

What you will do and what will you learn

28m

Why a VPS

32m
Section 2: Preparing your system and tools4 videos

Creating an account at a VPS provider

25m

[Optional] Create an account in the provider used during the course

27mNow Playing

Make sure you can use SSH on your system

28m

Generating SSH keys to access the VPS safely

25m
Section 3: Creation and preparation of the Virtual Private Server (VPS)5 videos

Creating your VPS with Ubuntu 20.04 LTS

28m

Connecting to the VPS via SSH

23m

Improving the SSH connection flow to the VPS

11m

Keeping the connection active with the VPS server

14m

Resolving an existing domain to the VPS server

27m
Section 4: Using and understanding some essential commands and tasks on a VPS9 videos

How to explore and navigate paths in the VPS

43m

File management (create, delete, move, copy and read)

46m

Directory management (create, delete, move, copy and read)

31m

Tricks to be agile on the command line with your VPS

33m

How to restart the VPS server when required

22m

Use apt to manage and upgrade the VPS packages

34m

VPS services management with the systemctl command

29m

How to establish SSH connections from the VPS

31m

Execute recurring tasks on the VPS using Cronjobs

35m
Section 5: Assigning an additional user account to ensure proper use of the VPS3 videos

How to log into the VPS with the new user

32m

How to manage user accounts in Ubuntu (create and delete)

40m

Assigning and using administrative permissions in Ubuntu

49m
Section 6: Establishing a security layer on the VPS server4 videos

Preventing the use of passwords and root to log in to the VPS

34m

Setting up and using the UFW firewall in Ubuntu

32m

Assigning permissions correctly in Ubuntu

56m

Using Fail2Ban to prevent intruders on the VPS

38m
Section 7: Installing and configuring the Nginx web server on the VPS5 videos

Installing the Nginx web server on the VPS

15m

Where is Nginx and its configuration located in the VPS

30m

Setting up a subdomain on the VPS with Nginx

15m

How Nginx manages to respond to requests

47m

Establishing the first site in Nginx

46m
Section 8: Installing and configuring MySQL3 videos

Installing and securing the MySQL server on the VPS

24m

Using SSH tunnels to interact with MySQL from your system

27m

How to interact with MySQL from the VPS console

39m
Section 9: Making Nginx and the VPS sites more secure and efficient6 videos

Preventing access to .htaccess and .git files

27m

Hiding the Nginx signature in responses

8m

Enabling compression in Nginx with Gzip

19m

Preventing Nginx sites from being hijacked

21m

Avoiding different types of web attacks on Nginx sites

54m

Mitigating DoS and DDoS attacks on Nginx

1h 2m
Section 10: Using Letsencrypt to establish HTTPS connections on VPS sites6 videos

About Letsencrypt and Certbot

17m

Install Certbot to obtain security certificates with Letsencrypt

16m

Obtaining Letsencrypt security certificates with Certbot

34m

Reviewing and understanding the changes made by Certbot on the VPS

29m

Understanding the use of HTTPS in Nginx and its configuration with Certbot

41m

Checking the security and configuration of the domains in the VPS

9m
Section 11: Protecting your services with Cloudflare3 videos

Setting up Cloudflare and securing your projects

15m

Get to know Cloudflare and use it as a DNS provider

24m

Important steps and details when having Cloudflare

33m
Section 12: Frequent tasks in the deployment and maintenance of VPS projects6 videos

How to deploy and secure a new project in the VPS

34m

Use the SCP command to transfer files and folders via SSH

32m

How to Add and Secure a Completely New Domain to the VPS

1h 2m

Using wget to get files online to the VPS

20m

Using Git to sync projects on the VPS

26m

How to remove a site from the Internet and your VPS

26m
Section 13: Preparing the VPS to use PHP-based projects5 videos

Installing PHP FPM (Fast Processing Module) on the VPS

39m

The important PHP files and locations in Ubuntu

27m

Installing common PHP extensions on the VPS

26m

Installing composer on the VPS

24m

Knowing and obtaining WP-CLI for WordPress projects

23m
Section 14: Deploying a site in pure PHP on the VPS2 videos

Adding the structure of a pure PHP website on the VPS

13m

Creating a subdomain and a site for a PHP project on the VPS

30m
Section 15: Deploying a WordPress site on the VPS with WP-CLI3 videos

Deploying and installing WordPress on the VPS

12m

Obtaining the WordPress structure and preparing the VPS with WP-CLI

25m

Deploy a new subdomain for Wordpress

19m
Section 16: Deploying an existing Laravel project on the VPS3 videos

Adding a new site for Laravel and preparing the VPS

23m

Getting a Laravel project on the VPS from a repository on GitHub

25m

Deploying and configuring the Laravel project on the VPS

38m
Section 17: Conclusions and recommendations3 videos

Remember to keep your VPS updated

18m

Apply what you have learned to anything you need in your VPS

16m

Bonus lecture

27m