Truy cập
- Mở trình duyệt và truy cập:
https://<SERVER_IP>/index.php/setup - Làm theo trình cài đặt web để hoàn tất thiết lập
Bảo mật (QUAN TRỌNG)
Sau khi thiết lập ban đầu, thay thế dòng DISABLE_SETUP=false với DISABLE_SETUP=true in /var/www/invoiceplane/ipconfig.php để ngăn chặn truy cập trái phép vào trang thiết lập.
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ữ trong: /root/.invoiceplane-credentials
Xem:
cat /root/.invoiceplane-credentials
Chứa:
- Tên cơ sở dữ liệu, người dùng, mật khẩu
- Mật khẩu gốc MariaDB
- URL ứng dụng
File và thư mục quan trọng
- Thư mục cài đặt:
/var/www/invoiceplane - Cấu hình chính:
/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