会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chenzechao
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
6
7
8
9
10
11
12
13
14
···
40
下一页
2022年7月25日
shell 匹配IP
摘要: egrep '(2[0-4][0-9]|25[0-5]|1[0-9][0-9]|[1-9]?[0-9])(\.(2[0-4][0-9]|25[0-5]|1[0-9][0-9]|[1-9]?[0-9])){3}$' result_dw1_diff
阅读全文
posted @ 2022-07-25 15:52 chenzechao
阅读(190)
评论(0)
推荐(0)
2022年7月23日
trino / presto 列转行 取JSON
摘要: select id ,json_extract_scalar(json_item,'$.user_id') as user_id ,json_extract_scalar(json_item,'$.url') as user_id from ( select A.id ,concat('{',rep
阅读全文
posted @ 2022-07-23 20:11 chenzechao
阅读(1458)
评论(0)
推荐(0)
2022年7月1日
docker 安装 mysql
摘要: docker run -p 3307:3306 --name mysql8.0 -e MYSQL_ROOT_PASSWORD=root -d mysql:8.0
阅读全文
posted @ 2022-07-01 14:45 chenzechao
阅读(27)
评论(0)
推荐(0)
2022年6月21日
docker安装
摘要: # 新部署方案 # https://developer.aliyun.com/mirror/docker-ce curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun sudo curl -L "https://githu
阅读全文
posted @ 2022-06-21 18:09 chenzechao
阅读(63)
评论(0)
推荐(0)
2022年5月29日
mysqldump常用参数
摘要: -t / --no-create-info # 不带有create table & drop table -c / –complete-insert # 使用完整的insert语句(包含列名称) --skip-extended-insert # 每行记录都是一条insert语句 -R / --rou
阅读全文
posted @ 2022-05-29 00:42 chenzechao
阅读(141)
评论(0)
推荐(0)
2022年4月14日
mysql 5.6 解析 json
该文被密码保护。
阅读全文
posted @ 2022-04-14 15:55 chenzechao
阅读(2)
评论(0)
推荐(0)
2022年4月7日
安装smb服务
摘要: cat >> /etc/samba/smb.conf <<END [share] comment = share path = /data/share writable = yes END useradd share smbpasswd -a share service smb restart se
阅读全文
posted @ 2022-04-07 15:33 chenzechao
阅读(86)
评论(0)
推荐(0)
2022年3月23日
提取SQL中使用到的表
摘要: awk '{print tolower($0)}' tmpa|grep -E "from|join" |awk -F'from ' '{print $2}'|awk '{print $1}'|sort -u awk '{print tolower($0)}' tmpa|grep -E "from|j
阅读全文
posted @ 2022-03-23 09:24 chenzechao
阅读(260)
评论(0)
推荐(0)
2022年2月26日
easyconnect for docker
摘要: # easyconnect for docker docker run --device /dev/net/tun --cap-add NET_ADMIN -ti -e PASSWORD=123 -v $HOME/.ecdata:/root -p 192.168.1.8:5901:5901 -p 1
阅读全文
posted @ 2022-02-26 10:47 chenzechao
阅读(312)
评论(0)
推荐(0)
2022年2月17日
Linux 安装 mysql 5.7
摘要: # 下载并安装yum源 wget http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm yum localinstall mysql57-community-release-el7-7.noarch.rpm -y #
阅读全文
posted @ 2022-02-17 14:25 chenzechao
阅读(49)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
40
下一页
公告