Overview
You are strongly advised to deploy official projects in a Linux system.
This document will briefly introduce the reasons for such recommendation and the recommended deployment methods.
Reason for Recommending Linux-based Deployment
Linux is an open-source operating system with high stability, security, and reliability.
Therefore, it is generally more reliable to deploy web applications in Linux than Windows.
The following table lists reasons why it is more advantageous to deploy FanRuan applications in Linux than Windows.
Reason | Description |
---|
Stability | Linux is generally considered to be a more stable operating system than Windows. Linux can run for weeks or months without needing to be restarted, while Windows may need to be restarted more frequently to ensure system stability.
|
Security | Linux logs security records better, protecting the system more easily from viruses and malicious software attacks. Linux provides better permission management, allowing administrators to better control users' access to the system. As an open-source system, Linux can quickly respond to vulnerability issues.
|
Maintainability | Since Linux is an open-source operating system, users can perform modification according to their own needs. This makes Linux more flexible for administrators to better control the system's configuration and operation method. Linux allows users to monitor the system and process more conveniently and obtain system status information more accurately, without being subject to the operating system.
|
Reliability | |
Function application | The powerful command line tools and programming languages of Linux guarantee the functions related to the maintenance of FanRuan applications' availability. Such functions are limited in Windows due to its openness restrictions.
|
In short, although it is feasible to deploy web applications in Windows, Linux is more advantageous in terms of stability, security, customizability, and reliability, which make Linux the recommended best choice.
Recommended Deployment Solution for Linux
Deployment Solution | Description |
---|
Solution One: Containerized Project Deployment | With automatic deployment, all deployment works can be completed by just one command, which is worry-free, effortless, and efficient. One-click containerized deployment can greatly reduce customer's maintenance costs and resource costs. Install the related components (application servers, external databases, and load balancing devices) most suitable for the project. Do not install components of incompatible versions to avoid remedial component installation if errors occur. Check the operating system version in advance to prevent any project running error due to the system version. Check whether the server hardware meets requirements in advance to prevent projects from being deployed in unsuitable hardware environments. All common JVM parameters are automatically configured to avoid most problems caused by JVM parameters. The NGINX load balancer is automatically configured to avoid problems caused by manual configuration errors or omissions. Project environments are isolated, preventing all projects from crashing due to environment bugs.
|
Solution Two: Tomcat Server Package Deployment in Linux | JDK and Tomcat projects are built-in in the deployment package. No extra preparation is required. Projects can be used just after download and decompression. |