会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
c_G-17
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
24
下一页
2020年10月28日
kafka 加密通信,python-kafka 访问加密服务器
摘要: 1、证书准备 1 #!/bin/bash 2 3 PASSWORD=pwd123 4 ADDR=kafka-single 5 ITEM_NAME=localhost 6 CAROOT_NAME=CARoot 7 8 #Step 0: 创建保存目录 9 mkdir -p /usr/ca/{root,s
阅读全文
posted @ 2020-10-28 10:51 G1733
阅读(1939)
评论(0)
推荐(0)
2020年9月24日
centos7 编译安装python3.8.5
摘要: 1.安装相应的编译工具 在root用户下(不要用普通用户,麻烦),全部复制粘贴过去,一次性安装即可. yum -y groupinstall "Development tools" yum -y install zlib-devel bzip2-devel openssl-devel ncurses
阅读全文
posted @ 2020-09-24 16:46 G1733
阅读(2445)
评论(0)
推荐(0)
2020年8月25日
libcurl简单使用
摘要: 1.发送请求获取数据 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include <curl/curl.h> 5 6 #define LOGINSTATEURL "URL" 7 #define REFERER
阅读全文
posted @ 2020-08-25 16:37 G1733
阅读(572)
评论(0)
推荐(0)
2020年8月8日
lvm拓展
摘要: 0.查看可用的物理卷 fdisk -l # lvmdiskscan 1.创建物理卷pv pvcreate /dev/sdb 2.拓展VG卷组 vgextend vg_name /dev/sdb 3.拓展lv vgdisplay 查看vg还剩多少剩余空间 # lvcreate -l +100%FREE
阅读全文
posted @ 2020-08-08 19:16 G1733
阅读(173)
评论(0)
推荐(0)
2020年8月2日
文件时间进度扫描控制,可回溯,空闲扫描,系统时间调整不影响
摘要: 1.文件扫描获取 1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 import os 4 import time 5 import glob 6 import logging 7 from datetime import datetime 8
阅读全文
posted @ 2020-08-02 03:34 G1733
阅读(333)
评论(0)
推荐(0)
2020年7月31日
Raid 管理
摘要: 一、MegaCli命令介绍 MegaCli是一款管理维护硬件RAID软件,可以用来查看raid信息等 MegaCli 的Media Error Count: 0 Other Error Count: 0 Medai Error Count 表示磁盘可能错误,可能是磁盘有坏道,这个值不为0值得注意,数
阅读全文
posted @ 2020-07-31 11:26 G1733
阅读(282)
评论(0)
推荐(0)
2020年7月27日
curl 工具使用
摘要: 发送POST请求,json 数据来自于文件 SIS3.0.50.0 /home/fantom/apps/vmp-hotspot # curl -H "Content-Type: application/json" -X POST -d @/data/xxx/task.json 127.0.0.1:6
阅读全文
posted @ 2020-07-27 20:04 G1733
阅读(186)
评论(0)
推荐(0)
docker 入门
摘要: Docker 底层是一个联合文件系统 (UnionFS) bootfs(boot file system)主要包含 bootloader 和 kernel ,bootloader 主要是用来引导加载 kernel,linux刚启动时会加载bootfs文件系统, 在docker镜像的最底层就是boot
阅读全文
posted @ 2020-07-27 00:03 G1733
阅读(168)
评论(0)
推荐(0)
2020年7月23日
从零搭建docker环境
摘要: 1.下载centos7镜像:网易云 http://mirrors.163.com/centos/7/os/x86_64/images/boot.iso 2.VMware安装镜像: 设置安装源 三、docker安装,红框中为命令
阅读全文
posted @ 2020-07-23 23:37 G1733
阅读(175)
评论(0)
推荐(0)
2020年7月8日
pyavroc编译
摘要: 编译pyavroc 1 #!/bin/bash 2 avro_dir=$1 3 4 # Copyright 2015 Byhiras (Europe) Limited 5 # 6 # Licensed under the Apache License, Version 2.0 (the "Licen
阅读全文
posted @ 2020-07-08 19:45 G1733
阅读(169)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
24
下一页
公告