The following ES are based on version (V2.3.4)The default of ES1. Default automatically sends all cluster nodes of the same LAN first2. The default one index library will have 5 shards (the more shards, the better the efficiency)Because of these two defaults, the Shard pairs of the Unified Index library are distributed on different machines, and the API search has this problemSearch Type of ES1. Why do you
Elasticsearch the configuration details and detailed description are as followshttp://rockelixir.iteye.com/blog/1883373here, the Elasticsearch make the following simple configurationcluster.name: es_clusternode.name:"es1"node.master:truenode.data:truenetwork.host:192.168.81.128# network.bind_host:192.168.81.128# network.publish_host:192.168.81.128Viewing the Listening port[[emailprotected]~]# netstat -tuplnActiveInternet connections (only servers)Prot
I. Total floating time
The total floating time refers to the total time that a progress activity can be postponed without delay on the project completion date or violation of schedule constraints (starting from its earliest start date ).
Total floating time = Latest Start Time-earliest start time
= Latest completion time-earliest completion time
Float = slack = total float = path float)
Ii. Free Floating time
The free floating time refers to the time that this activity can be postponed wit
EnumSet.
EnumSet noneOf (Class elementType ):Create an empty EnumSet set whose element type is the specified enumeration type.
EnumSet of (E first, E... rest ):Create an EnumSet that contains one or more enumerations. The input enumerated values must belong to the same enumeration class.
EnumSet range (E from, E ):Create an EnumSet from THE from enumerated value to all enumerated values in the to enumerated value range.
Enum Season {SPRING, SUMMER, FALL, WINTER} public class EnumSetTest {public
ObjectiveIn the first 2 articles, we all talked about shaders, and in the second it was formally said that this shader can only be used in programmable pipelines such as OpenGL es2.x, but not in OpenGL es1.x. But we haven't been saying why, what's the difference between the two. Well, let's get this one together. Learn the rendering pipeline in OpenGL ES.BodyPipeline , the English name pipeline, believe that the use of Facebook pictures loaded library
the fourth edition of ECMAScript, but it is not necessarily. The project is very open to new ideas and has adopted many ideas, although these ideas have not been fully analyzed on the basis of this language system. As a result, many complex features have been adopted and eventually increased the complexity of the entire language. ES4 is so large and so innovative that there were doubts about whether it could to successfully and specified . More worrisome, there is no experience with the langua
Disk mounting in Linux
The company's hard disk is not enough. A new storage needs to be mounted to the current system. I won't talk about the previous steps. O M is all done. It is nothing more than a set of hardware and networks. Here I will only talk about how to mount it in Linux after it is assigned to me.
The procedure is as follows:
1. Check whether the resource has been allocated.
[Root @ localhost home] # fdisk-l
Disk/dev/sda: 64.4 GB, 64424509440 bytes, 125829120 sectorsUnits = sector
The system has the following disk space information, indicating a boot partition and an lvm:[Root @ gtlions mapper] # df-hFile System capacity in use available % mount point/Dev/mapper/vg_gtlions-lv_root2.2 T 19G 2.1 T 1%/Tmpfs 32G 0 32G 0%/dev/shm/Dev/sda1 485 M 59 M 401 M 13%/bootYou can use fdisk to view the disk. There are two disks: 16 GB sda and 2336GB sdb. Note that both/dev/sda and/dev/sdb display physical information, then/dev/mapper/vg_gtlions-lv_root and/dev/mapper/vg_gtlions-lv_swap
Disk mounting in Linux and disk mounting in Linux
The company's hard disk is not enough. A new storage needs to be mounted to the current system. I won't talk about the previous steps. O M is all done. It is nothing more than a set of hardware and networks. Here I will only talk about how to mount it in Linux after it is assigned to me.
The procedure is as follows:
1. Check whether the resource has been allocated.
[Root @ localhost home] # fdisk-l Disk/dev/sda: 64.4 GB, 64424509440 bytes, 12582
-ldisk/dev/vda:37.6 GB, 37580963840 bytesHeads, Sectors/track, 72817 cylindersUnits = Cylinders of 1008 * 516096 bytesSector size (logical/physical): bytes/512 bytesI/O size (minimum/optimal): bytes/512 bytesDisk identifier:0x0004583cDevice Boot Start End Blocks Id System/DEV/VDA1 * 3 1018 512000 LinuxPartition 1 does not end on cylinder boundary./dev/vda2 1018 62416 30944256 8e Linux LVMPartition 2 does no
smaller than the number below. (This rule is to be observed, in addition to note that this is a mirror symmetry, for the sake of convenience, I will directly take the upper left corner as an example, the following rule description is the same)Rule 2) All squares in the first column have numbers. (This rule may not always be maintained.) In the course of the game, it is possible to be destroyed, but to restore this rule as soon as possible)such as Shape 1 and shape 2. Where shape 1 is satisfied
. Update-AzureDisk-DiskName "vfldev-vfldev-0-201503091934500547"-Label "ResiZedOS"-ResizedSizeInGB 100 # Replace the DiskName with the name of the OSdisk obtained in step 1 and enter the disk size you want to resize.
Start the VM through the Azure portal.
Log on to the virtual machine and switch to the root user to view the root file system capacity of the current virtual machine.[root@resizeSDA chpaadmin]# df -hFilesystem Size Used Avail Use% Mounted on/dev/sda1 30G 1.1G 27G
. It is my hobby and my job, because I have been a system and network administrator for many years while studying computer science. I had to sort out software every week, so I established a hierarchical directory structure to store various software packages:
Code:
Drwxrwxr-x 2 netsw users 512 Aug 3 Audio/Drwxrwxr-x 2 netsw users 512 Jul 9 Benchmark/Drwxrwxr-x 12 netsw users
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.