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
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
使用alist 的api接口,上传文件到云盘
摘要:# alist 的api post /api/auth/login 获取token 请求参数 | 名称 | 位置 | 类型 | 必选 | 说明 | | | | | | | | Password | query | string | 是 | 密码 | | Username | query | stri
阅读全文
安装alist
摘要:curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install 下载 Alist latest ... ########################################################################
阅读全文
windows如何查看已经连接的wifi的密码
摘要:在搜索框中搜索【控制面板】并打开 点击【网络和Internet】 点击【网络和共享中心】 点击目前所连接的WIFI. 点击【无线属性】 在新弹出的窗口中选择【安全】- 勾选【显示字符】即可看到无线网络密码
阅读全文
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
阅读全文
python 获取系统的信息
摘要:import platform def TestPlatform( ): print (" Operation System ") # 获取Python版本 print platform.python_version() # 获取操作系统可执行程序的结构,,(’32bit’, ‘WindowsPE’
阅读全文
python设置环境变量在代码中
摘要:以Linux平台为例: >>> import sys >>> sys.path ''' ['', # 当前目录 '/usr/local/python3/lib/python37.zip', # python标准库目录 '/usr/local/python3/lib/python3.7', '/usr
阅读全文