logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

mongodb分片集群修改ip

目录背景修改`config server` ip修改`shard` ip路由节点参考背景因为是恢复的镜像,服务器ip全变了,所以就需要修改ip了。我分片集群构成:3个config server;1个分片复制集合(3个节点);1个路由要注意开防火墙端口哦;后面就不在赘述了。修改config server ip以standlone模式启动一个config server/roo...

#数据库#mongodb
mongodb child process failed, exited with error number 51

about to fork child process, waiting until server is ready for connections.forked process: 12233ERROR: child process failed, exited with error number 51To see additional information in this output,...

#mongodb
更改gradle缓存路径

最近用Android Studio开发程序包管理使用的gradle,默认下载的那些依赖会放在C:\Users\Administrator\.gradle这个文件夹后面会越来越大,这时候C盘比较小的就比较尴尬了;所以还是有必要换下路径。更换路径办法:配置GRADLE_USER_HOME环境变量,然后重启Android Studio即可。...

spring boot maven 多环境打包切换

####一、背景在实际开发中一般都有多套环境,比如本地开发环境、测试环境、正式环境等等。他们有可能就是数据库连接地址,帐号,密码这些配置不同,所以打包到正式服的时候就要去改文件,这就很麻烦,有的时候可能忘记改,就打包到正式服引起一些程序异常。下面就来了解一些spring boot加maven 多环境打包,解决这个问题。####二、配置pom文件<profiles&am

nuxt创建项目失败,Error: Failed to download template from registry: Failed to download https://raw.githubus

nuxt 创建项目失败 ,raw.githubusercontent.comv3.jsonError: Failed to download template from registry: Failed to download https://raw.githubusercontent.com/nuxt/starter/templates/templates/v3.json: TypeError:

文章图片
#github
nginx代理无法携带Cookie,导致session丢失引发的“惨案”

项目是前后端分离,前端用的react打包后的nginx配置如下:location /xxx{gzip off;try_files $uri /xxx/index.html;}代理到server端nginx配置如下:location /xxx/service/ {gzip off;proxy_set_header Host $http_host;proxy_set_hea.

#java
tomcat websocket WsFrameServer内存溢出

WebSocket连接上了300以后JVM就报内存溢出了,把JVM溢出的堆栈日志导了出来这是详情:648 instances of "org.apache.tomcat.websocket.server.WsFrameServer", loaded by "java.net.URLClassLoader @ 0x80f923a8" occupy 1,598,

#jvm#websocket
使用jetty在本地运行调试maven项目

pom.xml<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd

#java#maven#jetty
启动nginx报错/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot ope

在启动nginx时报错[zzq@weekend110 pcre-8.39]$ sudo /usr/local/nginx/sbin/nginx/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file

#nginx
ubuntu 22端口不通

解决方案1、确认防火墙已打开(如果没有可以先安装防火墙,下面是一些常用命令)#如果没有安装防火墙sudo apt-get install ufw#在系统启动时启用和激活防火墙sudo ufw enable#默认的 incoming 策略更改为 “deny”sudo ufw default deny#允许所有的外部IP访问本机的25/tcp (smtp)端口sudo uf...

    共 37 条
  • 1
  • 2
  • 3
  • 4
  • 请选择