1. Why deploy
About RuoYi-Vue is a web backend management system that separates the front and back ends. Deploying it on a cloud server so that everyone can access it is a normal requirement for a Web website. As long as we expose the front-end static files to the public network, it will be deployed naturally. Of course, the requirement is that the static resources on the front end can access the back-end interface, so that the website can run normally.
2. Cloud server purchase
- The cloud server is just one
电脑
, and the difference from our ordinary people's computers is that it has一个公网IP
. With this public IP, we can access it from any computer connected to the Internet公网IP的资源
. In other words, deploying on a cloud server makes our website accessible to everyone with an Internet connection. - It is recommended to purchase a lightweight server and purchase address for cloud servers . You can choose CentOS7.6, 7.8, or 8.x to install the system on the cloud server. My personal choice is the pagoda panel. This panel is a little easier to operate. After purchase, it will look like the picture below:
- We can do this on the control panel page