|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/the-perfect-nginx-server-ubuntu-2204-edition/
课程评论:没有评论
课程名称:《完美的 Nginx 服务器 - Ubuntu (22.04) 版》 课程概述: 本课程基于最新的 Ubuntu 服务器长期支持版本22.04,适合初学者,假设学员没有配置Linux服务器、服务器管理或 NGINX 的相关知识。课程包含一个专为初学者设计的1小时“快速入门”Linux课程,教授与本课程相关的命令、术语和流程。课程主要介绍 NGINX,这是一种高性能的网络服务器,承担着全球大多数流行网站的服务。 课程内容从基础开始,逐步引导学员构建完美的 Nginx 服务器。学员将在课程结束时掌握足够的技能和知识,以便在非托管 VPS 或专用服务器上,使用 NGINX 自行托管多个强化的 WordPress 网站,实现独立管理。 课程涵盖了对基于 Ubuntu 的 NGINX 服务器的全面配置,从初始服务器配置到强化和优化服务器分发。本课程涉及的优化和强化步骤包括: - SSH 密钥认证 - 配置简单防火墙和“云防火墙” - 防止暴力攻击的保护 - 强化共享内存 - 强化和优化网络层 - 调整和拥塞控制 - 文件访问时间及打开文件限制设置 随后,我们将安装、强化和优化 Nginx、MariaDB 和 PHP 8.1。虽然 Nginx、MariaDB 和 PHP 8.1 的默认安装已相对安全,我们将花费超过1.5小时来进一步强化和优化它们。接着,我们将安装第一个 WordPress 网站,并开始强化和优化 WordPress。课程中将包括多个安全和优化策略,例如安装 SSL 证书和配置自动续期,确保 HTTP 响应头安全,设置 WordPress 文件和目录的正确所有权和权限,以及使用 Nginx 指令保护网站的重要部分。 在 WordPress 优化部分,我们将从服务器端和应用程序(WordPress)侧进行分析,讨论如何进一步提升性能,例如优化操作系统和 Nginx、为 PHP-FPM 配置服务器资源、使用服务器端缓存等。课程还将介绍应用插件、优化图片、数据库优化和 CSS、JS 的合并和压缩等。 整个课程遵循的原则是:只安装必要的内容,然后进行强化和优化。安全性是服务器的最重要方面,课程的每一个配置步骤都是以安全为目标。最终,学员将能够利用所学知识,在 hosting 自己的网站上获得额外的收入,并为简历增加新服务,如网站托管、优化、SSL 证书安装和续期、备份及每月维护费等。 通过本课程,您将成为自己的系统管理员,能够使用最新的 Ubuntu 版本和 NGINX 运行多个 WordPress 网站。现在就注册课程,开始您的精彩旅程吧!
This course is based on the latest Ubuntu Server Long Term Support Release 22.04This is a beginner's course that assumes you have no knowledge configuring a Linux server, server administration or NGINX.New to Linux or server administration? Included in the course, is an absolute beginners "crash" Linux course. This 1 hour "course within a course" will teach you the commands, terminology and procedures as it relates to this course. This course is 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 hardened WordPress sites, on an unmanaged VPS or dedicated 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 hardening and optimizing the server distribution. Some of the server optimization and hardening steps will include the following topics:SSH Key authenticationSetting up both Uncomplicated Firewall and a "Cloud Firewall"Brute force attack protection SWAPHarden Shared MemoryHarden and Optimize the Network LayerTuned and Congestion ControlFile Access Times and setting the Open File LimitsThen we install, harden and optimize Nginx, MariaDB and php8.1. Although the default installations of Nginx, MariaDB and PHP8.1 are fairly well hardened, we will spend over 1.5 hours hardening and optimizing Nginx, MariaDB and PHP8.1Then we install our first WordPress site. We then start the process of hardening and optimizing WordPress. Installing a caching and security plugin does not optimize or harden a WordPress site. Some "security plugins" are a source of vulnerabilities themselves. Almost 4 hours of the course is dedicated to hardening and optimizing WordPress. We look at hardening and optimizing WordPress from the server side and layer by layer we will harden our site.Some of the hardening topics include: Installing SSL certificates and configuring automatic renewal of those certificates.Securing the http response headersSetting the correct ownership and permissions on the WP files and directoriesUsing nginx directives to protect important parts of our siteHot linking protection to stop other sites from stealing our bandwidth and driving up server costsNginx DDoS protectionSetting up a web application firewallWhen it comes to optimizing WP, we will look at the process from both the server-side and the application (WordPress) side.On the server-side we will cover the following:optimizing the operating system - prior to optimizing WordPressoptimizing nginx - prior to optimizing WordPressconfiguring php-fpm according to your server resources - prior to optimizing WordPress - set to low your site slows down, set to high and your server will crashserver-side caching - fastcgi caching is brilliantreplacing WP cron with a real cronOn the application or WordPress side you need to look at the following:Caching plugin - W3 Total CacheOptimizing imagesPost revisions policyOptimizing the databaseCombining and minifying CSS and JSThroughout the course, the principle of install only what's needed, then harden and optimize is followed. 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. We will optimize the server, but not at the expense of lax security.It's impossible to list all the hardening and security layers we implement in this section, for a complete list please refer to the actual course curriculum. By the end of this course, you will be ready to reap the benefits...You'll be able to 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. This course is not a lab experiment with no real-world application.This course was not designed to be completed locally, on your pc or mac or using one of the many available "Virtual Machines". Oracle's VirtualBox is one example. The aim of the course is to instruct you on how to setup a secure/hardened hosting environment and then host multiple hardened WordPress sites on a commercially purchased VPS or dedicated server.I want you to able to look at server logs and see how malicious users and bots are scanning your server, probing and looking for vulnerabilities. You need to be able to see the result of your hardening - banning, blocking, rate limiting - in your server logs. This cannot be done in a Virtual Machine.All that's left is for you to sign up for this course and start your wonderful journey as your very own systems administrator running multiple WordPress sites using the latest Ubuntu release and NGINX.