CentOS7 installation configuration mongodb3.2

1. Download Dependent Packages yum -y install wget 2. Create a file directory mkdir -p /app/install mkdir–p /app/data/mongodb mkdir–p /app/log/mongodb 3. Download mongodb cd /app/install wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.16.tgz tar zxvf mongodb-linux-x86_64-3.2.16 ...

Posted by Collin on Mon, 20 Jul 2020 18:21:42 +0200

An example of ASM disk not found in DBCA Library

Environmental Information red hat linux64  gi 11.2.0.4  oracle 11.2.0.4 Problem Phenomena After installing gi software and oralce database software, the database is built through the dbca user interface. It is found that the database can be built normally on node1, not on node2. The dbca library building process errors on node2. Figur ...

Posted by scottrad on Sun, 05 Jul 2020 17:42:16 +0200

From 0 to 1, hand in hand to teach you how to get to etcd

By kaliarch Link: https://juejin.im/post/5e02fb... Background: Recently, there are some puzzles about the function of etcd in k8s application. If we study it alone, we can better understand some characteristics of k8s. 1, Overview 1.1 introduction to etcd Etcd is an open source project launched by CoreOS team in June 2013. Its goal is to bu ...

Posted by alco19357 on Mon, 29 Jun 2020 12:25:04 +0200

Ad Concurrency Test

File descriptionab is a useful stress test tool that comes with apache. When Apache is installed, ab can be found under binDownload Link Linux/Mac: 1,yum -y install httpd-tools View information: ab-V 2,http://httpd.apache.org/download.cgi#apache24 Windows: http://www.apachehaus.com/cgi-bin/download.plx Unzip after downloading and a ...

Posted by Sangre on Mon, 29 Jun 2020 01:52:59 +0200

Document operation related

Initial knowledge of file operation Using python code to write a very low software to operate files File path: Path Open mode: read, write, append, read write, write read Encoding mode: utf-8, gbk, gb2313 '' Trilogy1. Open file2. Perform corresponding operations on the file handle3. Close file''' Use the open() functi ...

Posted by catchy on Sun, 28 Jun 2020 05:05:53 +0200

cron of Go daily

brief introduction cron A library for managing timing tasks, using Go to achieve the effect of crontab command in Linux. We introduced a similar Go library before—— gron . gron code is small, which is better for learning. But its function is relatively simple, and it is no longer maintained. If there is a need for timed tasks, cron ...

Posted by vchris on Sat, 27 Jun 2020 09:10:13 +0200

Network programming - TCP/UDP Socket

catalog Article catalog catalog Socket API under Linux Create Socket Bind Socket Request Socket connection Monitor Socket Accept request Close connection Sending and receiving of data Send send function recv receive function sendto send function recvfrom receive function TCP Socket example UDP ...

Posted by navarre on Fri, 26 Jun 2020 08:26:19 +0200

Android Binder-framework->native(transact->onTransact)

Previous Binder mRemote's Past and Present PowerManger.isScreenOnThe calling process for () has already been called BinderProxy.transact(); /frameworks/base/core/java/android/os/Binder.java ------> Binder.java->BinderProxy public boolean transact(int code, Parcel data, Parcel reply, int flags) throws Remote ...

Posted by Ajita on Thu, 18 Jun 2020 03:26:45 +0200

xtrabackup for MySQL database backup

Mysqldump is a logical backup method. Its biggest defect is that the speed of backup and recovery is slow. For a database less than 50G, this speed is acceptable. But if the database is very large, it is not suitable to use mysqldump backup again. At this time, you need a kind of easy-to-use and efficient tool. Xtrabackup is one of them, known ...

Posted by motofzr1000 on Tue, 16 Jun 2020 10:20:51 +0200

Attachment 023.Kubernetes_v1.18.3 high availability deployment architecture II

Attachment 024.Kubernetes_v1.18.3 high availability deployment architecture II Introduction to kubeadm kubeadm overview Refer to attachment 003.Kubeadm deployment Kubernetes. kubeadm function Refer to attachment 003.Kubeadm deployment Kubernetes. Description of the scheme Kubernetes version 1.18.3 is deployed by kubeadm; etcd adopts mixed mo ...

Posted by neroag on Tue, 16 Jun 2020 08:29:35 +0200