Explain in detail the method of deploying J2EE developed websites to alicloud servers

Na na na, the most important thing in making Java is to deploy your "works" to the public network.

Especially for beginners, you need to prove to the interviewer what you know. This is really important. There is no proof. Why does the interviewer believe that the content of your resume is true? Of course, the best way is to put the work on the public network and show his face

For colleagues who have already participated in the work, this is relatively simple, because in the work, deploying a project is nothing more than FTP War (or other forms) is passed on, and then Tomcat is restarted. It will be completed after a while. However, if it is a learner, it is more challenging than those who have already worked. Why? Because there is no built environment and no "upload, restart" on hand In all OK environments, if you are not familiar with Linux, the challenge you face is no less than never learning programming. How difficult is it to learn java from hello

In order to solve this problem, I have made a series of tutorials, starting from scratch and from the empty environment, so that I can see a running effect on the public network.

During this period, not only all the steps are recorded, but also the software and tools needed are provided to download and reduce the learning curve (because some software is really difficult to find).

1. First, purchase Alibaba cloud servers. There are many kinds of Alibaba cloud servers. Because they are needed for learning, they help you find the cheapest one of 14.76 a week... How can I master this in a week

2. Explain each step in detail

There are many purchase parameters for alicloud servers. Do you know how to select a security group for novices? Do you know how to choose the cheapest one? (not the cheapest by default). Do you know how to choose the image and operating system? These are not a problem for experienced people, but they will make novices pull their heads for a long time, so I have made detailed records and instructions in this part

3. After purchase, connect to the server

The server is Linux, which is different from windows. Windows remote connection can be used in the past. Linux connection requires special tools.

After successful connection, you will see not a graphical interface, but a command-line interface. You need to skillfully use these commands.

Finally, you have to practice using VI tools to master how to edit and save configuration files.

4. Next is the FTP server. FTP server is used to accept files uploaded from PC to Linux server. This is also a big pit, which involves users, permissions, FTP server installation, port opening, related configuration and FTP client. Anyway, it is also a big lump

5. Java environment installation

This is the simplest, just one sentence

6. MysqL

When deploying J2EE applications, there is not only JSP, but also connecting to the database. So MySQL should be installed and configured by itself

7. Tomcat

At this place, it's Tomcat's turn to play

8. Deploy J2EE applications

At the last step here, J2EE applications will be deployed. Here, we need to use the previous FTP for uploading, as well as MySQL configuration and Tomcat configuration

9. Tutorial address:

http://how2j.cn/k/deploy2linux/deploy2linux-breif/1591.html?tid=115

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>