上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 214 下一页
摘要: 一,配置sshd_config ClientAliveInterval 30 ClientAliveCountMax 5 含义: 让sshd服务每间隔30秒向客户端发送keepalive报文以保持连接,直到连续5次没有收到keepalive回应,才断开与客户端的连接。其实为这几行配置在原文件里都有, 阅读全文
posted @ 2026-01-08 15:38 刘宏缔的架构森林 阅读(53) 评论(0) 推荐(0)
摘要: 一,ssh连接中报错: 报错信息: [SSH] ERROR: kex_exchange_identification: read: Connection reset by peer 不能连接, 远程登录到控制台: journalctl -xeu sshd.service 查看日志 发现是因为安装了o 阅读全文
posted @ 2026-01-08 14:29 刘宏缔的架构森林 阅读(283) 评论(0) 推荐(0)
摘要: 解决: # apt install tumbler # apt install tumbler-plugins-extra 阅读全文
posted @ 2026-01-07 11:55 刘宏缔的架构森林 阅读(26) 评论(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 刘宏缔的架构森林 阅读(64) 评论(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 刘宏缔的架构森林 阅读(28) 评论(0) 推荐(0)
摘要: 一,报错信息: 启动uwsgi时不能正常启动,日志文件中报错如下 Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: 阅读全文
posted @ 2026-01-05 21:32 刘宏缔的架构森林 阅读(155) 评论(0) 推荐(0)
摘要: 一,nginx的配置 # 如果没有Upgrade头,则$connection_upgrade为close,否则为upgrade map $http_upgrade $connection_upgrade { default upgrade; '' close; } upstream backend_ 阅读全文
posted @ 2026-01-03 22:09 刘宏缔的架构森林 阅读(40) 评论(0) 推荐(0)
摘要: 一,创建测试代码 $ mkdir deployproj $ cd deployproj/ $ python3 -m venv venv $ source venv/bin/activate $ vi app.py app.py from flask import Flask app = Flask( 阅读全文
posted @ 2026-01-03 21:41 刘宏缔的架构森林 阅读(40) 评论(0) 推荐(0)
摘要: 一,报错信息: { "error": { "root_cause": [ { "type": "security_exception", "reason": "current license is non-compliant for [inference]", "license.expired.fe 阅读全文
posted @ 2025-12-24 16:18 刘宏缔的架构森林 阅读(42) 评论(0) 推荐(0)
摘要: 一,命令: GET _inference/_all 效果如下: 阅读全文
posted @ 2025-12-24 15:58 刘宏缔的架构森林 阅读(17) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 214 下一页