SHTF生存问答:长期SHTF生存的第一手报告

SHTF生存问答:长期SHTF生存的第一手报告SHTFPlan.com的Mac Slavo最近在论坛里编辑贴出了Chris Kitze发布在Before Its News的帖子。原帖在生存者论坛里,是一个叫塞尔克的人1992年间波斯尼亚危机中与其家庭长期SHTF状态下生存的第一手报告。许多论坛...

Typecho 默认主题导航栏菜单显示所有分类目录

Typecho默认主题导航栏菜单仅显示了首页和关于页面,如果我们添加了更多分类目录是不会显示出来的,需要修改主题目录下的header.php文件。

Google Cloud VM 自动创建快照脚本

Automatic Snapshots for Google (gcloud) Compute EngineBash script for Automatic Snapshots and Cleanup on Google Compute Engine. Requires no user in...

[nginx] 禁止使用IP地址直接访问(通过http和https)到网站

要阻止 IP 直接访问 80 端口,请创建新的或添加到现有的服务器配置,如下所示:server { listen 80 default_server; server_name _; return 404; }要阻止 IP 的直接访问 443 端口,请在其中一个服务器配置块中使用以下命令:...

[mysql] Authentication plugin 'caching_sha2_password' cannot be loaded:

LinuxFirst change the authentication plugin in /etc/my.cnf file for Linux[mysqld] default_authentication_plugin=mysql_native_passwordThen restart ...

php open_basedir 防跨站设置

Q: 如何限制 php 访问其他目录open_basedir 设置能将 PHP 所能打开的文件限制在指定的目录树,包括文件本身。当一个脚本试图用例如 fopen() 或者 gzopen() 打开一个文件时,该文件的位置将被检查。当文件在指定的目录树之外时 PHP 将拒绝打开它。; open_b...

Create Let's Encrypt Wildcard Certificate

March 13, 2018, Let’s Encrypt Wildcard certificate support is live.How to use it? Follow me.git clone https://github.com/certbot/certbot.git ./cert...