上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 59 下一页

python ImportError: libGL.so.1: cannot open shared object file: No such file or directory

摘要: 前言 python 报错python ImportError: libGL.so.1: cannot open shared object file: No such file or directory 这个错误通常表示你的 Python 程序需要使用 OpenGL 库,但是该库未安装或未正确配置。 阅读全文
posted @ 2024-10-17 09:02 数据派 阅读(3211) 评论(0) 推荐(1)

shell 读取文件的每一行内容并输出

摘要: 假设读取的文件为当期目录下的 test.txt 文件,内容如下: Google Runoob Taobao 实例 1 #!/bin/bash while read line do echo $line done < test.txt 执行输出结果为: Google Runoob Taobao 实例 阅读全文
posted @ 2024-10-11 08:24 数据派 阅读(244) 评论(0) 推荐(0)

mysql 连接失败:message from server: "Host 'xx.xxx' is not allowed to connect to this MySQL server"

摘要: 前言 mysql 连接失败:message from server: "Host '192.168.xx.xxx' is not allowed to connect to this MySQL server" 解决 错误信息表明你尝试从 IP 地址 192.168.xx.xxx 连接到 MySQL 阅读全文
posted @ 2024-10-05 11:19 数据派 阅读(640) 评论(0) 推荐(0)

查看虚拟机centos 7 的 IP 地址和命令

摘要: 用于生产环境下 安装CENTOS7 太费时间, 研究阶段 放在虚拟机里面 是最好的选择: 但是安装完毕后 就出现问题 无法使用IFCONFIG ; 毕竟 内核不一样 首先我们登录操作系统 用户名root 密码 123456 然后我们输入ip查询命名 ip addr 也可以输入 ifconfig查看i 阅读全文
posted @ 2024-10-04 10:34 数据派 阅读(1044) 评论(0) 推荐(0)

Docker容器Centos不能使用systemctl命令问题

摘要: 最近使用Docker搭建Centos容器时遇到这样的问题:Centos系统的不能使用systemctl命令! 具体场景使用 systemctl 或 service 命令重启服务时。 systemctl restart snmpd.service 会报无权限的错误: Failed to get D-B 阅读全文
posted @ 2024-10-03 11:38 数据派 阅读(948) 评论(0) 推荐(0)

Elasticsearch启动、停止脚本

摘要: 构建Elasticsearch启动脚本 start_es.sh。 #!/bin/bash export ES_HOME=xxx su elastic -c "sh ${ES_HOME}/bin/elasticsearch -d -p ${ES_HOME}/pid" 参数说明: su:登录用户。 el 阅读全文
posted @ 2024-10-02 11:25 数据派 阅读(425) 评论(0) 推荐(0)

MySQL 8.0修改密码

摘要: MySQL 8.0前修改密码 在MySQL 8.0前,执行:SET PASSWORD=PASSWORD('[新密码]') 进行密码修改,在MySQL 8.0后,以上的方法使用root用户修改别的用户密码是报错的,因为MySQL 8.0后修改了修改密码的方式! mysql> use mysql; my 阅读全文
posted @ 2024-10-01 22:54 数据派 阅读(1156) 评论(0) 推荐(0)

MySQL登录时出现ERROR 1045: Access denied for user ‘root‘@‘localhost‘ (using password: YES)无法打开解决方法

摘要: Mysql在使用过程中,可能会遇到登录问题,比如常见的错误信息:“Access denied for user ‘root’@‘localhost’ (using password: YES)”。 本文将分析这个问题的可能原因,并提供一系列解决方案. 定位报错原因 出现这个Access denied 阅读全文
posted @ 2024-09-30 09:06 数据派 阅读(2316) 评论(0) 推荐(0)

mysql数据库多表查询

摘要: 单表查询 1、普通查询 (1)命令:select * from <表名>;//通匹 (2)命令:select <要查询的字段> from <表名>; 2、去重查询(distinct) 命令:select distinct <要查询的字段> from <表名> 3、排序查询(order by) 升序: 阅读全文
posted @ 2024-09-29 10:48 数据派 阅读(1633) 评论(0) 推荐(0)

vim 从底部开始查找关键字

摘要: 以前都是从头开始找,最近处理log文件很多。 在vim 中输入 :1?XXXX 1的意思是文件的第一行 ?的意思是反向查找 XXXX就是你要找的关键字 阅读全文
posted @ 2024-09-28 09:40 数据派 阅读(14) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 59 下一页