上一页 1 2 3 4 5 6 7 8 9 10 ··· 186 下一页
摘要: 一,报错信息: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client 二,phpmyadmin也报错: 三,原因: mysqlnd的插件中缺少 Loaded plugins => 阅读全文
posted @ 2026-01-10 10:21 刘宏缔的架构森林 阅读(35) 评论(0) 推荐(0)
摘要: 一,下载和安装 说明:编译安装openssl的原因是: 编译安装 PHP 7.4.33 报错: make: *** [Makefile:749: ext/openssl/openssl.lo] Error 1 openssl下载 wget https://github.com/openssl/ope 阅读全文
posted @ 2026-01-10 10:20 刘宏缔的架构森林 阅读(41) 评论(0) 推荐(0)
摘要: 一,报错信息: # yum config-manager --set-enabled crb # yum repolist repo id repo name appstream CentOS Stream 9 - AppStream baseos CentOS Stream 9 - BaseOS 阅读全文
posted @ 2026-01-09 23:20 刘宏缔的架构森林 阅读(39) 评论(0) 推荐(0)
摘要: 一,命令行: # groupadd www # useradd -r -g www -s /sbin/nologin www -r:创建一个系统用户。 -g www:将用户添加到www组。 -s /sbin/nologin:禁止用户登录。 使用 -r 参数创建的账号会自动分配一个‌系统范围内的用户I 阅读全文
posted @ 2026-01-09 14:03 刘宏缔的架构森林 阅读(91) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2026-01-09 10:37 刘宏缔的架构森林 阅读(59) 评论(0) 推荐(0)
摘要: 一,配置sshd_config ClientAliveInterval 30 ClientAliveCountMax 5 含义: 让sshd服务每间隔30秒向客户端发送keepalive报文以保持连接,直到连续5次没有收到keepalive回应,才断开与客户端的连接。其实为这几行配置在原文件里都有, 阅读全文
posted @ 2026-01-08 15:38 刘宏缔的架构森林 阅读(42) 评论(0) 推荐(0)
摘要: 一,ssh连接中报错: 报错信息: [SSH] ERROR: kex_exchange_identification: read: Connection reset by peer 不能连接, 远程登录到控制台: journalctl -xeu sshd.service 查看日志 发现是因为安装了o 阅读全文
posted @ 2026-01-08 14:29 刘宏缔的架构森林 阅读(46) 评论(0) 推荐(0)
摘要: 解决: # apt install tumbler # apt install tumbler-plugins-extra 阅读全文
posted @ 2026-01-07 11:55 刘宏缔的架构森林 阅读(13) 评论(0) 推荐(0)
摘要: 一,启动: $ uwsgi --ini uwsgi.ini 也可以增加vhost参数,允许nginx连接同一端口而访问不同的路径和入口程序: 例如: $ uwsgi --ini uwsgi.ini --vhost nginx的server配置: server { listen 80; server_ 阅读全文
posted @ 2026-01-05 21:49 刘宏缔的架构森林 阅读(27) 评论(0) 推荐(0)
摘要: 一,创建app.py 代码: from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'Hi! It works!<br/>您好,flask frame' if __name__=='__ma 阅读全文
posted @ 2026-01-05 21:34 刘宏缔的架构森林 阅读(14) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 186 下一页