访问
- 打开浏览器并访问:
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 config:
/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