เข้าถึง
- เปิดเบราว์เซอร์ของคุณและเข้าไปที่:
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 กับ DISABLE_SETUP=true ใน /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
คุณสมบัติ
จัดเก็บใน: /root/.invoiceplane-credentials
View:
cat /root/.invoiceplane-credentials
Contains:
- Database name, user, password
- MariaDB root password
- Application URL
ไฟล์และไดเร็กทอรีที่สำคัญ
- ไดเร็กทอรีการติดตั้ง:
/var/www/invoiceplane - Main config:
/var/www/invoiceplane/ipconfig.php - การตั้งค่า Nginx:
/etc/nginx/sites-available/invoiceplane.conf - ไฟล์ข้อมูลประจำตัว:
/root/.invoiceplane-credentials
การจัดการบริการ
# 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