02 2025 档案

摘要:查看配置情况: grep -i HugePages /proc/meminfo 编辑 vi /etc/sysctl.conf 底部添加: vm.nr_hugepages = 0 应用新的配置 sysctl -p reboot 重启服务器再查看结果 阅读全文
posted @ 2025-02-10 00:02 雪化山河 阅读(2) 评论(0) 推荐(0) 编辑
摘要:对于 root 用户: /root/.ssh/authorized_keys 对于普通用户 username: /home/username/.ssh/authorized_keys 最后重启 ssh 即可 sudo systemctl restart sshd 阅读全文
posted @ 2025-02-08 22:38 雪化山河 阅读(1) 评论(0) 推荐(0) 编辑
摘要:* 执行新增的依赖 pip install -r requirements.txt * 激活虚拟环境【python -m pip install --upgrade pip 升级 pip ,记得在虚拟环境中操作】 venv\Scripts\activate * 数据表迁移-每次新增表或者修改字段操作 阅读全文
posted @ 2025-02-04 12:28 雪化山河 阅读(7) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示