Installation and simple configuration of Elasticsearch
install
Download Address
https://www.elastic.co/cn/dow...
install
After downloading the installation package, unzip the file:
tar -zxvf elasticsearch-7.4.2-linux-x86_64.tar.gz
File directory structure
Catalog
configuration file
describe
bin
Script files, including starting elasticsearch, installing plug-ins, and so on
config
elasticsea ...
Posted by PurpleMonkey on Fri, 08 Nov 2019 23:18:56 -0800
If someone asks you about Java's reflection again, throw this article to him
In Java, not all types of information can be identified at the compilation stage. Some types of information need to be determined at runtime. This mechanism is called RTTI. In English, it is called Run-Time Type Identification. Runtime type recognition. Does it taste like "knowing and doing as one"?Runtime type recognition is mainly i ...
Posted by nystateofmind27 on Fri, 08 Nov 2019 15:51:56 -0800
Network communication socket: network communication addressing, protocol cluster and socket type finding service information
11.2.1.2 find service information
In addition to the IP address, each socket address includes an integer port number. Many applications can run on the same host and listen to an IP address, but only one socket can use the port of that address at a time. By combining IP address, protocol and port number, a communication ...
Posted by mayanktalwar1988 on Fri, 08 Nov 2019 13:18:31 -0800
RAID 5 for Centos 7 Details and Configuration
1. What is RAID:
The full name of the disk array is "Redundant Arrays of Inexpensive Disks, RAID". The English version means: fault-tolerant, inexpensive disk array.
RAID can integrate multiple smaller disks into a larger disk device using a single technology (software or hardware); this larger disk function is more than storage; i ...
Posted by kedarnath on Thu, 07 Nov 2019 13:03:26 -0800
Compose Arrangement nginx+php
What should I do when the previous manual operation of running nginx+php in multiple containers was cumbersome?Docker Compose follows
Delete the containers and networks you created in the previous section first. If you do not, there will be conflicts when you complete this chapter
docker stop nginx
docker stop fpm
docker network rm lnmp
Take ...
Posted by Najjar on Thu, 07 Nov 2019 11:21:04 -0800
Performance Analysis of Linux
Production environment servers slow down, diagnostic thinking, and performance evaluation
Entire machine:
Code
public class JavaDemo2 {
public static void main(String[] args) {
while (true){
System.out.println(new java.util.Random().nextInt(77778888));
}
}
}
top command view
[root@192 ~]# top
top - 11:28:5 ...
Posted by Loriq on Thu, 07 Nov 2019 06:25:18 -0800
Basic format of yaml file for k8s and underlying load balancing implementation principle
This article is only a summary of your own, if you need detailed information, please go around.
Note: yaml files require strict indentation. By default, two spaces are indented at different levels.
1. Create a Deployment resource object using httpd mirroring
[root@master ~]# vim lvjianzhao.yaml #Write yaml file
kind: Deployment ...
Posted by rastem on Thu, 07 Nov 2019 04:17:01 -0800
Network part -- socket realizes C-S data interaction
1. Input man socket into the terminal to check the contents of socket
2. Create socket on the server side
/*
First parameter domain (network type): pf? INET IPv4 / PF? Inet6 IPv6
The second parameter type (socket type): sock'stream connection oriented -- TCP protocol / sock'dgram connectionless -- UDP protocol
The th ...
Posted by jmelnick on Wed, 06 Nov 2019 14:34:21 -0800
Try Facebook library, can bitcoin get on this train
White paper highlights
Before starting to play the library test network, draw the key points in the library white paper, such as how to generate coins, how to trade, etc.
Building a simple, borderless currency and financial infrastructure for billions of people
The effect is, for example, if you want to go to the United States and need to order ...
Posted by greenday on Wed, 06 Nov 2019 03:09:25 -0800
Thinking and feeling of the first reading of Kingfisher network image cache Library
The OC version of SDWebimage that I read before is mature due to the development trend of Swift. It's also time to practice (think of Andy Lau's practice), think, read and write while flying in the world.
At first, I plan to read it from the beginning, but the Kingfisher version is limited to upgrading with the Swift version, so if you want to ...
Posted by gli on Tue, 05 Nov 2019 19:55:52 -0800