- 博客(75)
- 资源 (2)
- 收藏
- 关注

原创 中国移动通信互联网短信网关接口协议CMPP2.0(普通文本短信、二进制数据短信)
本文用的是中国移动通信互联网短信网关接口协议CMPP2.0,参考华为smproxy.jar包并进行了一些问题的修复和封装。一、华为smproxy.jar包存在乱码问题: 1、提交短信 CMPP_Connect_REP----->AuthenticatorISMG CMPP_Submit_REP------->Msg...
2019-11-13 15:46:04
4269
4
原创 (name: rest, class: interface org.apache.dubbo.rpc.Protocol) couldn‘t be instantiated: null
java.lang.IllegalStateException: Extension instance (name: rest, class: interface org.apache.dubbo.rpc.Protocol) couldn't be instantiated: null
2023-03-18 16:00:42
1572
5
原创 get table meta failed, please check whether the table xxx exists
get table meta failed, please check whether the table xxx exists
2023-03-18 15:55:38
1317
1
原创 Postgresql publish nacos metadata failed
Postgresql publish nacos metadata failed。
2023-03-05 17:24:44
1194
原创 Spring Cloud Alibaba Dubbo Nacos 整合Postgresql
Spring Cloud Alibaba Dubbo Nacos 整合PostgresqlNacos 2.2.0支持postgresql数据库
2023-03-05 13:32:36
1174
原创 Nacos Too many files with unapproved license:
Too many files with unapproved license
2023-03-02 21:12:15
1060
原创 canal-adapter 启动报错Could not resolve placeholder ‘HOSTNAME%%.*‘
Could not resolve placeholder 'HOSTNAME%%.*' in value "history -a; history -a; printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}""
2023-01-29 14:25:00
1145
原创 Please make sure you have the correct access rightsand the repository exists.
sourceTree 无法连接GitPlease make sure you have the correct access rightsand the repository exists.
2022-10-18 11:38:24
413
原创 vue : 无法加载文件 G:\xxx\vue.ps1 && A complete log of this run can be found in问题解决
使用PowerShell,创建vue项目时,出现了以下错误导致创建失败:vue : 无法加载文件 G:\xxx\vue.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。1.PowerShell的执行政策阻止了该操作。用 Get-ExecutionPolicy 查看发现执行策略为受限状态:PS G:\xxx\> Get
2022-04-12 12:43:23
1364
原创 sysbench压测postgresql(mysql同理)
准备创建表和数据:sysbench --db-driver=pgsql --time=1 --threads=1000 --report-interval=5 --pgsql-host=192.168.1.35 --pgsql-port=5001 --pgsql-user=testpgs --pgsql-password=123456 --pgsql-db=test_db --tables=1 --table_size=1000000 oltp_read_write --db-ps-mode=disab.
2021-03-12 11:36:00
1449
转载 Docker启用TLS加密解决暴露2375端口引发的安全漏洞
转载:https://www.cnblogs.com/haoxianrui/p/14095306.html参考:https://docs.docker.com/engine/security/https
2020-12-23 13:10:17
638
原创 linux设置定时任务
1、打开定时任务文件夹[root@localhost cron]# cd /var/spool/cron[root@localhost cron]# 2、查看定时任务[root@localhost cron]# crontab -l0 19 17 12 * /emqx/test0.sh0 19 17 12 * /emqx/test1.sh0 19 17 12 * /emqx/test2.sh0 19 17 12 * /emqx/test3.sh0 19 17 12 * /emqx
2020-12-17 15:59:18
5207
原创 docker命令
一、安装docker# 1、yum 包更新到最新 yum update # 2、安装需要的软件包, yum-util 提供yum-config-manager功能,另外两个是devicemapper驱动依赖的 yum install -y yum-utils device-mapper-persistent-data lvm2# 3、 设置yum源sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/li
2020-11-13 16:37:00
326
原创 雪花算法工具类SnowFlakeUtils生成全局唯一ID
@Slf4jpublic class SnowFlakeUtils { private static SnowFlakeUtils flowIdWorker = new SnowFlakeUtils(1); private final long id; /** * 时间起始标记点,作为基准,一般取系统的最近时间 */ private final long epoch = 1605014822000L; /** * 机器标识位数 .
2020-11-10 21:29:37
2347
原创 bit7 转换String
public static String hexString7ToString(String s){ if (StringUtils.isEmpty(s)) { throw new IllegalArgumentException("this hexString must not be empty"); } byte[] dataArray = hexStr2ByteArray(s); String str = decode7bit(dataArray); return str.
2020-11-06 21:03:16
554
原创 nginx keepalived高可用集群主从模式
hostname ip 说明 proxy-01 172.0.5.108 keepalived主节点nginx主负载均衡 proxy-02 172.0.5.39 keepalived备节点nginx辅负载均衡 VIP 172.0.5.199 客户机 1、在所有节点上配置# systemctl stop firewalld //关闭防火墙# sed -i 's/^SELINUX=.*/SELINUX=disa...
2020-11-06 15:00:02
293
原创 Centos 7 安装erlang
rabbitMq 维护的版本https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/新建文件夹vi /etc/yum.repos.d/rabbitmq-erlang.repo添加内容[rabbitmq-erlang] name=rabbitmq-erlangbaseurl=https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/21/el/7gpgcheck=1gpgkey=https:.
2020-11-02 12:14:45
747
原创 Cannot find /opt/tomcat-7.0.70/bin/setclasspath.sh This file is needed to run this program
问题原因:你的系统已经配置过CATALINA_HOME解决办法:unset CATALINA_HOME.然后再重新执行 ./startup.sh
2020-08-05 18:53:21
1077
原创 Nginx 反向代理负载均衡和端口问题
http { upstream abcd { server 192.168.1.1; server 192.168.2.1; } server { listen 6666; server_name localhost; location / { proxy_set_header Host $host:3333; proxy_set_heade.
2020-07-31 17:23:53
621
原创 which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mod
vim /etc/my.cnf mysqld下面添加一行代码:sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION重启服务service mysqld restart
2020-07-30 12:06:56
1777
原创 You must reset your password using ALTER USER statement before executing this statement.
mysql> alter user user() identified by '123456';mysql>flush privileges;vim /etc/my.cnfdefault_password_lifetime=0service mysqld restart
2020-05-29 11:22:11
274
原创 Liunx 安装Nginx
1、下载所需依赖yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel2、下载安装包http://nginx.org/download/nginx-1.18.0.tar.gz3、解压安装包tar -xvf nginx-1.13.7.tar.gz4、编译cd /usr/local/src/nginx-1.18.0/./configure --prefix=/usr/local/src/ngin.
2020-05-27 19:09:31
191
SGP.22_v2.2
2020-08-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人