VPS services management with the systemctl command
Course Content
0 / 73 completedAbout the instructor
What you will do and what will you learn
Why a VPS
Creating an account at a VPS provider
[Optional] Create an account in the provider used during the course
Make sure you can use SSH on your system
Generating SSH keys to access the VPS safely
Creating your VPS with Ubuntu 20.04 LTS
Connecting to the VPS via SSH
Improving the SSH connection flow to the VPS
Keeping the connection active with the VPS server
Resolving an existing domain to the VPS server
How to explore and navigate paths in the VPS
File management (create, delete, move, copy and read)
Directory management (create, delete, move, copy and read)
Tricks to be agile on the command line with your VPS
How to restart the VPS server when required
Use apt to manage and upgrade the VPS packages
VPS services management with the systemctl command
How to establish SSH connections from the VPS
Execute recurring tasks on the VPS using Cronjobs
How to log into the VPS with the new user
How to manage user accounts in Ubuntu (create and delete)
Assigning and using administrative permissions in Ubuntu
Preventing the use of passwords and root to log in to the VPS
Setting up and using the UFW firewall in Ubuntu
Assigning permissions correctly in Ubuntu
Using Fail2Ban to prevent intruders on the VPS
Installing the Nginx web server on the VPS
Where is Nginx and its configuration located in the VPS
Setting up a subdomain on the VPS with Nginx
How Nginx manages to respond to requests
Establishing the first site in Nginx
Installing and securing the MySQL server on the VPS
Using SSH tunnels to interact with MySQL from your system
How to interact with MySQL from the VPS console
Preventing access to .htaccess and .git files
Hiding the Nginx signature in responses
Enabling compression in Nginx with Gzip
Preventing Nginx sites from being hijacked
Avoiding different types of web attacks on Nginx sites
Mitigating DoS and DDoS attacks on Nginx
About Letsencrypt and Certbot
Install Certbot to obtain security certificates with Letsencrypt
Obtaining Letsencrypt security certificates with Certbot
Reviewing and understanding the changes made by Certbot on the VPS
Understanding the use of HTTPS in Nginx and its configuration with Certbot
Checking the security and configuration of the domains in the VPS
Setting up Cloudflare and securing your projects
Get to know Cloudflare and use it as a DNS provider
Important steps and details when having Cloudflare
How to deploy and secure a new project in the VPS
Use the SCP command to transfer files and folders via SSH
How to Add and Secure a Completely New Domain to the VPS
Using wget to get files online to the VPS
Using Git to sync projects on the VPS
How to remove a site from the Internet and your VPS
Installing PHP FPM (Fast Processing Module) on the VPS
The important PHP files and locations in Ubuntu
Installing common PHP extensions on the VPS
Installing composer on the VPS
Knowing and obtaining WP-CLI for WordPress projects
Adding the structure of a pure PHP website on the VPS
Creating a subdomain and a site for a PHP project on the VPS
Deploying and installing WordPress on the VPS
Obtaining the WordPress structure and preparing the VPS with WP-CLI
Deploy a new subdomain for Wordpress
Adding a new site for Laravel and preparing the VPS
Getting a Laravel project on the VPS from a repository on GitHub
Deploying and configuring the Laravel project on the VPS
Remember to keep your VPS updated
Apply what you have learned to anything you need in your VPS
Bonus lecture