摘要: 方法一:源码包安装 官网下载 centos下载最新版10.9 https://nodejs.org/dist/v10.9.0/node-v10.9.0-linux-x64.tar.xz mkdir /opt/software/ && cd /opt/software/ tar -xvf node-v 阅读全文
posted @ 2024-03-27 14:49 山东张铭恩 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 场景 cent os7服务器使用nvm安装的node之后,只要使用npm或者node,均会出现以下问题 [root@172 ~]# npm -v node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node) nod 阅读全文
posted @ 2024-03-12 16:20 山东张铭恩 阅读(1) 评论(0) 推荐(0) 编辑
摘要: import osimport paramikoimport timedef download_file_with_progress(hostname, port, username, password, remote_path, local_path): ssh = paramiko.SSHCli 阅读全文
posted @ 2023-10-11 11:20 山东张铭恩 阅读(60) 评论(0) 推荐(0) 编辑
摘要: Windows Registry Editor Version 5.00 ;WARNING, this file will remove Google Chrome registry entries ;from your Windows Registry. Consider backing up y 阅读全文
posted @ 2023-10-08 10:12 山东张铭恩 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1 本地下载 并上传到服务器 https://www.python.org/downloads/source/ 2 mkdir -p /usr/local/python3 3 yum -y install gcc zlib-devel bzip2-devel openssl-devel ncurse 阅读全文
posted @ 2023-09-23 09:44 山东张铭恩 阅读(52) 评论(0) 推荐(0) 编辑
摘要: def new_client(client, server): # clients.append(client) pass# 接收到客户端消息时触发def message_received(client, server, message, msg=None): print('客户端发来的消息: ', 阅读全文
posted @ 2023-09-18 09:20 山东张铭恩 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # coding=utf-8 # 安装websocket相关库 # pip install websocket # pip install websocket-client import json import websocket from threading import Thread impor 阅读全文
posted @ 2023-09-15 09:22 山东张铭恩 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1 由于docker是国外版 国内使用会出现链接超时,这时 ping index.docker.io 查到国外加速ip //先进入/根目录[root@localhost ~]# cd ///进入etc目录[root@localhost /]# cd etc //打开hosts文件添加刚刚圈出的地址, 阅读全文
posted @ 2023-03-30 10:58 山东张铭恩 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 【链接】9Django模型层(2) https://www.cnblogs.com/yuanchenqi/articles/8963244.html https://www.cnblogs.com/yuanchenqi/articles/7617280.html 【链接】使用管理工具https:// 阅读全文
posted @ 2020-07-13 10:56 山东张铭恩 阅读(102) 评论(0) 推荐(0) 编辑
摘要: detail = response.xpath('//div[@class="meetingDetailBox"]').extract()[0] 正文匹配所有汉字summary=re.sub(r'<style.*?</style>|<.*?>|begin-->|end-->|\r|\n|\t|\xa 阅读全文
posted @ 2020-07-09 09:15 山东张铭恩 阅读(177) 评论(0) 推荐(0) 编辑