Version: 4.1
Cấu trúc thư mục của HiTechCloud
HiTechCloud dùng các tệp và thư mục sau:
Cấu hình:
/etc/hitechcloud/
├── bind9/ - Configuration for DNS service.
├── caddy/ - Caddy webserver configuration and data.
├── clamav/ - ClamAV service configuration.
├── docker/ - Docker configuration.
├── ftp/ - Settings and user data for FTP service.
├── goaccess/ - Configuration for GoAccess reports.
├── mysql/ - Database schema.
├── nginx/ - Nginx webserver configuraton [DEPRECATED].
├── hitechadmin/ - Settings for the admin panel.
├── hitechcloud/ - Settings for the user panel.
├── php/ - PHP blueprints.
├── services/ - Services configuration files.
├── skeleton/ - Files used for new user accounts.
└── varnish/ - Varnish configuration - [DEPRECATED].
Có thể xem cấu hình mặc định tại đây.
Tệp của người dùng
Mọi tệp của một người dùng được lưu trong thư mục /home của họ: /home/$docker_context/:
/home/stefan/
├── docker-compose.yml - Contains all services that user can run.
├── .env - Contains ports, resource limits and passwrods for services.
├── httpd.conf - main configuration that is used IF user runs Apache webserver.
├── nginx.conf - main configuration that is used IF user runs Nginx webserver.
├── openresty.conf - main configuration that is used IF user runs OpenResty webserver.
├── openlitespeed.conf - main configuration that is used IF user runs OpenLitespeed webserver.
├── default.vcl - Varnish Configuration that is used if Varnish cache is enabled for user.
├── php.ini/ - PHP.INI files hat user can edit via 'HiTechCloud > PHP > PHP.INI Editor' page.
├── crons.ini - Cron jobs that user can edit via 'HiTechCloud > Cron Jobs' page.
├── backup.env - Backup configuration that user can edit via 'HiTechCloud > Files > Backups' page.
├── my.cnf - MySQL root user logins that are used for ALL actions from the HiTechCloud UI.
├── custom.cnf - MySQL Configuration that user can edit via 'HiTechCloud > MySQL > Configuration' page.
├── postgre_custom.conf - PostgreSQL Configuration that user can edit via 'HiTechCloud > PostgreSQL > Configuration' page.
├── pma.php - used to allow auto-login to phpMyAdmin from HiTechCloud UI.
├── docker-data/ - All docker files: containers, images, volumes..
│ └── volumes/
│ ├── $context_html_data/ - Website files (/var/www/html/ in 'HiTechCloud > File Manager' page).
│ ├── $context_mysql_data/ - MySQL storage (all databases).
│ ├── $context_mysql_dumps/ - MySQL /tmp folder used for dumps.
│ ├── $context_pg_data/ - PostgreSQL storage (all databases).
│ └── $context_webserver_data/ - VirtualHosts files for domains.
├── .config/ - systemd service files.
├── .docker/ - Docker service files.
├── bin/ - service files.
├── sockets/ - sockets for running services.
└── .bashrc - Sets path and docker host.
Tệp dùng chung cho dịch vụ người dùng
Một số tệp được dùng chung giữa các dịch vụ của người dùng để quản trị viên có một điểm quản lý duy nhất. Điều này giúp cập nhật nhanh hơn và tuỳ chỉnh dễ dàng hơn cho mọi người dùng. Ví dụ, có thể cập nhật WP-CLI cùng lúc cho tất cả hoặc cấu hình OpenLiteSpeed thống nhất trên mọi tài khoản.
/etc/hitechcloud/wordpress/wp-cli.phar- Tệp nhị phân WP-CLI dùng trong OpenLitespeed và mọi container PHP./etc/hitechcloud/nginx/certs/- Tệp SSL tự ký cho các tên miền, dùng bên trong web server của người dùng./etc/hitechcloud/nginx/default_page.html- Trang đích hiển thị trên tên miền của người dùng khi chưa có tệp nào./etc/hitechcloud/mysql/phpmyadmin/config.inc.php- Tệp cấu hình phpMyAdmin cho phép tự động đăng nhập từ giao diện./etc/hitechcloud/php/ioncube/- Các tệp Ioncube Loader cho PHP./etc/hitechcloud/php/ioncube_extension.ini- Extension Ioncube Loader cho PHP.
Tệp của dịch vụ dùng chung
Các tệp được các dịch vụ dùng chung như FTP, web server Caddy và máy chủ mail sử dụng.
/etc/hitechcloud/wordpress/wp-cli.phar- Tệp nhị phân WP-CLI dùng trong OpenLitespeed và mọi container PHP./etc/hitechcloud/wordpress/wp-cli.phar- Tệp nhị phân WP-CLI dùng trong OpenLitespeed và mọi container PHP.
Tệp mẫu
Các tệp dùng cho dịch vụ/tên miền mới mà người dùng thêm.
/etc/hitechcloud/docker/compose/nodejs.yml- Dùng cho dịch vụ docker mới qua trang 'HiTechCloud > AutoInstaller > NodeJS'./etc/hitechcloud/docker/compose/python.yml- Dùng cho dịch vụ docker mới qua trang 'HiTechCloud > AutoInstaller > Python'./etc/hitechcloud/docker/compose/ruby.yml- Dùng cho dịch vụ docker mới qua trang 'HiTechCloud > AutoInstaller > Ruby'./etc/hitechcloud/docker/compose/java.yml- Dùng cho dịch vụ docker mới qua trang 'HiTechCloud > AutoInstaller > Java'./etc/hitechcloud/docker/daemon/rootless.json- Dùng cho người dùng mới để cấu hình dịch vụ docker rootless./etc/hitechcloud/apache/httpd.conf- Tệp cấu hình chính dùng cho người dùng mới chạy web server Apache./etc/hitechcloud/backups/backup.env- Mẫu dùng cho bản sao lưu của người dùng mới./etc/hitechcloud/backups/customized.template- Mẫu thông báo dùng cho bản sao lưu của người dùng./etc/hitechcloud/bind9/zone_template.txt- Mẫu vùng DNS dùng cho tên miền mới khi người dùng được đặt IPv4./etc/hitechcloud/bind9/zone_template_ipv6.txt- Mẫu vùng DNS dùng cho tên miền mới khi người dùng được đặt IPv6./etc/hitechcloud/bind9/zone_template_ipv6.txt- Mẫu vùng DNS dùng cho tên miền mới khi người dùng được đặt IPv6./etc/hitechcloud/caddy/templates/domain.conf- Caddyfile dùng cho tên miền mới./etc/hitechcloud/caddy/templates/suspended_domain.html- Trang đích hiển thị trên các tên miền bị tạm ngưng của người dùng./etc/hitechcloud/caddy/templates/suspended_user.html- Trang đích hiển thị trên các tên miền của người dùng bị tạm ngưng./etc/hitechcloud/csf/csf.blocklists- Danh sách chặn CSF dùng khi cấu hình Sentinel Firewall./etc/hitechcloud/mysql/user.cnf- Tệp cấu hình dùng cho dịch vụ MySQL.
Tệp cấu hình
/etc/hitechcloud/caddy/templates/wp.rules- Các quy tắc dùng cho tuỳ chọn gia cố bảo mật trong WP Manager./etc/hitechcloud/clamav/extensions.txt- Danh sách phần mở rộng tệp cần quét bằng ClamAV (KHÔNG CÒN DÙNG)./etc/hitechcloud/csf/csf.blocklists- Danh sách chặn CSF dùng khi cấu hình Sentinel Firewall./etc/hitechcloud/ftp/vsftpd.conf- Tệp cấu hình chính của Vsftpd./etc/hitechcloud/goaccess/goaccess.conf- Tệp cấu hình chính của GoAccess./etc/hitechcloud/modules/- Plugin tuỳ chỉnh cho giao diện HiTechCloud./etc/hitechcloud/mysql/initialize/1.1/plans.sql- Khởi tạo cơ sở dữ liệu khi cài HiTechCloud./etc/hitechcloud/mysql/host_mysql.cnf- Lưu thông tin đăng nhập mysql của bản cài HiTechCloud./etc/hitechcloud/mysql/keys.txt- Danh sách khoá cấu hình chỉnh sửa được từ trang 'HiTechCloud > MySQL > Cấu hình'./etc/hitechcloud/mysql/mysqld.cnf- Tệp cấu hình của dịch vụ MySQL./etc/hitechcloud/docker/templates/docker_apache_domain.conf- Mẫu VirtualHost cho tên miền mới trên web server Apache./etc/hitechcloud/docker/templates/docker_litespeed_domain.conf- Mẫu VirtualHost cho tên miền mới trên web server OpenLitespeed./etc/hitechcloud/docker/templates/docker_nginx_domain.conf- Mẫu VirtualHost cho tên miền mới trên web server Nginx.- LƯU Ý: danh sách chưa đầy đủ, vui lòng xem https://hitechcloud.org để có danh sách đầy đủ.
Trang này có hữu ích không?