摘要: 一 更改配置文件,开启nacos配置存储在MySQL,特别注意时区参数,官方坑比的很 vim conf/application.properties spring.datasource.platform=mysql db.num=1 db.url.0=jdbc:mysql://192.168.1.1 阅读全文
posted @ 2022-01-09 15:34 dbstack 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 一 jar方式的后台运行 @echo off start javaw -jar D:/unicom_sms/projects/sms-file-download/sms-file-download-1.0.0.jar exit 二 Tomcat 后台运行 修改tomcat里面的配置 1.找到tomc 阅读全文
posted @ 2021-10-22 13:29 dbstack 阅读(1304) 评论(0) 推荐(0) 编辑
摘要: 软件包下载地址 1、elasticsearch https://mirrors.huaweicloud.com/elasticsearch/7.4.2/elasticsearch-7.4.2-linux-x86_64.tar.gz 2、kibana https://repo.huaweicloud. 阅读全文
posted @ 2021-07-12 16:10 dbstack 阅读(123) 评论(0) 推荐(0) 编辑
摘要: stream { upstream dlpt_mysql_8080_backend { # 10s内出现3次错误,该服务器将被熔断10s server 192.168.0.1:8080 max_fails=3 fail_timeout=10s; server 192.168.0.2:8080 max 阅读全文
posted @ 2021-05-24 10:08 dbstack 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 一 nginx配置 cat >yum.conf <<-"EOF" server { listen 8888; server_name 192.168.1.134; #server_info on; #server_tag GZHX_Web; root /data/yum/ ; } EOF 二 /da 阅读全文
posted @ 2021-04-22 15:28 dbstack 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 一 环境 centos7.9 memcached-1.6.9.tar.gz libevent-2.1.12-stable.tar.gz 二 安装依赖包 yum install -y cyrus-sasl cyrus-sasl-devel cyrus-sasl-lib cyrus-sasl-plain 阅读全文
posted @ 2021-04-08 16:55 dbstack 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 一 编译安装jemalloc github 地址 :https://github.com/jemalloc/jemalloc/tree/master 编译安装jemalloc yum -y install autogen autoconf tar -xf jemalloc-5.2.1.tar.gz 阅读全文
posted @ 2021-01-18 17:38 dbstack 阅读(498) 评论(0) 推荐(0) 编辑
摘要: #更换新yum地址 wget -O /etc/yum.repos.d/CentOS-Base.repo http://file.kangle.odata.cc/repo/Centos-6.repo wget -O /etc/yum.repos.d/epel.repo http://file.kang 阅读全文
posted @ 2020-12-15 10:13 dbstack 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 一 etcd 备份脚本 #!/bin/bash IP=127.0.0.1 BACKUP_DIR=/data/etcd_backup if [ -d $BACKUP_DIR ];then mkdir -p $BACKUP_DIR fi #使用 3版本的etcdctl API export ETCDCT 阅读全文
posted @ 2020-11-26 17:40 dbstack 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 一 Kong介绍 Kong是Mashape开源的高性能高可用API网关和API服务管理层。自2015年在github开源后,广泛受到关注。它基于OpenResty,进行API管理,并提供了插件实现API的AOP。Kong在Mashape 管理了超过15,000 个API,为200,000开发者提供了 阅读全文
posted @ 2020-06-17 17:00 dbstack 阅读(404) 评论(0) 推荐(0) 编辑