
Linux
文章平均质量分 50
2048bytes
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Centos7.5下源码编译安装gcc-8.2.0
Centos7.5yum安装的默认gcc版本为4.8.5,如果需要使用gcc的最新特性,则需要源码安装gcc最新版。编译过程中解决不少报错,最终有了本文的实测成功记录。yum 安装依赖包yum install -y epel-releaseyum install -y gcc gcc-c++ gcc-gnat libgcc libgcc.i686 glibc-devel bison fl...原创 2018-12-02 21:34:59 · 1729 阅读 · 0 评论 -
kvm虚拟化平台学习(一)CentOS7.5下WebVirtMgr部署
1.安装依赖包yum install -y epel-releaseyum clean all && yum makecacheyum install -y git python-pip libvirt-python libxml2-python python-websockify supervisor nginx gcc python-devel2.配置pip豆瓣源v...原创 2018-12-17 08:37:33 · 805 阅读 · 2 评论 -
kvm虚拟化平台学习(二)CentOS7.5下KVM Server环境搭建
1.检查宿主OS是否支持虚拟化grep -E "vmx | svm" /proc/cpuinfo2. 安装依赖包yum install -y qemu-kvm libvirt virt-install bridge-utils3. 验证安装结果lsmod | grep kvm4. 配置服务开机自启systemctl enable libvirtdsystemctl start...原创 2018-12-17 08:43:55 · 667 阅读 · 1 评论 -
kvm虚拟化平台学习(三)Webvirtmgr关联KVM宿主
1. kvm server添加webvirtmgr用户useradd webvirtmgrpasswd webvirtmgrgroupadd libvirtusermod -aG libvirt webvirtmgr2. webvirtmgr server配置ssh免密认证su - nginx -s /bin/bashtouch ~/.ssh/config && ec...原创 2018-12-17 09:07:12 · 528 阅读 · 0 评论 -
查询Linux系统下CPU及内存信息脚本
创建脚本存放路径mkdir -p /data/scripts编辑shell脚本vim /data/scripts/cpu_mem_info.sh#! /bin/bash# Display the CPU and Memory information of the current machine.# Edited on Dec 25, 2018phy_cpu_total=`cat ...原创 2018-12-26 10:15:53 · 616 阅读 · 0 评论