A server, NAS navigation panel, Homepage, browser homepage. | 一个服务器、NAS导航面板、Homepage、浏览器首页。
采用开源项目Sun-Panel,矿神SPK打包,支持x86_64、armv8的DSM7.x系统。
矿神SPK源内安装
矿神群晖SPK套件中心 提供各类国内常用的DSM6、DSM7套件,目前上架DSM7套件:Aria2、ffmpeg、Jellyfin、qBittorrent、Syncthing、Transmission等等,持续更....
套件截图
页面预览
图片来自Sun-Panel 交流QQ群:276594668
使用进阶
配置文件路径:/var/packages/Sun-Panel/var/conf/conf.ini
# ======================
# Basic configuration
# ======================
[base]
# Web run port. Default:3002
http_port=13002
# Web run address Default: 0.0.0.0
http_address=0.0.0.0
# Database driver [mysql/sqlite(Default)]
database_drive=sqlite
# Cache driver [redis/memory(Default)]
cache_drive=memory
# Queue driver [redis/memory(Default)]
queue_drive=memory
# File cache path (Please start with the current path './')
# Warning: The files that have been uploaded after the modification cannot be accessed
source_path=./uploads
# File cache path.
source_temp_path=./runtime/temp
# Front -end path.
web_path=./web
# Custom JS and CSS. Need to create index.css, index.js.
# Need v1.3.1+. Below this version or the note drops the code default use './web/custom'
custom_style_path=./custom
# Token expires (hour). defalut 72 (hour)
token_expires=168
# ======================
# Mysql database driver
# ======================
[mysql]
host=127.0.0.1
port=3306
username=root
password=root
db_name=sun_panel
wait_timeout=100
# ======================
# sqlite database driver
# ======================
[sqlite]
file_path=./database/database.db
# ======================
# redis database driver
# ======================
[redis]
address=127.0.0.1:6379
password=
prefix=sun_panel:
db=0
默认使用sqlite数据库,也支持mysql数据库以及redis数据缓存,可以按需选择安装MariaDB10和redis套件配合使用,但是如此轻量级程序一般不需要。
其它
群友分享的NAS常用图标库:
https://siriling.github.io/my-icons/dist/#/
https://github.com/xushier/HD-Icons
原创文章,作者:ERROR204,本文章内容未经书面许可禁止一切形式的转载:https://imnks.com/9951.html