Spring boot multi environment separation of resources and lib for packaging

In order to facilitate local development, testing and production packaging are occasionally involved. The configuration of each environment is different. Configuration files of multiple environments need to be configured to avoid having to modify the configuration files when packaging The default configuration file of the SpringBoot project is ...

Posted by riespies on Tue, 31 Mar 2020 02:38:28 -0700

Installing mysql environment under linux

1. When installing apache, it has been checked that there is no mysql native to centos installed locally. If there is any, it must be uninstalled, or the port may be occupied 2. Prepare mysql installation package (note that when compiling, the compilation of mysql 5.5 and above is different from that of mysql 5.5 and below. 5.5 needs to be comp ...

Posted by Honor on Mon, 30 Mar 2020 11:37:11 -0700

java executing bash script

Background Soon after May 1, in order to cope with the online service outage, the leader arranged everyone to take turns on duty. But the server is deployed in the intranet. Even if you know that it is down and want to restart, you can't do without a computer. It's not feasible for us to take computers to travel on May Day. So ...

Posted by simply on Sun, 29 Mar 2020 08:07:18 -0700

Version F spring cloud 4 - Eureka registry development and client development

Source address: https://gitee.com/bingqilinpeishenme/Java-Tutorials Preface In the first three articles, the concepts related to microservices, spring cloud and service governance are introduced in large vernacular, and the development of spring cloud code starts from this article. Spring cloud project environment construction All demo s of ...

Posted by hypedupdawg on Sun, 29 Mar 2020 02:50:24 -0700

The use of BeanListHandler interface in DBUtils

Original link: http://www.yiidian.com/dbutils/dbutils-beanlisthandler.html org.apache.commons.dbutils.BeanListHandler is the implementation of the ResultSetHandler interface, and is responsible for converting all records at the ResultSet result level to the List collection of JavaBean s. This class is thread safe. 1 syntax for beanlisthandler L ...

Posted by codygoodman on Sat, 28 Mar 2020 07:55:12 -0700

Hive is finally waiting, Flink

When did Apache Spark start to support the integrated Hive feature? I believe that as long as readers have used Spark, they will say that this is a long time ago. When does Apache Flink support integration with Hive? Readers may be confused. Haven't they supported it yet, haven't they used it? Or the latest version only supports it, but the fu ...

Posted by elfeste on Fri, 27 Mar 2020 03:09:45 -0700

Changing Apache to run php in fastcgi mode under windows

Recently, we are using the Phalcon 3.3 framework, the local environment is wampserver, and php7.0 is selected. It is found in the project that using curl to request other interfaces of the project or other interfaces of the project report errors. If you switch to php5.6, you can request normally. After trying many methods, you ...

Posted by boinnk on Thu, 26 Mar 2020 09:07:55 -0700

Netflix Hystrix service monitoring of Spring Cloud series

Actuator    In addition to service fault tolerance, Hystrix also provides near real-time monitoring function, which collects the service execution results and running indicators, the number of successful requests, etc. through the activator, and then accesses / Actor / Hystrix.stream to see the real-time monitoring data.    Add dependency ...

Posted by roninblade on Wed, 25 Mar 2020 20:10:13 -0700

Talk about skywalking's metric exporter

order This paper mainly studies the metric exporter of skywalking metric-exporter.proto skywalking-6.6.0/oap-server/exporter/src/main/proto/metric-exporter.proto syntax = "proto3"; option java_multiple_files = true; option java_package = "org.apache.skywalking.oap.server.exporter.grpc"; service MetricExportService { rpc export (stream Ex ...

Posted by rockstarmike on Wed, 25 Mar 2020 09:17:40 -0700

linux Getting Started Series 18--Apache Service 2 for Web Services

In the next article, after learning about Apache's basic configuration and SELinux, continue demonstrating the virtual host capabilities and access control methods provided by Apache. If you haven't looked at the last suggestion, look at it first and come back later, last article " linux Getting Started Series 18--apache service 1 for Web ...

Posted by WarDeities on Tue, 24 Mar 2020 20:03:51 -0700