Wsl debian mediawiki experience: Difference between revisions

 
(7 intermediate revisions by the same user not shown)
Line 30: Line 30:
== MediaWiki ==
== MediaWiki ==
<syntaxhighlight lang="bash" line>
<syntaxhighlight lang="bash" line>
sudo apt-get install mediawiki apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring php-apcu php-intl imagemagick inkscape php-gd php-cli php-curl php-bcmath git
sudo apt-get install apache2 mariadb-server php php-mysql libapache2-mod-php php-xml php-mbstring redis-server php-redis php-intl imagemagick inkscape php-gd php-cli php-curl php-bcmath git man php-zip unzip curl wget automysqlbackup tree -y # 依赖项
sudo apt-get install mediawiki


# Debian 中用的 mariadb,Ubuntu 中用的 mysql,以下作相应修改
sudo service mariadb start && sudo service apache2 start
sudo service mariadb start && sudo service apache2 start
ip a
ip a