Spring Boot the road learning (03): base environment to build, do preparatory work before learning

1 Introduction

"The Analects of Confucius Weiling Gong":. "We must first of its profits for the state also ranks are, what their doctor's Sage, Friends of Chevalier benevolent."

工欲善其事必先利其器. We are familiar with a strange project, the first thing will probably take a look Features, look at the code. If you have more Italian, it would download it, take a run a race environment, careful study of the function and code implementation inside.

Foundation to build environment is not good, then do not talk back and learn how to research projects.

Ado, here sum up, we learn before the project started, the first with a good foundation with a good environment. This avoids time in the middle of learning, we carry out his environment.

2. Basic Environment Configuration Checklist

The essential foundation

  1. Java Runtime Environment: JDK1.8 more
  2. Authoring Tools: Idea or Eclipse or MyEclipse
  3. Database: Mysql
  4. Cache: Redis
  5. Maven
  6. Git

Learning Spring Boot Configuration Why have these tools?

We study the Spring Boot, is to learn to be able to use their own practice. Ye Hao on their skills to add to the list of more than a pen. I often use these tools at work, and with Spring Boot for the base, and use these tools to build independent over a distributed application.

If the above environments have, then you can not look down.

I believe that every programmers are familiar with installing and uninstalling various software.

3. How to properly set up each environment

I am using windows10, so the following is mainly based on installation configuration instructions for Windows. If it is linux and mac environment, please download the appropriate version for installation configuration.

3.1 JDK1.8

If not on the computer, we go to the official website to download the version of JDK1.8.

JDK1.8 download and install (full graphic tutorial): https://www.jianshu.com/p/efef80171a4a

I often use the free installation of JDK1.8

Why use free installation of JDK1.8 version of it? Its benefits are as follows:

  • Links can save installation time
  • JDK may be a plurality of environment for dynamically assigned
  • If you install the wrong environment can be avoided to delete the remaining time, did not handle clean

I am currently using JDK1.8.0_151 windows64 bit free installation.

If desired, Access: micro letter concerned "Java technology dry," replied "jdk18", you can quickly get JDK1.8 free installation. Limited to the windows system

3.2 authoring tool you are most familiar with the

I use the Idea windows version, so said the following about Idea installation instructions.

Idea of ​​installation tutorial:

  1. Official website to download (or use my offer Idea 2019.1) run directly exe, follow the steps Fool installed on the line.
    Official website address: https://www.jetbrains.com/idea/download/#section=windows

The version I use

  1. This is the need to register, please follow this address, get activated registration code:
    http://idea.lanyus.com/

3.3 Mysql

Mysql official website Download: https://dev.mysql.com/downloads/mysql/

Here I will no longer talk in detail, after all, the Internet has made it very detailed tutorial, I will not waste time re-wheels again, after all, time is precious. Mysql installation provides a graphic tutorial: https://www.jianshu.com/p/077e2a677b75
can also save everyone to take the time to look for tutorials.

Redis 3.4

  1. Redis Download: https://github.com/antirez/redis/releases

Redis installation is relatively simple, it is recommended to install Redis rookie tutorial Tutorial: https://www.runoob.com/redis/redis-install.html

3.5 Maven

Maven Download: http://maven.apache.org/download.cgi

The Maven we are not familiar, installation instructions, Baidu can find. I recommend a detailed installation instructions: https://www.cnblogs.com/platycoden/p/8313503.html

3.6 Git

Git version management tool, with SVN belong to the same type of product.

git Download: https://www.git-scm.com/downloads

Detailed installation instructions can look at Git installation tutorial Liao Xuefeng Gangster: https://www.liaoxuefeng.com/wiki/896043488029600/896067074338496

4. Summary

This section generally talked about some of the tools will be used by subsequent installation configuration, in order to follow the Spring Boot application developers learning to prepare. Some may feel why no detailed description of every installation, but will choose to reprint some articles of it. Because these tools are now very common, the official website blog has a very detailed explanation. Then I can concentrate on providing valuable information to my screened out, this is a output.

If the above-mentioned tools installed you did something wrong, you're ready to learn and develop among Spring Boot along with me.

See the end is not easy, do not forget to focus Oh, I continue to learn supervise it, and you learn and grow together.

Guess you like

Origin www.cnblogs.com/werewolfBoy/p/11075824.html