The Perfect Nginx Server - Ubuntu Edition
- 9 hours on-demand video
- 1 article
- 38 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Setup, from scratch, a secured, hardened and optimized Virtual Private Server
- Configure a secure and optimized server and host multiple WordPress sites using nginx
- Add a valuable new skill to your resume
- Add a new income stream by offering new, in demand, services to clients
In this lecture we are going to look at the software required to complete the course successfully. All the software required is FREE and / or open source. No software purchase is required. No commercial theme and/or plugin purchase is required.
2019 Update includes a new section for Windows users, CMDER. CMDER is my favorite terminal emulator for Windows and I highly recommend it over Putty.
If you have never used Linux or the command line before, I created this section just for you. This section will teach you the essential skills needed to complete this course successfully.
After completing this section, you will have learned the skills needed to complete the rest of the course successfully.
Ownership and permissions are two of the most frequently misunderstood topics in Linux. Over the next few lectures I'm going to demystify this topic for you. You will understand what is meant by ownership and permissions and the relationship between the two. Most importantly you will learn how ownership and permissions relate to WordPress security.
Using a user / password combination to login to your server is almost like having no security at all. Its like saying, "I wont give you the correct key, but here's a bunch, try them all until you find the correct one".
We will not allow logging in using a user / password, only SSH key authentication will be allowed.
A firewall is one of the most important aspects of server security. Unfortunately it's also one of the most problematic. Firewall rules are long and complex to type. One incorrectly type character can lock you out of your server.
Thanks to Uncomplicated Firewall, its very easy. There is no need to type complex iptable rules, UFW makes configuring a firewall an extremely easy task. What took hours is now done in minutes using UFW.
In this lecture, we are going to configure the NGINX server blocks that are responsible for displaying your site(s).
At this stage of the course, you are well on your way to using NGINX as a web server.
PDF Updated July 2020
- Students should be familiar using WordPress
- No knowledge of Linux, nginx or server administration is required
- No knowledge of the command line is required, I will teach you everything from scratch
This is a beginners course that assumes you have no knowledge configuring a Linux server or NGINX.
Update: 23 April 2020
Ubuntu 20.04 was release today. Most of the better web hosts have a 20.04 server distribution available for you to install as a server operating system. The configuration differences between 16.04, 18.04 and 20.04 are minimal. Instructions have been added to the course on how to configure the latest Ubuntu release. Apart from minor differences, this course is compatible with Ubuntu 20.04.
NGINX is a high performance web server that is responsible for serving almost all of the most popular sites in the world.
We start with a blank slate and layer by layer configure the perfect nginx server. I will teach you, step by step, to a point where you will have the skill, knowledge and confidence to host multiple secure WordPress sites, on an unmanaged Virtual Private Server, using nginx. You will need no support from your host. You will be your own system administrator.
This course covers the entire spectrum of configuring an Ubuntu based NGINX server. We will cover everything from initial server configuration to installing NGINX, MariaDB and php7.x. Once installed, we will configure, secure and optimize nginx, MariaDB and php7.x. The WordPress sites we create also need to be installed, secured and optimized. Then we move on to installing SSL certificates and plugin free backups.
The most important aspect of any server is security. I don't just glance over this aspect, every configuration step you will take is geared towards security. Some of the security aspects included in the course are: SSH Keys, the firewall, fail2ban, changing "dangerous" default settings and NGINX "deny" directives. These are just some of the steps we are going to use in securing your server and your sites. Installing a WordPress "security plugin" does not secure your server or your WordPress site. Some "security plugins" are a source of vulnerabilities themselves.
After security we need to look at optimization. Speed is everything and NGINX delivers WordPress sites at blazingly fast speeds. We will use a varied approach to optimization - command lines tools, nginx "caching" directives - you can be assured - your page speed scores will sky rocket...
By the end of this course, you will be ready to reap the benefits.
Add a new revenue stream and start earning additional income hosting your own sites using NGINX. There will be numerous new services you will be adding to your resume as a web developer. You will be able to charge for numerous new services - site hosting, site optimization, Let's Encrypt SSL certificate installation and renewal, backups and even a monthly maintenance fee.
All that's left is for you to sign up for this course and start your wonderful journey as your very own system administrator running multiple WordPress sites on a NGINX server.
Update(s): Updates added to the course relate to performance and security - some of the updates include:
Performance: Redis Object Caching, FastCGI Caching, W3 Total Cache and how to correctly enable Cloudflare on your VPS. Run multiple versions of PHP on the same server: PHP 7.2, 7.3 and 7.4 can be used.
Security: stop xmlrpc.php and the seemingly never ending wp-login.php attacks using Nginx Rate Limiting. Make use of nginx directives to block certain user agents, spam bots and common exploits. Nginx directives also aid in stopping certain sql and file injection attacks. Further protect your site by restricting from where assets can be fetched by the clients browser using a Content Security Policy.
- Anyone who wants to host blazingly fast WordPress sites using nginx
- Any WordPress site owner who wants to move from shared hosting to self managed hosting
- Site owners who are tired of slow and oversubscribed shared web hosting servers
- Anyone who is frustrated with shared web hosts support, learn to do it yourself with this course, become your own sys admin, its easy!!!
- Web Developers, add a new revenue stream by offering additional services, you can boost your income drastically