LNMP deployment instance and HTTPS service implementation

LNMP deployment instance and HTTPS service implementation What is LNMP: Linux + nginx + MySQL + (PHP FPM, PHP MySQL) The web service architecture of Nginx+Mysql+Php on the Linux operating system. MySQL in CentOS 6, Mariadb in CentOS 7   What's the function: it provides web services and can parse applications of PHP classes; Next, I will dep ...

Posted by jason102178 on Sat, 07 Dec 2019 21:27:47 -0800

CentOS 7.5 installs mysql5.7.24 binary package deployment (maintained + master-slave replication)

I. environmental preparation: Operating system: CentOS Linux release 7.5.1804 (Core) MySQL version: mysql-5.7.24-linux-glibc2.12-x86_.tar.gzMain warehouse: 172.16.8.247Slave Library: 172.16.8.249Host name:172.16.8.247 qas-zabbix-node01172.16.8.249 qas-zabbix-node02172.16.8.248 vip 2. mysql5.7 installation and master-slave replication configur ...

Posted by Xurion on Sat, 07 Dec 2019 21:09:55 -0800

How Mybatis works

Objectives of this paper: Using the pure Mybatis framework to obtain data; Clarify the working process of Mybatis. Create project and run First, create maven project, and the process will not be repeated. The dependence is as follows: <dependencies> <dependency> <groupId>org.mybatis</groupId> <artifa ...

Posted by samsolomonraj on Sat, 07 Dec 2019 18:48:51 -0800

Configuration and common problems of jeecg code generator

Take mysql for example: diver_name=com.mysql.jdbc.Driver url=jdbc:mysql://192.168.*.*:3306/car?useUnicode=true&characterEncoding=UTF-8&useSSL=false username=root password=dp@ssord database_name=car jeecg_config.properties #code_generate_project_path project_path=D:\\SourceProject\\car #bussi_package[User defined] bussi ...

Posted by invinate on Sat, 07 Dec 2019 18:16:37 -0800

Automatic generation of golang struct from mysql table structure

a lib for golang , generate mysql table schema to golang struct Automatic generation of golang struct from mysql table structure github address https://github.com/gohouse/converter install Download the executable directly: Download address golang source package: go get github.com/gohouse/converter Sample table structure CREATE TABLE `prefix ...

Posted by scast on Sat, 07 Dec 2019 13:30:25 -0800

Analysis of Mybatis plug-in

Preface MyBatis provides a powerful extension function, that is, the plugins function of MyBatis. MyBatis allows you to intercept and call at a point during the execution of mapped statements. After interception, you can add some customized functions to existing methods, such as common page splitting functions. When you try to modify or rewrit ...

Posted by mayanktalwar1988 on Sat, 07 Dec 2019 10:25:58 -0800

Enterprise spring boot tutorial spring boot enable declarative transaction

springboot is very simple to start a transaction, only one annotation is needed @Transactional Just fine. Because in springboot, events have been enabled for jpa, jdbc and mybatis by default. When they are introduced, things will be enabled by default. Of course, if you need to use other orm, such as beatlsql, you need to configure the relevant ...

Posted by jasonman1 on Sat, 07 Dec 2019 04:24:59 -0800

Docker builds Java Web + Mysql running environment

Precondition An Ubuntu machine with Docker installed. If you don't know how to install Docker, Please poke here.. I. pull the basic image of ubuntu and mysql 1. Get mysql image docker pull mysql:latest 2. Get ubuntu image docker pull ubuntu 2. Check whether the image is pulled to root@gancy:/# docker images REPOSITORY ...

Posted by luked23 on Fri, 06 Dec 2019 19:47:39 -0800

The first micro service application (Eureka) released by docker under centos7

1. Package under windows Microservice applications are packaged by maven, mvn clean package is executed in pom.xml of the project, or Maven package is directly packaged by idea or eclipse The above operation will generate the file microservice-discovery-eureka-0.0.1-SNAPSHOT.jar package in the target directory of the project 2. Copy microservic ...

Posted by ik on Fri, 06 Dec 2019 11:26:21 -0800

CentOS MySQL create database - encoding settings

Create database mysqladmin -h '192.168.2.233' -u root -p create namc; View newly created database encoding mysql> SHOW VARIABLES LIKE 'character%' -> ; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_s ...

Posted by disconne on Fri, 06 Dec 2019 10:59:26 -0800