摘要: 环境部署: 运行三个节点:每个节点都执行以下操作 >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 阅读(639) 评论(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 阅读(519) 评论(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 阅读(696) 评论(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 阅读(169) 评论(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 阅读(2426) 评论(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 阅读(345) 评论(0) 推荐(0) 编辑
摘要: find . -type d -exec chmod 500 {} \; find . -type f -exec chmod 400 {} \; 阅读全文
posted @ 2019-02-26 16:32 lixinliang 阅读(524) 评论(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 阅读(655) 评论(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 阅读(338) 评论(0) 推荐(0) 编辑
摘要: #tar -xvf redis.3.2.5.tar.gz –C /usr/local/ #cd /usr/local/ #mv redis.3.2.5 redis #cd redis #make && make install #cp /usr/local/redis/redis.conf /data/redis/conf #vim /data/redis/conf/redis.c... 阅读全文
posted @ 2019-01-24 14:14 lixinliang 阅读(209) 评论(0) 推荐(0) 编辑