Linux:MediaWiki升级:修订间差异
imported>Riguz 创建页面,内容为“从1.29.1升级到1.30 <source lang="bash"> apt-get update apt-get install php7.2 libapache2-mod-php7.2 php7.2-sqlite3 php7.2-xml php7.2-mbstring cd /etc/apache2/mo…” |
无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
从1.29.1升级到1.30 | = 从1.29.1升级到1.30 = | ||
<source lang="bash"> | <source lang="bash"> | ||
apt-get update | apt-get update | ||
第15行: | 第15行: | ||
* logo | * logo | ||
注意有些皮肤和extension可能不见了,在localsettings.php中删除即可 | 注意有些皮肤和extension可能不见了,在localsettings.php中删除即可 | ||
= 1.35 SyntaxHighlight = | |||
<source lang="bash"> | |||
pkg install py37-pip | |||
pip install Pygments | |||
vim LocalSettings.php | |||
# $wgPygmentizePath = "/usr/local/bin/pygmentize"; | |||
</source> | |||
安装暗色主题:https://github.com/dracula/pygments | |||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2021年3月21日 (日) 03:33的最新版本
从1.29.1升级到1.30
apt-get update
apt-get install php7.2 libapache2-mod-php7.2 php7.2-sqlite3 php7.2-xml php7.2-mbstring
cd /etc/apache2/mods-enabled
rm -f php5.6*
cp ../mods-available/php7.2* ./
service apache2 restart
需要拷贝的文件:
- localsettings.php
- images
- logo
注意有些皮肤和extension可能不见了,在localsettings.php中删除即可
1.35 SyntaxHighlight
pkg install py37-pip
pip install Pygments
vim LocalSettings.php
# $wgPygmentizePath = "/usr/local/bin/pygmentize";