上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页
摘要: 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 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 一、MegaCli命令介绍 MegaCli是一款管理维护硬件RAID软件,可以用来查看raid信息等 MegaCli 的Media Error Count: 0 Other Error Count: 0 Medai Error Count 表示磁盘可能错误,可能是磁盘有坏道,这个值不为0值得注意,数 阅读全文
posted @ 2020-07-31 11:26 G1733 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 发送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 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Docker 底层是一个联合文件系统 (UnionFS) bootfs(boot file system)主要包含 bootloader 和 kernel ,bootloader 主要是用来引导加载 kernel,linux刚启动时会加载bootfs文件系统, 在docker镜像的最底层就是boot 阅读全文
posted @ 2020-07-27 00:03 G1733 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1.下载centos7镜像:网易云 http://mirrors.163.com/centos/7/os/x86_64/images/boot.iso 2.VMware安装镜像: 设置安装源 三、docker安装,红框中为命令 阅读全文
posted @ 2020-07-23 23:37 G1733 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 编译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 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 安装:根据自己需要 pip install IPython==5.10.0 -i http://mirrors.xx.org/pypi/web/simple/ --trusted-host mirrors.xx.org pip install setuptools==45.0.0 -i http:/ 阅读全文
posted @ 2020-07-02 21:57 G1733 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 1.直接命令:命令执行成功返回 0 不存在返回 125 内部错误返回 5,总之只要不是 0 就失败,then 中的代码不会执行 1 if command1 2 then 3 do somenthing 4 elif command2 5 then 6 do again 7 fi 2.test 命令, 阅读全文
posted @ 2020-06-23 00:13 G1733 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://blog.csdn.net/liuxingen/article/details/72568808 gevent的调度流程解析:https://www.cnblogs.com/xybaby/p/6370799.html 阅读全文
posted @ 2020-06-22 14:25 G1733 阅读(185) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页