1. Preliminary preparation:
Download centeos 7.5: https://mirrors.aliyun.com/centos-vault/7.5.1804/isos/x86_64/
Download floppy disk pass, the registration code is Baidu.
download putty, winscp
2. Operation steps:
u disk production:
Open UltraISO tool File -> Open Select your ISO file.
Startup item Select to write the hard disk image ...
Posted by AliceG on Sat, 07 May 2022 16:36:06 +0300
Earlier we talked about a distributed task scheduling framework PowerJob, which can perform task scheduling in a visual way. But sometimes we just need a lightweight task scheduling function, and it is a bit heavy for PowerJob to build a scheduling center. At this time, Quartz, the task scheduling framework officially supported by SpringBoot, c ...
Posted by dpiland on Sat, 07 May 2022 07:51:28 +0300
xml way to customize the implementation of the Ioc container
Use xml to implement a custom simple Ioc container
In the usual development process, we all use Spring for development. The Ioc container at the core of Spring helps us to create objects. This process is called inversion of control, also called Ioc.When an object is in ...
Posted by roydukkey on Sat, 07 May 2022 07:32:39 +0300
Dock installs Redis (if installed, please skip this step)
1. Pull Redis image (latest version by default)
docker pull redis
If the download is slow, it is recommended to configure alicloud image
View alicloud image: alicloud official website -- > products -- > search container image service -- > management console
Mirror accelerator ...
Posted by asuperstar103 on Fri, 06 May 2022 23:50:35 +0300
Custom persistence framework mybatis
JDBC operation database and Mybatis operation database. Why use the Mybatis framework instead of the native JDBC operation database?With these questions, let's take a look at the native JDBC data operation steps!
JDBC database operation steps
1 load drive
2 create connection
3 compiling sql statemen ...
Posted by lady1dc on Fri, 06 May 2022 23:17:22 +0300
rollback of transaction
If the acquired transaction attribute is not empty and the thrown exception is of type RuntimeException or Error, call the rollback method in the transaction manager to roll back If the transaction property is empty or the exception thrown is not RuntimeException or Error, the transaction will continue to be committed ...
Posted by (RL)Ian on Fri, 06 May 2022 07:27:05 +0300
Source click study Check
What is a Shutdown hook
Shutdown hook is a hook closed by Jvm. It is implemented by the Runtime#addShutdownHook(Thread hook) method. According to the api annotation, it can be seen that it is a series of thread objects that have been initialized but not yet executed. We can register a hook with Jvm to realize the functi ...
Posted by sprinkles on Thu, 05 May 2022 19:47:21 +0300
Interviewer Q1: can you write a simple implementation of ArrayList?
We all know that ArrayList is implemented based on array. If you are asked to implement the add(), remove(), get() methods in ArrayList of JDK source code, do you know how to implement them? In this section, instead of looking at the source code, let's think about how to simpl ...
Posted by lush_pierre on Wed, 04 May 2022 08:28:04 +0300
I remember that I should have learned the concepts of sets and related operations on sets in junior high school. Now I will review the following summary.
1. The meaning of the set: some specified objects are set together to become a set, and each object is called an element.
2. Three characteristics of the elements in the ...
Posted by sirish on Tue, 03 May 2022 21:06:58 +0300
What is Maven:
The official definition of Maven is: Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information. Translation: Apache Maven is a software project management and ...
Posted by ChibiGuy on Tue, 03 May 2022 20:15:50 +0300