2025年10月24日
摘要: 一、ubuntu25.10可直接安装mysql,此时无法用root密码进入mysql,可使用sudo进入; sudo apt updatesudo apt install mysql-serversudo mysql [sudo: authenticate] Password: .... Your 阅读全文
posted @ 2025-10-24 16:14 ldx-wsj 阅读(6) 评论(0) 推荐(0)
  2025年10月22日
摘要: # Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources sudo gedit /etc/apt/sources.list.d/*.list 阅读全文
posted @ 2025-10-22 21:50 ldx-wsj 阅读(34) 评论(0) 推荐(0)
  2025年9月8日
摘要: REGEX( 文本 ; 表达式 [ ; [ 替换] [ ; 标记|次数 ] ] ) 「文本」: 要应用正则表达式的文本或对单元格的引用。 「表达式」: 双引号" "内 为正则表达式内容,用()标明捕获组 。 「替换」: 可选。替换文本以及对捕获组的引用。如果没有匹配项, 则「文本」将原样返回。 双引 阅读全文
posted @ 2025-09-08 11:02 ldx-wsj 阅读(22) 评论(0) 推荐(0)
  2025年5月19日
摘要: Windows:将硬件时间作为本地时间,那么BIOS时间与当地时间一致 Ubuntu : 默认将硬件时间视为协调世界时(UTC),然后根据系统设置的市区偏移来显示当地时间。 之前使用hwlock方法已无法解决时间不同步问题 hwlock不再使用的原因:是Ubuntu现在使用systemd的功能来执行 阅读全文
posted @ 2025-05-19 16:57 ldx-wsj 阅读(67) 评论(0) 推荐(0)
  2025年1月2日
摘要: 直接按官网指导下载安装。 一、mysql安装 进入https://www.mysql.com/downloads/ 选择MySQL Community (GPL) Downloads » 找到MySQL APT Repository下载 (mysql-apt-config_0.8.33-1_all. 阅读全文
posted @ 2025-01-02 17:23 ldx-wsj 阅读(271) 评论(0) 推荐(0)
  2024年4月12日
摘要: 一、首先让项目跑起来;安装Gunicorn和 Nginx。见Nginx + Gunicorn 部署 Django 项目(old)的第一部分和相关安装的内容。 二、设置Gunicorn运行参数并运行。在项目录下建立参数文件gunicorn_c4es.py(自己随便起一个) gunicorn_c4es. 阅读全文
posted @ 2024-04-12 11:19 ldx-wsj 阅读(130) 评论(0) 推荐(0)
  2024年4月7日
摘要: django环境需求文件(requirements file): 生成需求文件: pip freeze > requirements.txt 在另一个环境中相关依赖: pip install -r requirements.txt 阅读全文
posted @ 2024-04-07 09:24 ldx-wsj 阅读(26) 评论(0) 推荐(0)
  2024年3月21日
摘要: 在 env环境中: pip install DrissionPageERROR: Could not install packages due to an OSError: Could not find a suitable TLS CA certificate bundle, invalid pa 阅读全文
posted @ 2024-03-21 10:46 ldx-wsj 阅读(360) 评论(0) 推荐(0)
  2024年3月8日
摘要: 近期 使用 ubuntu软件更新后,重启出现错误后 进入BusyBox <initramfs>状态,提示 requires a manual fsck 问题分析: 文件系统检测失败或硬盘错误 解决办法: <initramfs> fsck /dev/sda2 <initramfs> exit 输入后 阅读全文
posted @ 2024-03-08 10:31 ldx-wsj 阅读(56) 评论(0) 推荐(0)
  2023年11月9日
摘要: ubuntu23.10 python3.11 虚拟环境安装mysqlclient: pip install mysqlclient 出现以下错误 (XXX-env) wangXXX:/XFS_Store/XXX$ pip install mysqlclient -i https://pypi.tun 阅读全文
posted @ 2023-11-09 16:26 ldx-wsj 阅读(1194) 评论(0) 推荐(0)