使用权
- 打开浏览器并访问:
https://<SERVER_IP>/index.php/setup - 按照网络安装程序完成设置
安全(重要)
初始设置后,更换线路 DISABLE_SETUP=false 和 DISABLE_SETUP=true in /var/www/invoiceplane/ipconfig.php 以防止未经授权访问设置页面。
sed -i 's/DISABLE_SETUP=false/DISABLE_SETUP=true/g' /var/www/invoiceplane/ipconfig.php
证书
存储在: /root/.invoiceplane-credentials
看法:
cat /root/.invoiceplane-credentials
包含:
- 数据库名称、用户、密码
- MariaDB root 密码
- 申请网址
重要文件和目录
- 安装目录:
/var/www/invoiceplane - 主要配置:
/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