mongoDBmongoDB Replica Set Actual

mongoDB Replica Set Actual Warfare background Features of a mongoDB single server: - Risk of data loss - Single server cannot be highly available Features of the mongoDB replica set: -High Availability Architecture to Prevent Data Loss - Keep multiple replicas synchronized and consistent - The mongodb replica set switches automatically when ...

Posted by Cheap Commercial on Sat, 04 Apr 2020 19:15:46 -0700

Create Maven private warehouse with Nexus

Go to http://www.sonatype.org/nexus/go/ Download nexus-2.14.5-02-bundle.tar.gz Create the nexus directory in the server and download the Nexus (upload it to the oss first and then download it in the form of wget) [root@iZm5e0c5bxd15k4yfdiirsZ opt]# mkdir nexus [root@iZm5e0c5bxd15k4yfdiirsZ opt]# ls apache-tomcat-8.0.30 jdk1.8.0_11 nexus r ...

Posted by rupertbj on Sat, 04 Apr 2020 09:42:49 -0700

kibana starts reporting an error Elasticsearch cluster did not respond w

kibana start error Elasticsearch cluster did not respond with license information This error reporting environment is an ES cluster composed of four elastic search servers. The versions are all elk7.1.0. There are many online documents for specific installation steps.Use cdh1 as the master, cdh2, cdh3, and cdh4 as the datanode nodes. After the ...

Posted by LAMP on Sat, 04 Apr 2020 02:01:12 -0700

helm deployment for kubernetes

Tags (space delimited): kubernetes series One: What is Helm 2: Helm deployment One: What is Helm Before using helm, deploying applications to kubernetes requires a cumbersome process of deployment, svc, and so on.Moreover, as many projects are microserviced, deployment and management of complex applications in containers becomes mor ...

Posted by vanderlay on Thu, 02 Apr 2020 23:47:02 -0700

Nginx access log, log cutting, static file not logging and expiration time of LNMP schema (3)

1. Nginx access log 1.1 log format [root@host ~]# vim /usr/local/nginx/conf/nginx.conf / / search for log \ ... ... log_format combined_realip '$remote_addr $http_x_forwarded_for [$time_local]' ' $host "$request_uri" $status' ' "$http_referer" "$http_user_agent"'; #Combined? Realip is the log name # The contents of the log are followed ...

Posted by balkan7 on Wed, 01 Apr 2020 22:57:44 -0700

Installation and deployment of Nginx

1: Install toolkits wget, vim, and gcc yum install -y wget yum install -y vim-enhanced yum install -y make cmake gcc gcc-c++ 2: Download nginx installation package wget http://nginx.org/download/nginx-1.6.2.tar.gz 3: Install dependency package yum install -y pcre pcre-devel yum install -y zlib zlib-devel yum i ...

Posted by phpchamps on Wed, 01 Apr 2020 10:22:31 -0700

Under Ubuntu 14.04, install redis-3.2.0 and start up

Download it on the official website Redis -3.2.0.tar.gz, put redis-3.2.0.tar.gz in the / opt directory Unzip redis-3.2.0.tar.gz xiaoyao@xiaoyao-virtual-machine:/opt$ sudo tar -zxvf redis-3.2.0.tar.gz Compile redis xiaoyao@xiaoyao-virtual-machine:/opt$ cd redis-3.2.0/ xiaoyao@xiaoyao-virtual-machine:/opt/redis-3.2.0$ sudo m ...

Posted by hoopplaya4 on Tue, 31 Mar 2020 13:28:41 -0700

Compile and install vim8 under centos7, and support python3

1. Install python3 vim7.4 and python2.7 are installed by default in CentOS 7. Now we want to install vim8 and make it support python3. First of all, you need to install python3 in the system. For specific installation steps, please refer to my previous blog: https://blog.csdn.net/geerniya/article/details/79263846 2. Compile ...

Posted by ltd on Tue, 31 Mar 2020 05:04:47 -0700

Configure expiration time for static elements

Configure static element expiration time The browser will cache static files (pictures, CSS, JS) in the computer by default when visiting the website. So the next time you visit, you don't have to download remotely. How long is the cache? The browser will have its own mechanism to clear the cache. Or it can be set on the remote ...

Posted by jamiel on Mon, 30 Mar 2020 23:46:01 -0700

Install traefik ingress in Kubernetes

#Download Configuration List wget https://github.com/containous/traefik/tree/v1.7/examples/k8s #There are three files in the link that start with traefik-and you can see their names, of which traefik-deployment.yaml is not used here # traefik-deployment.yaml is either traefik-ds.yaml or traefik-ds.yaml, which is recommended because the conf ...

Posted by mj_23 on Sun, 29 Mar 2020 09:50:42 -0700