随笔:120 文章:0 评论:7 阅读: 35156

05 2023 档案

 
linux 安装二进制mysql
摘要:https://www.mysql.com/ https://dev.mysql.com/downloads/ 社区版本 https://downloads.mysql.com/archives/community/ 下载linux-generic product version 5.7.20 op 阅读全文
posted @ 2023-05-05 17:07 lzjasd 阅读(59) 评论(0) 推荐(0) 编辑
os lvm分区挂载
摘要:os lvm分区挂载 ``` 创建pv fdisk -l Disk /dev/sdc: 107.4 GB, 107374182400 bytes, 209715200 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logica 阅读全文
posted @ 2023-05-05 14:20 lzjasd 阅读(23) 评论(0) 推荐(0) 编辑
centos os初始设置
摘要:echo "192.168.14.141 mysql1" >> /etc/hosts echo "export LANG=en_US" >> ~/.bash_profile 资源限制参数 cat >> /etc/security/limits.conf <<EOF * soft nproc 6553 阅读全文
posted @ 2023-05-05 13:56 lzjasd 阅读(21) 评论(0) 推荐(0) 编辑
alist上传大文件分片
摘要:import requests from urllib.parse import quote from requests_toolbelt import MultipartEncoder import os import math url = 'http://127.0.0.1:5244/api/a 阅读全文
posted @ 2023-05-03 12:50 lzjasd 阅读(1052) 评论(0) 推荐(0) 编辑
使用alist 的api接口,上传文件到云盘
摘要:# alist 的api post /api/auth/login 获取token 请求参数 | 名称 | 位置 | 类型 | 必选 | 说明 | | | | | | | | Password | query | string | 是 | 密码 | | Username | query | stri 阅读全文
posted @ 2023-05-03 00:55 lzjasd 阅读(3874) 评论(1) 推荐(0) 编辑
安装alist
摘要:curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install 下载 Alist latest ... ######################################################################## 阅读全文
posted @ 2023-05-02 23:27 lzjasd 阅读(482) 评论(0) 推荐(0) 编辑
windows如何查看已经连接的wifi的密码
摘要:在搜索框中搜索【控制面板】并打开 点击【网络和Internet】 点击【网络和共享中心】 点击目前所连接的WIFI. 点击【无线属性】 在新弹出的窗口中选择【安全】- 勾选【显示字符】即可看到无线网络密码 阅读全文
posted @ 2023-05-02 20:12 lzjasd 阅读(491) 评论(0) 推荐(0) 编辑
python获取命令返回的结果
摘要:# #!/usr/bin/env python # -*- coding: utf-8 -*- import subprocess import os def adb_shell(cmd): exit_code = os.system(cmd) return exit_code>>8 def adb 阅读全文
posted @ 2023-05-02 19:56 lzjasd 阅读(412) 评论(0) 推荐(0) 编辑
python 获取系统的信息
摘要:import platform def TestPlatform( ): print (" Operation System ") # 获取Python版本 print platform.python_version() # 获取操作系统可执行程序的结构,,(’32bit’, ‘WindowsPE’ 阅读全文
posted @ 2023-05-02 19:46 lzjasd 阅读(134) 评论(0) 推荐(0) 编辑
python设置环境变量在代码中
摘要:以Linux平台为例: >>> import sys >>> sys.path ''' ['', # 当前目录 '/usr/local/python3/lib/python37.zip', # python标准库目录 '/usr/local/python3/lib/python3.7', '/usr 阅读全文
posted @ 2023-05-02 18:51 lzjasd 阅读(103) 评论(0) 推荐(0) 编辑

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