LNMP enterprise case -- Introduction and deployment of OpenResty

1.OpenResty Openresty is a scalable Web platform based on NGINX. It was initiated by Chinese people Zhang Yichun and provides many high-quality third-party modules. OpenResty is a powerful web application server. Web developers can use Lua scripting language to mobilize various C and Lua modules suppo ...

Posted by daucoin on Sun, 08 Mar 2020 05:29:55 -0700

3 first hibernate program (IDEA+Maven+Hibernate)

1.3 first hibernate program (IDEA+Maven+Hibernate) 1.3.1 create project 1. Create a Maven project first .2. Improve the project We need to create the successful project directory structure manually. Create the java and resources folders in the main directory.       &em ...

Posted by cinos11 on Sat, 07 Mar 2020 23:33:30 -0800

SpringBoot entry notes

Article directory Spring boot and microservices SpringBoot Micro service Spring boot environment construction Official document generation idea integration Introduction to the initial environment Spring boot principle Automatic configuration YML file grammar Property mapping between configuratio ...

Posted by karikamiya on Sat, 07 Mar 2020 20:02:37 -0800

Spring boot integrates the addition, deletion, modification and query operations of Mybatis on a single table

I. objectives Spring boot integrates the addition, deletion, modification and query operations of Mybatis on a single table 2, Development tools and project environment IDE: IntelliJ IDEA 2019.3 SQL: Navicat for MySQL 3, Basic environment configuration Create database: demodb Create data table and insert data DROP TABLE IF EXISTS t_empl ...

Posted by wstran on Sat, 07 Mar 2020 08:05:38 -0800

Cloud computing - MySql advanced: configure multiple instances of MySql

Case 1: configure MySQL multiple instances 1.1 problem On the host 192.168.4.56, configure the first MySQL instance Instance name mysql1, port 3307 Database directory / data3307, PID file mysql1.pid Error log mysql1.err On the host 192.168.4.56, configure the second MySQL instance Instance name mys ...

Posted by pootergeist on Sat, 07 Mar 2020 07:04:48 -0800

Rsyslog return of the king

Rsyslog Everyone in the company is following the trend of learning es's log scheme. I've been struggling from three years ago to now. Filebeat + kafka + logstash+ es, at that time, I also wanted to build another storm. Later, I found that just a little log volume and a hammer kafka were used. Many of the tools that had been used were damaged by ...

Posted by lucie on Thu, 05 Mar 2020 23:02:10 -0800

Compiling and installing Mysql 8.0.19 under linux

1 Preface There are many ways to install MySQL under linux, including the way of warehouse (yum,apt,zypper), the way of package (rpm,deb), the way of docker, the way of decompressing from the compressed package, the way of compiling and installing from the source code. Here is the last one, the way of compiling and installing from the source co ...

Posted by ThisIsMyName on Thu, 05 Mar 2020 19:55:04 -0800

Mybatis basic knowledge learning

This article mainly introduces mybatis and its simple use, which is very simple. The relevant content is not in-depth, nor in-depth study of its principle. The focus is on how to use it. There may be some small problems in some places. Please forgive me a lot. Thank you~ 1, About Mybatis MyBatis is a ...

Posted by glcarlstrom on Wed, 04 Mar 2020 22:36:05 -0800

A preliminary study of reptiles: a review of crawling for Jingdong commodities

Original pickle seven, reprint please indicate the source. Methods used: Mysql database, python language, regular expression re With the comment url obtained (url method to get JD comments) , now we can crawl the user nickname and url. As a beginner, I use the regular expression to match the url data.1, ...

Posted by projectshifter on Wed, 04 Mar 2020 22:26:33 -0800

[MySQL]: Use DDL to operate databases, tables

1. DDL Operation Database Keyword should be capitalized. For easy memory, this article is in lower case. DDL(DATA Definition Language): A data definition language used to define database objects. 1. Create a database create database db1; #Create a database named mydb create database if not exists ...

Posted by Anders_Scales on Wed, 04 Mar 2020 18:50:55 -0800