Deployment of java projects

Open source component deployment jdk1.8.0_141 and above tomcat 7.0.45 and above below 9 nginx 1.12.1 mongoDb 3.4.6 mysql 5.6.37 elasticsearch 5.4.2 I. Installation of Software jdk1.8.0_141 1.jdk compression package put in / work to decompress tar-zxvf jdk-8u141-linux-x64.tar.gz 2. Setting environment variables Vim/etc/prof ...

Posted by coolcat on Fri, 10 May 2019 03:48:38 -0700

MongoDB Update Document

The commands in this article are all real-time under the mongo shell. In real web projects, the corresponding implementations of these commands are encapsulated, so there is no need to be scared. Put on the official orthodox documents first English document The links below are all from the Chinese community. There are many ways for ...

Posted by blawson7 on Thu, 09 May 2019 01:27:39 -0700

Laravel installs jenssegers/laravel-mongodb extensions and pits encountered

mongoDB was used in the project, so you went to the largest gay dating website and found the most stars jenssegers/laravel-mongodb Package Installation 1. Based on README, find the package version corresponding to the local laravel2. Introduce using composer requir ing in development environment 3. Configure config/app.php /* ...

Posted by RedMaster on Wed, 08 May 2019 23:36:39 -0700

Summary of redis use (redis client use) NoSQL

Summary of redis use (1) (redis client use) NoSQLNoSQLFrom Baidu Encyclopedia NoSQL, refers generally to non-relational databases.With the rise of Internet web2.0 websites, traditional relational databases have been unable to cope with web2.0 websites, especially Web 2.0 pure dynamic websites of super-large-scale and highly concurrent SNS type, ...

Posted by aaronxbond on Wed, 08 May 2019 23:12:38 -0700

Building High Availability mongodb Cluster (IV) - Fragmentation

According to the previous section Build a High Availability mongodb Cluster (3) - Deep Copy Set Two problems remain unsolved after the construction: Every data above the node is a full copy of the database. Will the pressure from the node be too high? Can the data expand automatically when the pressure is too high to support the machine? In t ...

Posted by jheitz on Thu, 18 Apr 2019 02:39:35 -0700

Some aggregate query methods in Python MongoDB

MongoDB's aggregate query grammar has always made it difficult for me to get started very well. If it wasn't for project needs, I would seldom use it. But after using more, I would like it more and more. Especially after I came into contact with some aggregate query methods, I found that MongoDB has really improved a lot of efficiency in busine ...

Posted by Xager on Sun, 14 Apr 2019 19:18:31 -0700

Special operations (and or queries, fuzzy queries, range queries, data sorting, etc.) when connecting to MongoDB under the play framework

Existing class information sheets: package models; import play.modules.mongo.MongoEntity; import play.modules.mongo.MongoModel; /** * Created by adinlead on 17/03/04. */ @MongoEntity("class_msg") public class ClassMsg extends MongoModel { public Integer class; //Class number public Integer number; //Student ID public Strin ...

Posted by melvincr on Sun, 14 Apr 2019 15:18:32 -0700

Xiaobai Full Stack Development I

Xiaobai Full Stack Development I brief introduction From a beginner's point of view (vue, Koa and Express) Starting from 0, build a single page front-end project that provides data through RESTful API and consists of vue. I hope I can help you, like me, who are all white stacks. (I have read many articles about how to build the whole stack, som ...

Posted by garfield213 on Sat, 13 Apr 2019 10:57:31 -0700

Method of Heroku Connecting MongoDB in Cloud

Previously, we have simply deployed the web application under development on Heroku. Now our application will use the MongoDB database. How can we deploy a MongoDB connection in the cloud? Further, our ultimate goal is to connect different databases in production and development environments. This article will describe the whole process. R ...

Posted by skylert on Fri, 12 Apr 2019 18:45:31 -0700

MongoDB Distributed File Storage System

Summary For BSON document objects in MongoDB's storage base unit, field values can be of binary type. Based on this feature, we can store files directly in MongoDB, but there is a limitation. Because a single BSON object in MongoDB cannot be larger than 16MB, we need GridFS if we need to store larger files. Small File Storage System and Gr ...

Posted by adaminms on Fri, 12 Apr 2019 03:03:32 -0700