Truy cập
- Mở trình duyệt của bạn và truy cập:
https://<SERVER_IP>/index.php/setup - Follow the web installer to finish setup
Security (IMPORTANT)
After the initial setup, replace the line DISABLE_SETUP=false với DISABLE_SETUP=true TRONG /var/www/invoiceplane/ipconfig.php to prevent unauthorized access to the setup page.
sed -i 's/DISABLE_SETUP=false/DISABLE_SETUP=true/g' /var/www/invoiceplane/ipconfig.php
Thông tin xác thực
Được lưu trữ tại: /root/.invoiceplane-credentials
View:
cat /root/.invoiceplane-credentials
Contains:
- Database name, user, password
- MariaDB root password
- Application URL
Các tập tin và thư mục quan trọng
- Thư mục cài đặt:
/var/www/invoiceplane - Main config:
/var/www/invoiceplane/ipconfig.php - Cấu hình Nginx:
/etc/nginx/sites-available/invoiceplane.conf - Tệp thông tin xác thực:
/root/.invoiceplane-credentials
Quản lý dịch vụ
# Check services
systemctl status nginx
systemctl status mariadb
systemctl status php8.3-fpm
# Restart services
systemctl restart nginx
systemctl restart mariadb
systemctl restart php8.3-fpm