上一页 1 2 3 4 5 6 7 8 9 10 ··· 32 下一页
摘要: 1. 创建数据目录 # 数据存储目录 mkdir -p /mnt/c/aipc/minio # 日志存储目录 cd /mnt/c/aipc/minio mkdir -p logs conf data chmod -R 777 /mnt/c/aipc/minio 2. 安装 wget https:// 阅读全文
posted @ 2024-11-08 18:58 王竹笙 阅读(659) 评论(0) 推荐(0)
摘要: 1. mysql安装 vim /etc/apt/sources.list 追加一下内容 deb https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb-src https://mirrors.a 阅读全文
posted @ 2024-11-08 18:58 王竹笙 阅读(90) 评论(0) 推荐(0)
摘要: 配置 vim /etc/systemd/system/uwsgi.service [Unit] Description=uWSGI server After=syslog.target [Service] #用户名 User=root #项目目录 WorkingDirectory=/app/aipc 阅读全文
posted @ 2024-10-31 14:55 王竹笙 阅读(58) 评论(0) 推荐(0)
摘要: vmware可以ping通主机,但是主机ping不通虚拟机地址 控制面板——网络连接——网络适配器 VMware Network Adapter VMnet1 VMware Network Adapter VMnet8 如果没有这两个虚拟网卡,虚拟机的网络会出现问题 # 解决办法-恢复虚拟网卡默认设 阅读全文
posted @ 2024-10-21 17:34 王竹笙 阅读(372) 评论(0) 推荐(0)
摘要: 问题描述 在执行 wsl --install 安装Windows子系统Linux WSL (Windows Subsystem for Linux) 时报错: 无法从“https://raw.githubusercontent.com/microsoft/WSL/master/distributio 阅读全文
posted @ 2024-09-29 16:28 王竹笙 阅读(1179) 评论(0) 推荐(0)
摘要: wsl安装 在搜索栏搜 powershell,管理员身份打开 按下win + X,打开终端管理员 wsl --install dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /n 阅读全文
posted @ 2024-09-29 16:05 王竹笙 阅读(626) 评论(0) 推荐(0)
摘要: opentelemetry简介 opentelemetry是什么 opentelemetry是一套由CNCF主导的云原生可观测性的标准协议,全称:OpenTelemetry Protocol,简称OTLP。 opentelemetry产生的背景 可观测性一个很重要的领域 Trace 有两个业界标杆: 阅读全文
posted @ 2024-09-11 10:26 王竹笙 阅读(239) 评论(0) 推荐(0)
摘要: #串行执行 import time def consumer(res): '''任务1:接收数据,处理数据''' pass def producer(): '''任务2:生产数据''' res=[] for i in range(10000000): res.append(i) return res 阅读全文
posted @ 2024-01-15 11:05 王竹笙 阅读(19) 评论(0) 推荐(0)
摘要: from sqlalchemy import create_engine,Column,String,Integer from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionm 阅读全文
posted @ 2023-10-07 16:50 王竹笙 阅读(550) 评论(0) 推荐(0)
摘要: 框架要兼容版本包范围,这极为重要很容易忽略的问题。无形的BUG会由此而生。 阅读全文
posted @ 2023-09-12 18:20 王竹笙 阅读(33) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 32 下一页