Installation and Startup of Elasticsearch under UBUNTU

1. Installation 1. Add ppa source sudo add-apt-repository ppa:openjdk-r/ppa 2. Upgrade system apt-get source sudo apt-get update 3. Install jdk8 Elasticsearch was developed in practical java, so JVM is required to run, so we need to install jdk sudo apt-get install oracle-java8-installer 4. Check jdk Execute the follow ...

Posted by KenGR on Thu, 09 Jul 2020 08:06:18 -0700

Method for requesting multiple files or data that are not interdependent at the same time by $.ajax

Believe you are facing a failureWhen requirejs, seajs, webpack, and other projects follow the commonjs specification, you want to use jQuery's ajax to request multiple files that are not interdependent (for example, JSON files for some map data):country.json, country-i18n.json,provinces.json, provinces-i18n.json, etc.) or data (consisting o ...

Posted by steveDD on Wed, 08 Jul 2020 09:33:20 -0700

LOJ6002 [Network Flow Question 24-3] Drop Small Path Coverage Bipartite Drop Large Matching

Everyone is strong enough to share their support. Topic: _Given a directed graph G=(V,E).Set P to be a set of G's simple paths with disjoint vertices.If each vertex in V happens to be on a path of P, P is said to be a path coverage of G.A path in P can start from any vertex of V and have an arbitrary length, especially 0.The minimum path cov ...

Posted by BadgerC82 on Tue, 07 Jul 2020 08:21:15 -0700

LOJ6002 [Network Flow Question 24-3] Drop Small Path Coverage Bipartite Drop Large Matching

Everyone is strong enough to share their support. Topic: _Given a directed graph G=(V,E).Set P to be a set of G's simple paths with disjoint vertices.If each vertex in V happens to be on a path of P, P is said to be a path coverage of G.A path in P can start from any vertex of V and have an arbitrary length, especially 0.The minimum path cov ...

Posted by cmw on Tue, 07 Jul 2020 08:20:28 -0700

LOJ6002 [Network Flow Question 24-3] Drop Small Path Coverage Bipartite Drop Large Matching

Everyone is strong enough to share their support. Topic: _Given a directed graph G=(V,E).Set P to be a set of G's simple paths with disjoint vertices.If each vertex in V happens to be on a path of P, P is said to be a path coverage of G.A path in P can start from any vertex of V and have an arbitrary length, especially 0.The minimum path cov ...

Posted by Cless on Tue, 07 Jul 2020 08:20:31 -0700

samba Shared Storage Service

Samba is a free software that implements the SMB protocol on Linux and UNIX systems and consists of server and client programs.SMB (Server Messages Block) is a communication protocol for sharing files and printers on a local area network. It provides file and printer sharing services between different computers in th ...

Posted by rlalande on Mon, 06 Jul 2020 09:15:32 -0700

An algorithm for searching all paths between two points based on a graph's contiguity list implementation

The algorithm is implemented in C++. Why write this algorithm? Because it is so hard to find only the implementation of the adjacency matrix on the network, I have made an implementation of the adjacency chain table myself, which can increase the speed. This is achieved by using one of three stacks to traverse all vertices, the second stack t ...

Posted by onicsoft on Thu, 02 Jul 2020 08:19:55 -0700

02 Ceph cluster planning and deployment of mimic

Reference connection:< https://docs.ceph.com/docs/master/ 2.1 cluster planning At least three Centos7 system virtual machines are used to deploy Ceph cluster. Hardware configuration: 2C4G. In addition, each machine should be equipped with at least three hard disks (5g for each disk) HOST IP Service Mark cephmanager01 public network:1 ...

Posted by BenInBlack on Tue, 30 Jun 2020 00:50:02 -0700

Building K8S cluster of EMQ X MQTT server from scratch

EMQ X Team provides Helm chart for users to deploy EMQ X on kubernetes cluster with one click MQTT server This is the most recommended method of deploying EMQ X MQTT server on kubernetes or k3s cluster by EMQ X Team. This paper will use the method of handwritten yaml file to deploy a K8S cluster of EMQ X MQTT server from scratch, and analyze t ...

Posted by chacha102 on Mon, 29 Jun 2020 22:46:35 -0700

Getting started with RocketMQ to ground transaction message & sequential message

Next: RocketMQ entry to earth (1) novice can also understand the principle and actual combat! 1, Origin of transaction message 1. Case study Quoting official shopping cases: At the same time, you need to add 100 points to the downstream account to ensure that 100 yuan will be deducted from the system. Account system and points system are two in ...

Posted by cyberdwarf on Mon, 29 Jun 2020 19:54:31 -0700