MongoDB cluster building

Article directory I. Introduction 1. Preface Two. Start 1. Preparations 1.1. Install MongoDB 1.2 create folder 2. Build a replica set 2.1. Build the replica set of configserver. 2.2. Build the replica set of share service 3. Build a fragment set I. Introduction 1. Preface The environmen ...

Posted on Sat, 18 Jan 2020 03:50:25 -0500 by haixiao

Centos7 uses Yum source to install mongodb version 4.2 database

Centos7 uses Yum source to install mongodb version 4.2 database 1. Modify the support of yum installation source for mongodb Official documents available: This month is also built with reference to official documents https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/#configure-the- ...

Posted on Fri, 17 Jan 2020 08:08:48 -0500 by p0pb0b

Share doubles life winner, python crawls funds to filter stocks

Preface: Hear you want to get rich?Then calm down and take your time. Haven't you heard the famous saying: "The poor always don't want to get rich slowly."Think about getting rich overnight, what's the middle caipiao like, but how can I be so lucky?You can't get 780,000 Cai piaos like me and steal flowers yourself. If you want to bec ...

Posted on Sat, 11 Jan 2020 12:39:42 -0500 by synapse0

Analyze the Bra sales information of Netease in Python and tell you their real Size

Today, through the analysis of crawler data, let's take a look at the acquisition and analysis of Netease's strictly selected product reviews. Statement: This is a super serious technical article, please read it in the attitude of learning and communication, thank you! !   ​ Online product review crawling Analysis web page Comment analysis ...

Posted on Mon, 06 Jan 2020 15:09:31 -0500 by DillyDong

How can Linux (CentOS 7) build mongodb stand-alone server in three minutes?

How can Linux (CentOS 7) build mongodb stand-alone server in three minutes? 1. Basic knowledge: 1.1 what is mongodb? Is the NOSQL database server. 1.2 how to build mongodb server? The minimized mongodb is one machine, which is proposed as follows: A:192.168.1.101 service port is 10001 Please refer to the detaile ...

Posted on Sun, 05 Jan 2020 22:10:16 -0500 by Tristan Wells

Crawler: Scrapy Framework docking selenium crawling Jingdong commodity data

1. Scrapy docking Selenium Scrapy grabs pages in a manner similar to the requests library, which directly mimics HTTP requests, while Scrapy cannot grab pages that are dynamically rendered by JavaScript.There are two ways to grab pages rendered by JavaScript in the previous blog.One is to analyze the Ajax request to find its corresponding inter ...

Posted on Sun, 05 Jan 2020 16:44:28 -0500 by Soumen

Using go language to realize magnetic cat like magnetic search website

Update of magnetic search website on January 2, 2020 https://www.cnblogs.com/cilisousuo/p/12099547.html 1. Page display Demonstration site            2. Program structure Name purpose server Collect torrent data worker Gather Hash information web Data display Tool tool     3. installation Before installing the environment ...

Posted on Sat, 04 Jan 2020 18:57:49 -0500 by hmemnon

SQL learning notes 04 "Mongo search for geographic location data, and geojson file processing

The purpose of the initial study of Mongo - GeoJSON is to add a search function to the front-end map service: Target type; search scope. This function communicates with Mongo through the front end, calculates in Mongo and returns the result to the front end, and displays in the web page. So first of all, we study the operatio ...

Posted on Fri, 03 Jan 2020 07:59:57 -0500 by Maq

redis attacks remote login

As for Redis, it has been announced long ago. Like MongoDB, it is also caused by default listening to the public IP port, no authentication and using root user startup. Prepare two machines 10.10.0.122 attack server, tester 10.0.0.91 start redis, open public network, no password, root start, default port Generate your own pu ...

Posted on Thu, 02 Jan 2020 11:48:07 -0500 by penguinboy

OOM problems caused by a MongoDB paging query

OOM Description: 2018-09-18 14:46:54.338 [http-nio-8099-exec-8] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [/party-data-center] threw exception [Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: GC overhead limit exceeded] with root cause java.lang.Ou ...

Posted on Mon, 30 Dec 2019 10:10:17 -0500 by SpaceLincoln