摘要: { "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "experimental": false, "features": { "buildkit": true } } 阅读全文
posted @ 2022-09-16 14:22 温泉镇谢步东 阅读(95) 评论(0) 推荐(0)
摘要: 从别的地方查到的,做记录。https://blog.csdn.net/weixin_43252521/article/details/124409151 cd /etc/yum.repos.d/ sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d 阅读全文
posted @ 2022-09-15 15:51 温泉镇谢步东 阅读(85) 评论(0) 推荐(0)
摘要: 步骤差不多, 1.首先下载>> https://www.jetbrains.com.cn/pycharm/download/download-thanks.html?platform=linux 2.解压到一个文件夹, 我在work目录下建了一个applictions 文件夹 存放 3.创建软链接到 阅读全文
posted @ 2022-08-22 16:50 温泉镇谢步东 阅读(65) 评论(0) 推荐(0)
摘要: 最近在win11 python3.6.8 下安装 jupyter 报错 FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\xxx\\AppData\\Local\\Temp\\pipxxxx' 我仔细看了看报错, 阅读全文
posted @ 2022-03-03 09:45 温泉镇谢步东 阅读(1153) 评论(0) 推荐(0)
摘要: 代码如下 from DBUtils.PooledDB import PooledDB 报错如下: Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module 阅读全文
posted @ 2020-10-10 19:15 温泉镇谢步东 阅读(11313) 评论(1) 推荐(1)
摘要: The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://sup 阅读全文
posted @ 2020-10-09 11:56 温泉镇谢步东 阅读(405) 评论(0) 推荐(0)
摘要: 有些配置文件需要导出, json格式非常便利, 但是可读性太差. json 格式字符串往往是一行, 并且汉字会转义. 所以写了这个工具. 目标有两个: - 转成json 格式, 支持被json.loads 加载 - 提高可读性, 增加换行和缩进 代码: 1 """ 2 python3.6+ 3 di 阅读全文
posted @ 2020-04-14 16:39 温泉镇谢步东 阅读(1031) 评论(0) 推荐(0)
摘要: 配hadoop 集群, 改了网络配置, DNS失效了. 判断DNS 失效而不是其他网络问题的方式就是ping, 直接ping 域名, 比如是baidu.com, ping不通; 然后直接ping IP, 可以ping 通. # ping baidu.com ping: baidu.com: 未知的名 阅读全文
posted @ 2019-11-12 11:19 温泉镇谢步东 阅读(6178) 评论(0) 推荐(0)
摘要: 1. 安装虚拟机, 安装centos, 配置用户, 配置sudo 2. 在一台虚拟机里安装hadoop + spark, 关闭防火墙 > 查看防火墙状态, 并关闭 # centos7 # 查看防火墙状态 firewall-cmd --state # 关闭防火墙 systemctl stop fire 阅读全文
posted @ 2019-11-11 11:14 温泉镇谢步东 阅读(268) 评论(0) 推荐(0)
摘要: 我们口号是只记简单常用的. diff 工具我常用的有两个 1. vimdiff - 不需要安装 - 命令简单, 操作方便 - 基于vim 2. jetbrain 旗下IDE 自带的工具 - 我电脑上百分百会装pycharm 和intelliJ (phpstorm 和webstorm 有时也有) - 阅读全文
posted @ 2019-11-09 15:25 温泉镇谢步东 阅读(2766) 评论(0) 推荐(0)