01 2017 档案
摘要:1、安装rsyncyum -y install rsync.x86_64 2、同步epel至本地#http://mirrors.ustc.edu.cn/status/ 获取镜像库rsync路径mkdir -p /data/yum/epel/#将这个同步命令定时执行,可以同步epel库信息至本地/us
阅读全文
摘要:Cobbler服务器系统: CentOS 6.6 64位Cobbler版本: cobbler-2.6.11IP地址:192.168.166.136 1、安装epel库 2、安装依赖包 3、配置http 4、配置tftp和rsync 5、配置cobbler相关参数 6、配置dhcp服务器 #检查cob
阅读全文
摘要:[root@VM166136 ~]# cat copy_vmware.sh #!/bin/bash if [ $(id -u) -ne 0 ];then echo "Please use the root user to perform!!!" exit 1 fi #Modify the network card configuration and empty MAC informat...
阅读全文
摘要:1、当前session执行的命令,放置缓存中,执行exit时,把缓存信息写入~/.bash_history 2、当session直接被kill时,缓存中的历史命令不会写入~/.bash_history 3、正确清空当前用户的history的方法
阅读全文
摘要:源码路径:https://github.com/akopytov/sysbench 版本linux 6.8sysbench 0.5mysql 5.6.29 1、安装pip略 2、pip 安装bzr 3、下载sysbench 4、安装依赖,否则报错 5、安装sysbench 6、创建数据库sbtest
阅读全文
摘要:1、备份及压缩分开 2、备份后直接压缩写入磁盘 总结: 写入磁盘再进行tar压缩,压缩时间过长,系统资源占有较高,强烈推荐采用第二种方式备份。
阅读全文

浙公网安备 33010602011771号