随笔分类 -  系统|运维

摘要:minio 集群部署 #准备minio 节点 172.24.119.49 172.24.119.41 172.24.119.50 172.24.119.48 #分别创建目录 172.24.119.49 /data/minio8 172.24.119.41 /data/minio5 172.24.11 阅读全文
posted @ 2021-03-02 09:58 lixinliang 阅读(842) 评论(0) 推荐(0) 编辑
摘要:nginx 跨域 # 问题: Access to XMLHttpRequest at 'http://huodong.rr.com/common/tencentIm/getImTalkTencentRecordList?fromAccount=&toAccount=&each=10&endTime= 阅读全文
posted @ 2021-01-27 15:54 lixinliang 阅读(939) 评论(0) 推荐(0) 编辑
摘要:安装步骤 #下载包 wget http://downloads.sourceforge.net/infozip/unzip60.tar.gz #解压 tar xzvf unzip60.tar.gz #安装 cp ./unix/Makefile . make clean make generic #验 阅读全文
posted @ 2021-01-19 11:35 lixinliang 阅读(526) 评论(0) 推荐(0) 编辑
摘要:解决jenkins 启动后报错 jenkins 报错: yum install fontconfig 阅读全文
posted @ 2021-01-15 18:40 lixinliang 阅读(124) 评论(0) 推荐(0) 编辑
摘要:docsify 部署流程 node 环境安装 #下载node 源码包 cd /usr/local/; wget https://nodejs.org/dist/v8.17.0/node-v8.17.0-linux-x64.tar.xz #解压源码包 tar -xf node-v8.17.0-linu 阅读全文
posted @ 2020-12-04 10:33 lixinliang 阅读(548) 评论(0) 推荐(0) 编辑
摘要:环境: 192.168.71.201 192.168.71.202 192.168.71.203 集群规划: 192.168.71.201:7000 192.168.71.202:7000 192.168.71.203:7000 192.168.71.202:7001 192.168.71.203: 阅读全文
posted @ 2020-11-13 17:03 lixinliang 阅读(176) 评论(0) 推荐(0) 编辑
摘要:HP 服务器查询: hpacucli ctrl all show config hpacucli ctrl slot=1 show config detail 其他型号: MegaCli -LdPdInfo -aALL|more MegaCli -PDList -aAll| grep -Ei "(E 阅读全文
posted @ 2020-08-19 10:49 lixinliang 阅读(642) 评论(0) 推荐(0) 编辑
摘要:需求: 1> 在一个图片 url 后面添加: ?resize=axb (a b 任意数字) 返回缩略图尺寸,url 保持不变 2> 在一个图片 url 后面添加: ?stype=xxlarge 返回以下产品规定的 xxlarge 尺寸大小 3> 在一个图片 url 中 类型_图片.jpg 返回产品规 阅读全文
posted @ 2020-07-13 15:18 lixinliang 阅读(669) 评论(0) 推荐(0) 编辑
摘要:需求: java 服务: 10.16.0.186:7000 (udp 端口) 配置的转发机器: 外网ip(1.2.3.4) 内网ip(10.16.0.95) udp端口: 27001 iptables 开启转发功能: echo 1 >/proc/sys/net/ipv4/ip_forward sys 阅读全文
posted @ 2020-07-01 10:37 lixinliang 阅读(3369) 评论(0) 推荐(0) 编辑
摘要:mc event add newminio/xy-production arn:minio:sqs::1:elasticsearch mc event list newminio/xy-production 参考连接: https://docs.min.io/cn/minio-bucket-noti 阅读全文
posted @ 2020-06-28 18:25 lixinliang 阅读(873) 评论(0) 推荐(0) 编辑
摘要:1. nginx 版本要高,1.12 以上,且有 --with-stream 模块,测试地址: 10.16.0.95 (公网地址 121.251.110.41 ) 2. 物理机 nginx 必须将以下配置添加在nginx.conf中,http 模块外 stream { upstream udpser 阅读全文
posted @ 2020-04-21 14:34 lixinliang 阅读(1464) 评论(0) 推荐(0) 编辑
摘要:git clone https://glab.tagtic.cn/xxx/tgbus-comment.git cd tgbus-comment/ 查看git 提交的记录 git log 根据git 提交的记录切换到当时的分支 git checkout baba71e4c449957d08a96de2 阅读全文
posted @ 2020-04-15 12:08 lixinliang 阅读(1637) 评论(0) 推荐(0) 编辑
摘要:nginx 日志格式: 10.11.240.68 - - [10/Apr/2020:10:59:06 +0800] "POST /admin/hotkeywords HTTP/1.0" 200 2506 "https://tgbus-ums-xy.tgbus.com/app/search-word" 阅读全文
posted @ 2020-04-10 11:33 lixinliang 阅读(2796) 评论(0) 推荐(0) 编辑
摘要:git clone http:xxxxxxxxxxxx git branch new_master git checkout new_master git add . git commit -m "new-graphql" git push origin new_master git push 阅读全文
posted @ 2020-04-09 11:47 lixinliang 阅读(4882) 评论(0) 推荐(0) 编辑
摘要:1. nginx 404 页面跳转 没有在nginx家目录里面的指定一个固定 url ;没有的地址也就是 404 ,让404 指定地址跳转; error_page 404 = https://www.g.com.cn/$1; 2. nginx refer 增加 http://name.renren. 阅读全文
posted @ 2020-04-04 10:44 lixinliang 阅读(582) 评论(0) 推荐(0) 编辑
摘要:一、部署jenkins省略 二、部署flutter 1.环境: Flutter (Channel stable, v1.12.13+hotfix.5, locale zh-Hans-CN) 下载地址:https://storage.googleapis.com/flutter_infra/relea 阅读全文
posted @ 2020-04-03 12:00 lixinliang 阅读(4384) 评论(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 阅读(792) 评论(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 阅读(1091) 评论(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 阅读(1307) 评论(0) 推荐(0) 编辑
摘要:背景: 服务器上两块网卡分别连接交换机,做成bond 可以增加冗余性,还能提高性能。 截图显示: 分别是em1 em2 以及做完之后的bond0 配置过程: $ /usr/sbin/modprobe bonding $ cat ifcfg-em1DEVICE=em1ONBOOT=yesBOOTPRO 阅读全文
posted @ 2019-08-15 14:25 lixinliang 阅读(246) 评论(0) 推荐(0) 编辑