Category: IT Notes

01
Oct
2022

How to install Docker on Amazon Linux 2

https://www.cyberciti.biz/faq/how-to-install-docker-on-amazon-linux-2/ To install Docker on an Amazon EC2 instance https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-container-image.html https://docs.aws.amazon.com/zh_cn/AmazonECS/latest/developerguide/create-container-image.html https://docs.docker.com/engine/install/ubuntu/ Docker安装教程: https://www.howtoing.com/how-to-install-wordpress-with-docker-on-ubuntu Docer安装wordpress: https://blog.csdn.net/u011628753/article/details/122614902 https://www.linuxmi.com/docker-container.html https://www.linuxmi.com/docker-install-wordpress.html https://developer.aliyun.com/article/900120

19
Jul
2022

htpasswd用法

https://www.cnblogs.com/zhenmingliu/archive/2012/12/27/2836424.html apache htpasswd命令用法   htpasswd [-cmdpsD] passwordfile username   htpasswd -b[cmdpsD] passwordfile username password   htpasswd -n[mdps] username   htpasswd -nb[mdps] username password apache htpasswd命令选项参数说明   -c  创建一个加密文件   -n  不更新加密文件,只将apache htpasswd命令加密后的用户名密码显示在屏幕上...

13
Jul
2022

WordPress 禁止xmlrpc.php和限制wp-login.php

location = /xmlrpc.php { deny all; } location ~ .php$ {location ~ \wp-login.php$ {allow 142.114.32.87;deny all;fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;include fastcgi_params;fastcgi_intercept_errors on;fastcgi_pass unix:/run/php-fpm/www.sock;}include fastcgi_params;fastcgi_intercept_errors on;fastcgi_pass unix:/run/php-fpm/www.sock; }

22
Jan
2022

WordPress速度优化-Nginx fastcgi_cache缓存加速

https://download.csdn.net/download/weixin_38632046/14893947?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-download-2%7Edefault%7ECTRLIST%7EPaid-1.pc_relevant_default&depth_1-utm_source=distribute.pc_relevant_t0.none-task-download-2%7Edefault%7ECTRLIST%7EPaid-1.pc_relevant_default&utm_relevant_index=1 https://blog.csdn.net/tshangshi/article/details/51884279?spm=1001.2101.3001.6650.10&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-10.pc_relevant_aa&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-10.pc_relevant_aa&utm_relevant_index=13