Deploy the springboot project in idea to the remote docker container

1. Create the project in idea, as shown below 2. Configure docker maven plugin <!-- Docker maven plugin --> <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> <version>1.0.0</version> <configuration> <forceTags>true&lt ...

Posted by lou28 on Sun, 26 Jan 2020 07:00:26 -0800

SpringBoot LDAP user authentication operation

Opening word This guide will guide you through the creation of the Spring Security Application protected by LDAP module.   Apps you will create We will create a simple Web application protected by Spring Security's embedded Java LDAP server. We will load the LDAP server with a data file that contain ...

Posted by dgoosens on Sun, 26 Jan 2020 02:56:04 -0800

CentOS7 Nexus2 private server building

Brief description: In the office environment, Nexus private server is required to provide caching service for development. This blog simply records the steps of building Nexus 2. X private server in the office environment Nexus website: https://www.sonatype.com To download the OSS 2. X package: https://download.sonatype.com/ ...

Posted by garblar on Wed, 22 Jan 2020 09:36:19 -0800

Use of idea 5 -- create project 2

1. Create WEB project The community version does not have the function of creating a web project, so it can only create a maven web project. Here, the enterprise version of cracking is used. 1.1 creation steps File-New-Project In the pop-up window, select Java Enterprise - project SDK - Java EE ...

Posted by le007 on Sat, 18 Jan 2020 08:10:39 -0800

Spring cloud Alibaba 4. Using Nacos as the distributed configuration center

1, Description of Nacos distributed configuration center 1. What are the mainstream configuration centers? 1. Spring cloud config. It comes with spring cloud. It is not friendly. There is no background management. You can directly use git/svn to manage files 2. Apollo: too heavy, difficult to deploy ...

Posted by mrodrigues on Sat, 18 Jan 2020 05:31:38 -0800

Introduction to Trigger of Quartz task scheduling

Introduction to Trigger Quartz has some different trigger types, but the most used ones are SimpleTrigger and CronTrigger jobKey Indicates the ID of the job instance. When the trigger is triggered, the specified job instance will be executed statrTime Represents the trigger's schedule, the first time it ...

Posted by sajidfiaz on Thu, 16 Jan 2020 07:43:11 -0800

Using netty to build a simple http server

Article directory netty overview netty architecture model Manually rolling an http server Introducing netty into pom.xml Write netty server Operation test Summary netty overview Netty is a network programming framework based on java NIO encapsulation, which can help us develop network applicat ...

Posted by dubhcat on Mon, 13 Jan 2020 01:36:59 -0800

springmvc+spring4.2+hibernate5 Integrated Records

1, Profile There are a lot of jar packages involved. Here I choose to help me manage jars by maven <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache. ...

Posted by uglyrat on Sun, 12 Jan 2020 06:08:38 -0800

Detailed instructions for using the sensitive word tool in java

sensitive-word In normal work, as long as the user can speak freely (blog, document, forum), the sensitivity of the content should be considered. sensitive-word A high performance sensitive word tool based on DFA algorithm.Tools are implemented in java to help us solve common problems. Characteristic 6W+Lexicon with continuous optimization u ...

Posted by jbruns on Thu, 09 Jan 2020 20:34:07 -0800

K8s deploys services using Jenkins

1. Install Jenkins #Preparing the Java environment tar xvf  jdk-8u231-linux-x64.tar.gz -C /usr/local/ cd /usr/local/ ln -s jdk1.8.0_231 java cat  /etc/profile.d/java export JAVA_HOME=/usr/local/java export PATH=$PATH:$JAVA_HOME/bin source  /etc/profile.d/java java  -version yum -y install wget wget -O /etc/yum.repos.d/jenkins.repo http:// ...

Posted by wiseoleweazel on Thu, 09 Jan 2020 11:03:58 -0800