Help:MediaWiki安装指南:修订间差异
删除的内容 添加的内容
Maintenance script(留言 | 贡献) 小 更新安装指南为通用步骤 |
Maintenance script(留言 | 贡献) 按当前站点实际配置更新更新与依赖 |
||
第15行:
=== 更新与依赖 ===
根据本站当前部署(Debian 12 + Nginx + PHP 8.2 FPM + MySQL),建议按以下方式更新与安装依赖:
<syntaxhighlight lang="bash">
sudo apt update && sudo apt upgrade -y
sudo apt install
# 多媒体与差异对比工具
sudo apt install ffmpeg poppler-utils imagemagick php-wikidiff2 -y
</syntaxhighlight>
如需启用 Lua/时间线/乐谱等扩展,可按需补充:
<syntaxhighlight lang="bash">
# Scribunto
sudo apt install php-luasandbox -y
# EasyTimeline/Score 等
sudo apt install perl ploticus lilypond ghostscript -y
</syntaxhighlight>
说明:本站使用 Nginx,如需 Apache 请改用对应包与配置;PHP-FPM 请确保与 Nginx 配置匹配。
== 安装步骤 ==
=== 1. 下载 MediaWiki ===
| |||