In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to use java on a cloud server. The editor thinks it is very practical, so I hope you can learn something after reading this article. Let's take a look at it with the editor.
Many users will build their own java environment. Now 80% of Internet companies are using Java,Java 's security mechanism and its cross-platform advantages, which make it widely used in distributed system development.
1. Purchase CVM
Now there are regular domestic brands such as Aliyun, Tencent Cloud, Huawei Cloud and so on. You can compare and screen your suitable models, among which the recommended ones with high performance-to-price ratio.
two。 Server environment connection
Prepare two tools to connect to the server, one is Xshell, which is used to control the server, and the other is Xftp, which is used to transfer files between the server and your computer.
Xshell is very convenient to use. Enter the IP address of your server, then enter root for the user name, enter the root password you set up earlier, and click connect.
Xftp login is similar to Xshell, enter the server IP, the user enters root, and then enter the root password, after the successful login, the left box for your own computer files, the right side for the server files, drag left and right to upload and download files.
3. Installation of JDK, tomcat and mysql
After the two softwares are installed, you can start to build the CVM environment. Because it is a simple environment for learning and the concurrency is not high, we do not use nginx,apache or redis. The java environment used is a simple tomcat+mysql, and we need to use Xshell to build the environment. Before installing tomcat, you must first complete the installation of jdk. After that, upload the project and database.
4. Use the control panel environment to build
Or you can choose to use the relatively simple pagoda panel, enter the server management page from the console, then go to the application details, and click copy. Then connect remotely, right-click to paste the copied content after successful connection, enter to run, the password of the pagoda panel will be displayed and copied down. To exit the remote connection, click the address on the front page of the panel. The user name is admin, and the password is the password that was replicated after the remote connection.
Use the pagoda panel to install tomcat and mysql, then enter the database from the sidebar, click add Database, the password can be randomly generated, or you can set your own.
The above is how to use java on CVM. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.