Raspberrypi.wiki: Unterschied zwischen den Versionen

Aus OrgaMon Wiki
Zur Navigation springen Zur Suche springen
Zeile 8: Zeile 8:
  # notwendige Software
  # notwendige Software
  #
  #
  apt-get install p7zip mariadb-server
  apt install p7zip mariadb-server
  apt-get install php-mbstring php-xml php-mysql
  apt install php-mbstring php-xml php-mysql
apt install imagemagick
   
   
  #
  #

Version vom 19. März 2021, 15:54 Uhr

  • Umzug dieses Wiki auf einen Raspberry Pi
  • Ich versuche Mediawiki 1.32 zu verwenden
  • nötige PHP Module sind "mbstring, xml, ctype, json, iconv, fileinfo"

Datenbank

#
# notwendige Software
#
apt install p7zip mariadb-server
apt install php-mbstring php-xml php-mysql
apt install imagemagick

#
# passwort für root setzen auf ***
#
mysql_secure_installation

#
# Datenbank erstellen
#
mysql --password=***
 create database wikidb;
 connect wikidb;
 GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '***';
 quit

#
# Dump einlesen
#
mysql --password=*** wikidb < wiki.sql