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 lần thiết lập đầu tiên, thay thế dòng DISABLE_SETUP=false với DISABLE_SETUP=true in /var/www/invoiceplane/ipconfig.php để ngă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, tên người dùng, mật khẩu
- Mật khẩu root MariaDB
- URL Ứng dụng
Các tệp 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 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