• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

水底的小鱼鱼

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 2 3 4 5 6

2020年2月22日

kvm管理工具Webvirtmgr容器(docker方式安装)

摘要: #docker install sudo yum install -y yum-utils device-mapper-persistent-data lvm2 sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-c 阅读全文

posted @ 2020-02-22 17:24 水底的小鱼鱼 阅读(1557) 评论(6) 推荐(1)

2020年2月8日

网卡

摘要: #!/bin/bashkvm_check_ip(){cat /data/kvm/test/ip.txt |while read linedo if [ `cat /etc/libvirt/qemu/$line.xml|grep "mac address"|wc -l` -gt 1 ];then ec 阅读全文

posted @ 2020-02-08 13:07 水底的小鱼鱼 阅读(89) 评论(0) 推荐(0)

2020年2月7日

bond

摘要: 读取文件2块网卡自动做bond #!/bin/bash em1=`cat /root/bond.txt |awk -F ':' '{print $2}'|sed -n '1p'` em2=`cat /root/bond.txt |awk -F ':' '{print $2}'|sed -n '2p' 阅读全文

posted @ 2020-02-07 10:02 水底的小鱼鱼 阅读(323) 评论(0) 推荐(0)

2019年10月19日

kvm 安装

摘要: 1)检查cpu是否支持虚拟化[root@kevin ~] # grep vmx /proc/cpuinfo如果有vmx信息输出,就说明支持VT;如果没有任何的输出,说明你的cpu不支持,将无法使用KVM虚拟机。 2)确保BIOS里开启虚拟化功能,即查看是否加载KVM模块[root@kevin ~] 阅读全文

posted @ 2019-10-19 10:10 水底的小鱼鱼 阅读(186) 评论(0) 推荐(0)

2019年10月1日

cobbler 自动安装

摘要: https://blog.csdn.net/qq_38773184/article/details/86508997 阅读全文

posted @ 2019-10-01 11:00 水底的小鱼鱼 阅读(160) 评论(0) 推荐(0)

2018年8月7日

python 2安装pip

摘要: 安装python-pip工具 先安装setup-tools 安装pip https://xxgblog.com/2017/06/23/jetty-tomcat-nginx-proxy-config/ 阅读全文

posted @ 2018-08-07 11:45 水底的小鱼鱼 阅读(16930) 评论(0) 推荐(0)

2018年8月4日

python文件内容修改1

摘要: #!/usr/bin/env python # -*- coding: UTF-8 -*- def alter(file,old_str,new_str): file_data = "" with open(file, "r", ) as f: for line in f: if old_str in line: ... 阅读全文

posted @ 2018-08-04 16:41 水底的小鱼鱼 阅读(154) 评论(0) 推荐(0)

python文件内容修改

摘要: #!/usr/bin/env python # -*- coding: UTF-8 -*- def alter(file,old_str,new_str): file_data = "" with open(file, "r", ) as f: for line in f: if old_str in line: ... 阅读全文

posted @ 2018-08-04 16:40 水底的小鱼鱼 阅读(170) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3