会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
行勝於言
行勝於言desc
博客园
首页
新随笔
联系
订阅
管理
2025年12月29日
Centos7:ifconfig command not found
摘要: 今天安装Centos7.5,使用的是最小化安装,各种好用的自带命令都没有,于是只能自己安装。 安装ifconfig: command not found 然后安装ifconfig:sudo yum install net-tools 但是报错:Could not resolve host: mirr
阅读全文
posted @ 2025-12-29 18:22 水木青楓
阅读(6)
评论(0)
推荐(0)
2025年12月7日
centos7 无法上网怎么办?
摘要: 查看本机的IP 方法一: ifconfig 查找 en0,inet 后面就是本机的IP 方法二: 系统设置 -> WIFI -> 详细信息,弹出的页面也有IP地址信息 parallels desktop的网络配置: centos虚拟机 -> 配置 -> 硬件 -> 网络 源:选择 : 桥接网络 WI
阅读全文
posted @ 2025-12-07 16:42 水木青楓
阅读(32)
评论(0)
推荐(0)
2025年12月1日
arm 架构 CentOS 7 安装 MySQL 5.7 版本
摘要: 原文出处:https://lxnchan.cn/centos7-mysql56.html 防删备份 arm 架构的 CentOS 7 没有官方编译的 MySQL 5.7 ,本文将使用华为云的预编译二进制文件在 arm 架构的 CentOS 7 上安装 MySQL 5.7 版本。 环境介绍 CentO
阅读全文
posted @ 2025-12-01 18:57 水木青楓
阅读(30)
评论(0)
推荐(0)
2025年11月27日
【SQL练习】找出每一科都是前30%的学生ID
摘要: 分数表 scores,字段:id, subject, score 找出每一科都是前30%的学生ID。 造数据: import pandas as pd import numpy as np import random # 设置随机种子保证结果可重现 np.random.seed(42) def ge
阅读全文
posted @ 2025-11-27 14:05 水木青楓
阅读(8)
评论(0)
推荐(0)
2025年11月19日
Kafka 如何保证精确一次性消费?
摘要: 要保证精确一次性消费(Exactly-once semantics),确实是一个需要细致考量的问题。它意味着消息一定会被处理,并且只会被处理一次,既不会丢失也不会重复。 这就要求: 对于生产者,消息不重复写入Broker 对于消费者,消息不重复处理 对于集成框架,如sparkstreaming,端到
阅读全文
posted @ 2025-11-19 15:39 水木青楓
阅读(33)
评论(0)
推荐(0)
2024年12月10日
mac 如何安装 Homebrew
摘要: 方法一:brew官网的安装脚本 执行命令: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 这个方法试过了,失败 方法二: brew 镜像安装脚本 执行
阅读全文
posted @ 2024-12-10 17:01 水木青楓
阅读(164)
评论(0)
推荐(0)
2023年8月30日
python selenium报错ValueError: Timeout value connect was <...>, but it must be an int, float or None.
摘要: 最近学习爬虫,安装selenium,很简单地执行代码,但是一直报错。 ``` import time import openpyxl from selenium import webdriver from selenium.webdriver.common.keys import Keys from
阅读全文
posted @ 2023-08-30 15:24 水木青楓
阅读(3771)
评论(0)
推荐(1)
2021年12月21日
mysql使用自定义序列实现row_number功能
摘要: 看了一些文章,终于知道该怎么在 mysql 里面实现 row_number() 排序 话不多说,show you the code: 第一步:建表: create table grades( `name` varchar(10), `subject` varchar(10), `score` int
阅读全文
posted @ 2021-12-21 17:15 水木青楓
阅读(1466)
评论(6)
推荐(2)
2021年6月22日
shell: 循环日期+1
摘要: start_date='20201201' end_date='20201221' while [ "${start_date}" -le "${end_date}" ]; do start_date=`date -d "$start_date" +%Y-%m-%d` echo ${start_da
阅读全文
posted @ 2021-06-22 14:42 水木青楓
阅读(767)
评论(0)
推荐(0)
2021年4月2日
sqoop export 报错:Got exception running Sqoop: org.kitesdk.data.DatasetNotFoundException: Descriptor location does not exist:
摘要: ERROR sqoop.Sqoop: Got exception running Sqoop: org.kitesdk.data.DatasetNotFoundException: Descriptor location does not exist: hdfs://nameservice1/use
阅读全文
posted @ 2021-04-02 16:40 水木青楓
阅读(1128)
评论(0)
推荐(0)
下一页
公告