生活在宁静的角落 Linux
Ubuntu 下截图工具
ngxtop 报错
[root@**** ~]# ngxtop Traceback (most recent call last): File "/usr/local/bin/ngxtop", line 7, in from ngxtop.ngxtop import main File "/usr/local/lib/python3.6/site-packages/ngxtop/ngxtop.py", line 77, in from config_parser import detect_log_config, detect_config_path, extract_variables, build_pattern ModuleNotFoundError: No module named 'config_parser'
解决方法:
卸 …
Centos 8 时间
CentOS8.0中默认不再支持ntp软件包,时间同步将由chrony来实现,像我这种习惯了ntp同步时间的,一时难以去适应chrony。
本文将通过wlnmp提供的源,来安装ntp服务
添加wlnmp源
安 …
点击查看更多…决WordPress修改固定链接后Nginx报404
nginx.conf 里添加如下内容:[icon name="wpforms" class="" unprefixed_class=""]
location / { if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ rewrite (.*) /index.php; } }点击查看更多…