Jianghu Panel - Directory Specification
120061. The Importance of File Specifications
The Linux system follows certain directory structure standards (such as the Filesystem Hierarchy Standard, FHS), which helps maintain organization and consistency within the system. Adhering to these standards ensures that both users and programs can locate their expected files and directories, thereby achieving secure and efficient file and directory management.
2. Jianghu Panel Directory Structure
The main program of the Jianghu Panel and the data of various applications are stored under the /www directory. In a typical server, the /www directory structure is as follows:
/www
├── backup
| ├── database
│ └── site
├── recycle_bin
├── server
| ├── cron
| ├── jh-panel
| ├── jianghujs
| ├── mysql-apt
| ├── nodejs
| ├── openresty
| ├── source
│ └── web_conf
├── wwwlogs
├── wwwroot
└── wwwstorage (optional)In the directory above, the brief descriptions of each directory are as follows:
- /www/backup: Stores backup data for the server
- /www/recycle_bin: Recycle bin. This directory cannot be deleted
- /www/server: The main storage directory for various software and plugins required by the Jianghu Panel. Each subdirectory corresponds to an installed plugin. The most important directories are:
- /www/server/jh-panel: Storage directory for the main program of the Jianghu Panel
- /www/server/web_conf: Storage directory for websites within the Jianghu Panel
- /www/server/source:
- /www/server/cron: Storage directory for scheduled tasks
- /www/wwwlogs: Stores access logs for various websites
- /www/wwwroot: Stores code, configuration files, and runtime logs for various projects and websites
- /www/wwwstorage: Stores user data for various projects.