inotgo.com

Step 1 : What is? Docker   
Step 2 : Deploy a J2EE application   
Step 3 : Docker How do you do it?   
Step 4 : Tutorial schedule   

What is? Docker , Why is it easy for everyone to understand , The stationmaster deployed this thing , Divided into No Docker And use Docker Two ways to compare , It's easier for students to understand Docker What do you do .
Let's just say no Docker.
The webmaster once did a tutorial , be called How to put J2EE Application deployment to Linux Series of tutorials
Simply put , The stationmaster has a WEB application , It's called imitating tmall J2EE Version , Now the webmaster gives this to everyone . In order to successfully put this WEB The app runs , The following work must be done :
1. Install FTP The server , Configure it , to configure FTP Users
2. Install JAVA environment
3. Install database , Configuration database
4. Install TOMCAT
5. to open up FTP and TOMCAT port
6. Upload the webmaster to everyone Imitate tmall J2EE application
7. to configure TOMCAT
8. Upload the webmaster to everyone Imitate tmall's SQL sentence
9. Import this SQL sentence
10. Start TOMCAT

Such a series of actions , Can be used !
There is only one reason , you There is no environment that imitates tmall , You have to build this environment yourself .
The process of setting up the environment is so long , Not only time-consuming and labor-consuming , And as long as you forget one step , Or did something wrong , Will get stuck there and can't do it , Can't get the final desired effect .
 Deploy a J2EE application
Or deploy J2EE This thing , Let's use Docker To do .
1. first , We need to get a Linux Operating system , This can't run away
2. Install Docker
3. stay Docker in , Installed a small operating system Linux
4. The stationmaster put Deploy a J2EE application in Listed 10 Everything is The webmaster did
4.1. Install FTP The server , Configure it , to configure FTP Users
4.2. Install JAVA environment
4.3. Install database , Configuration database
4.4. Install TOMCAT
4.5. development FTP and TOMCAT port
4.6. Upload the webmaster to everyone Imitate tmall J2EE application
4.7. to configure TOMCAT
4.8. Upload the webmaster to everyone Imitate tmall's SQL sentence
4.9. Import this SQL sentence
4.10. Start TOMCAT
5. then , The stationmaster directly put Docker Inside this , There is already an environment , It's already installed J2EE application , It has been ensured that it can be used "Linux Operating system ” Throw it all to you

This is it. Docker ~
next , The webmaster will take everyone
1. Install Linux Virtual machines
2. Linux Inside Docker
3. stay Docker Use on The webmaster said that such a whole is already running Imitate tmall J2EE Applied Operating system
4. Demonstrate one by one how the webmaster put Made of such a thing

Let's do it by ourselves , I know Docker How to use


The official account of programming , Follow and get the latest tutorials and promotions in real time , thank you .


Q & A area    
2019-11-26 this 10 The process didn't say ?
DEMO4250

4.1. Install FTP The server , Configure it , to configure FTP Users 4.2. Install JAVA environment 4.3. Install database , Configuration database 4.4. Install TOMCAT 4.5. development FTP and TOMCAT port 4.6. Upload the webmaster to everyone Imitate tmall J2EE application 4.7. to configure TOMCAT 4.8. Upload the webmaster to everyone Imitate tmall's SQL sentence 4.9. Import this SQL sentence 4.10. Start TOMCAT




1 One answer

Lilia
Answer time :2020-05-16
These ten steps were done by the webmaster



The answer has been submitted successfully , Auditing . Please My answer Check the answer record at , thank you
answer Or code please Fill in at least one , If you have a problem , Please ask again , Otherwise, the webmaster may not see




2019-09-18 about docker Deploy multiple web project
VanB

stationmaster , One docker When it's built , Whether to install jdk、tomcat、mysql、ngnix Like a mirror , Then put the to be deployed web The project is also made into a mirror , Finally, a so-called container is formed to run the web project ?




1 One answer

MJ
Answer time :2020-09-24
yes , The project is dependent on docker In the container jdk Wait



The answer has been submitted successfully , Auditing . Please My answer Check the answer record at , thank you
answer Or code please Fill in at least one , If you have a problem , Please ask again , Otherwise, the webmaster may not see




2019-05-28 windows There are also docker, Why not directly in windows Install docker, And first install Linux?
2019-03-03 Stationmaster cow force stationmaster V5
2019-02-20 docker No need to download MySQL?


Too many questions , Page rendering is too slow , To speed up rendering , Only a few questions are displayed on this page at most . also 1 Previous questions , please Click to view

Please... Before asking questions land
The question has been submitted successfully , Auditing . Please My question Check the question record at , thank you
about Tools and Middleware -docker- Introduction Your questions

Try to provide Screenshot code and Abnormal information , Help to analyze and solve problems . You can also enter this station QQ Group communication : 496725845
Ask questions and try to provide complete code , Environment description , The more conducive to the recurrence of the problem , The faster your question can be answered .
Have questions about the code in the tutorial , Please provide which step , Which line is in doubt , This makes it easy to quickly locate the problem , Improve the speed at which questions are answered
In the thousands of questions that already exist , A considerable proportion , Because of the use of and webmaster Different versions of the development environment Resulting in , For example jdk, eclpise, idea, mysql,tomcat Wait, the version of the software is inconsistent .
Please use the same version as the webmaster , You can save yourself a lot of learning time . The webmaster sorted out the software versions used in teaching , It's all here , Convenient for everyone to download : /k/helloworld/helloworld-version/1718.html

Upload screenshot