1. Establish springmvc maven project.
To create a maven project in eclipse, select maven-archetype-webapp for Artifact Id. After the establishment, the package and tomcat runtime environment
Open-source software (open-source) is a new term that is defined as software whose source code can be used by the public, and the use, modification, and distribution of this software are not restricted by licenses. Open source software is usually copyrighted, and its license may contain such restrictions: deliberate protection of its open source status, notice of authorship, or development control. “Open source” is being registered as a certification mark by public interest software organizations, which is also a means of creating a formal definition of open source.
1. Establish springmvc maven project.
To create a maven project in eclipse, select maven-archetype-webapp for Artifact Id. After the establishment, the package and tomcat runtime environment
The JDK must be configured before zookeeper installation
JDK version: 1.8
zookeeper version: 3.4
zookeeper has the function of supervising the working status of the cluster, It do
https://www.cnblogs.com/jpfss/p/9753215.html
As an engineer, project tuning is something that must be mastered proficiently.
In the SpringBoot project, tuning is mainly carried out through
The realization principle of ZooKeeper distributed lock
Question: In the past, when we used the SSM framework, we deployed external tomcat. If you want to access the file, drag it directly to the root directory of the project. . If we need to put an apk
One, java environment installation 1. Download jdk Go to jdk to download URL download or download with command in the server
wget –no-check-certificate –no-cookies –header “Cookie: oraclel
1. Summarize some concepts:
Install zookeeper 3.4.6
cp zoo_sample.cfg zoo.cfg
vim zoo.cfg tickTime=2000
initLimit=10
syncLimit=5
dataDir=/opt /software/zookeeper-3.4.6/data
dataLogDir=/
Zookeeper environment setup download download the latest version from the mirror site
http:/ /mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/
Download all historical versions from the documentation
zookeeper is an open source distributed coordination framework: data publishing and subscription, load balancing, clustering, master election.
Atomicity: either succeeds at the same time or f
First of all, this blog doesn’t have any theoretical stuff, it just explains in detail the process of setting up a cluster of kafka and zookeeper, which requires three linux servers.
Java env