摘要: 一、操作原因 raid5组由12块硬盘组成,因其中一块硬盘损坏,备件库中无对应型号硬盘,所以将12块盘拆成11 块盘做raid5 二、操作流程 1、raid组信息 两块硬盘组成 raid1 (系统盘) 要卸载正在用的盘符: umount /dev/sdb1 2、清除raid 5 MegaCli -C 阅读全文
posted @ 2019-07-16 18:14 lixinliang 阅读(2622) 评论(0) 推荐(0) 编辑
摘要: 环境部署: 运行三个节点:每个节点都执行以下操作 >wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.0.2.tgz >tar xf mongodb-linux-x86_64-rhel70-4.0.2.tgz -C /root/ >mv mongodb-linux-x86_64-rhel70-4.0.2 ... 阅读全文
posted @ 2019-06-19 13:40 lixinliang 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 一、环境 系统版本: centos 6.6 ip:192.168.71.32 配置: 4核 8G 20G硬盘 使用安装包: wget https://www.cacti.net/downloads/cacti-0.8.7g.tar.gz 架构图: 二、部署 # yum -y install http 阅读全文
posted @ 2019-05-22 14:29 lixinliang 阅读(549) 评论(0) 推荐(0) 编辑
摘要: [yunwei@Y24-209 ~]$cat ls.sh #!/bin/bash ip55=`cat ip1` for i in $ip55;do ping -c 1 $i if [ $? -eq 0 ];then ssh -t $i "ls" if [ $? -eq 0 ];then echo -e "$i" >> ok.ip else ... 阅读全文
posted @ 2019-04-12 13:12 lixinliang 阅读(698) 评论(0) 推荐(0) 编辑
摘要: 一、环境: 主机1:youzhuan-bak centos 7.2 主机2:youzhuan-online centos 7.2 二、部署过程: youzhuan-bak : [root@youzhuan-bak ~]# yum install rsync -y [root@youzhuan-bak 阅读全文
posted @ 2019-03-30 16:20 lixinliang 阅读(174) 评论(0) 推荐(0) 编辑
摘要: ipmi 工具使用: 一、 ipmitool lan print ipmitool -I open lan set 1 ipsrc static 设置本地BMC地址为静态,才能设置IP ipmitool -I open lan set 1 ipaddr 10.153.11.113 设置本地BMC的IP地址 ipmitool -I open... 阅读全文
posted @ 2019-03-28 13:43 lixinliang 阅读(2484) 评论(0) 推荐(0) 编辑
摘要: cat 1.txt src='http://img2.tgbusdata.cn/v2/thumb/jpg/MkY5Myw2NTUsMzAzLDksMywxLC0xLDAscms1MCwxOTIuMTY4LjguNjc=/u/iphone.tgbus.com/UploadFiles/201806/2018062615240983.jpg' 要求 将 http://img2.tgbus... 阅读全文
posted @ 2019-03-05 14:06 lixinliang 阅读(347) 评论(0) 推荐(0) 编辑
摘要: find . -type d -exec chmod 500 {} \; find . -type f -exec chmod 400 {} \; 阅读全文
posted @ 2019-02-26 16:32 lixinliang 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 虚拟用户搭建vsftp 要求一: 只允许上传 下载 不能删除 不能更换名称 yum install pam* yum install db4* -y yum install vsftpd chkconfig vsftpd on iptables -I INPUT -s 43.243.139.212 阅读全文
posted @ 2019-01-24 14:18 lixinliang 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 安装Python3 1.环境准备 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel gcc* 2.安装步骤 [root@bogon ~]# cd /us... 阅读全文
posted @ 2019-01-24 14:16 lixinliang 阅读(344) 评论(0) 推荐(0) 编辑