上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页
摘要: 部署环境 $ kubectl get node NAME STATUS ROLES AGE VERSION master01 Ready master 13d v1.14.0 master02 Ready master 13d v1.14.0 master03 Ready master 13d v1 阅读全文
posted @ 2020-01-20 11:33 lixinliang 阅读(794) 评论(0) 推荐(0)
摘要: 部署 kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta4/aio/deploy/recommended.yaml # 获取 token 登陆 kubectl -n kubernete 阅读全文
posted @ 2020-01-20 11:14 lixinliang 阅读(3571) 评论(0) 推荐(0)
摘要: yum install sshpass -y sshpass -p'12345' ssh -o StrictHostKeyChecking=no root@172.18.0.59 "hostname" 阅读全文
posted @ 2019-12-13 09:42 lixinliang 阅读(387) 评论(0) 推荐(0)
摘要: #!/bin/sh ip=`cat allip` for i in $ip;do ping -c 1 $i if [ $? -eq 0 ];then num=`ssh $i "find /data/ -name py-env.tar.gz" |wc -l` if [ $num -ne 0 ];then echo $i >> yes.txt fi ... 阅读全文
posted @ 2019-10-22 12:28 lixinliang 阅读(916) 评论(0) 推荐(0)
摘要: wget http://pecl.php.net/get/redis-4.2.0.tgz tar -zxvf redis-4.2.0.tgz cd redis-4.2.0 /usr/local/php5.6/bin/phpize ./configure --with-php-config=/usr/local/php5.6/bin/php-config make make install 编辑ph 阅读全文
posted @ 2019-10-11 17:18 lixinliang 阅读(814) 评论(0) 推荐(0)
摘要: 1. 需要将 mysql 数据目录下的数据全部清空 rm -rf /data/mysql/data 2. 初始化数据库 /usr/local/mysql/bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql/data/ 3. 重新启动数据库 /etc/init.d/mysqld s 阅读全文
posted @ 2019-09-19 11:14 lixinliang 阅读(33531) 评论(0) 推荐(0)
摘要: 1、下载phpredis-develop cd /usr/local/src/redis-test wget https://codeload.github.com/phpredis/phpredis/zip/develop 1.1、如果系统未安装zip包,则安装unzip、zip解压工具 yum -y install unzip zip 2、解压phpredis-develop包 unzip d 阅读全文
posted @ 2019-09-11 18:40 lixinliang 阅读(1124) 评论(0) 推荐(0)
摘要: ### etcd 部署 wget https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gztar -zxvf etcd-v3.3.13-linux-amd64.tar.gzcd 阅读全文
posted @ 2019-09-03 10:33 lixinliang 阅读(1318) 评论(0) 推荐(0)
摘要: 下载源码包 mysql-5.7.24 boost_1_59_0.tar.gz 部署: # root @ k8s-mysql02 in ~ yum install -y cmake bison bison-devel libaio-devel gcc gcc-c++ git ncurses-devel 阅读全文
posted @ 2019-08-23 13:29 lixinliang 阅读(419) 评论(0) 推荐(0)
摘要: 背景: 服务器上两块网卡分别连接交换机,做成bond 可以增加冗余性,还能提高性能。 截图显示: 分别是em1 em2 以及做完之后的bond0 配置过程: $ /usr/sbin/modprobe bonding $ cat ifcfg-em1DEVICE=em1ONBOOT=yesBOOTPRO 阅读全文
posted @ 2019-08-15 14:25 lixinliang 阅读(259) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页