搜虎博客 - 道德当身,故不已物惑

“bug飞”

bug修复

Error: Call to undefined function Drupal\d8module\Batch\entity_delete_multiple

> drupal的批量删除api,entity_delete_multiple,已经被删除 1. 请使用新的api ``` bash $bookManager = \Drupa...

Windows Admin center 允许远程访问WIn 10(包括远程桌面和powershell)

> windows admin center 在win10 中安装了,但是没有远程桌面的菜单。 1. 关闭防火墙 2. PowerShell运行命令: ``` bash ENable...

mysql8 占用内存过高

> vps 只有1g,mysql8占用200多,原因是mysql8 默认开启了performance_schema 内存监控程序。 1.查询内存占用(前提是开启了performance_s...

宝塔typecho配置伪静态

打开宝塔面板---网站---设置--伪静态,填入下面内容 ```bash if (-f $request_filename/index.html){ rewrite (....

PHP json_decode()解析json,long类型解析出错

>php json.decode 解析的json字符串里面有long类型数字,会溢出,使用下面 JSON_BIGINT_AS_STRING避免 ##### 错误: ```php j...

drupal9 使用CustomBookNavigationBlock报错:Call to a member function getCurrentRequest() on null in Drupal\d8module\Plugin\Block\CustomBookNavigationBlock->build()

> 使用CustomBookNavigationBlock,报错:Call to a member function getCurrentRequest() on null in Drupal\...

mount nfs报错:mount.nfs: access denied by server while mounting

> mount -t nfs 192.168.19.133:/volume3/supreme5 /www/wwwroot/data 报错:mount.nfs: access denied by ...

debian root登陆openssh 报错:Permission denied, please try again.

> debian 开启ssh和root登陆, ##### 安装openssh ```bash sudo apt update sudo apt install openssh-s...

群晖内置nginx允许跨域访问

> 群晖内置nginx允许跨域访问 ##### 修改nginx 代理配置 ``` bash vim /usr/syno/share/nginx/Portal.mustache ```...

群晖nginx超时 504 Gateway Time-out

>群晖6用webstation搭建php站点,nginx 超时解决 nginx 504 Gateway Time-out 群晖自带的nginx不让修改配置,但是可以修改这个 ###...