Installation einer Moin Version 2 Testumgebung

Beispiel Stand 21.07.2023:

Umgebung und Ziel:

Kurzanleitung:

usermod -G sudo admdebi

apt-get install -y sudo
apt-get install -y binutils
apt-get install -y git
apt-get install -y python3-pip
apt-get install -y python3-venv

sudo useradd -m -s "/usr/bin/bash" moinadm
cd /usr/local
sudo mkdir moin moinwiki moin-venv-python3
sudo chown moinadm moin*

Dies ist die schnellere und benutzerfreundlichere Installationsroutine. Da moin2 noch nicht offiziell freigegeben ist, wird dafür der Test-Python-Package-Index benutzt. Das moin Paket wird nur selten aktualisiert. Am Ende steht aber ein lauffähiges Wiki mit englischen Hilfeseiten und einer Welcome-Page zur Verfügung.

cd /usr/local/
python3 -m venv moin-venv-python3
. moin-venv-python3/bin/activate
pip install --pre --index-url https://test.pypi.org/simple --extra-index-url https://pypi.org/simple moin
cd /usr/local/moinwiki/
moin create-instance --full
moin run

Diese Installationsroutine benutzt den aktuellsten Entwicklungsstand aus den github-Programmquellen.

cd /usr/local/moin

git clone https://github.com/moinwiki/moin
cd moin

python3 quickinstall.py
. ./activate

./m new-wiki
./m run

# SSH Tunnel starten
ssh -f moinadm@<ip-of-moin-vm> -L 8080:localhost:8080 -N

Warnmeldungen auf Olimex

  WARNING: The script flask is installed in '/home/moinadm/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script chardetect is installed in '/home/moinadm/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pybabel is installed in '/home/moinadm/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pygmentize is installed in '/home/moinadm/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script markdown_py is installed in '/home/moinadm/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Und das dauert ;-)

Quickinstall run time (h:mm:ss) 0:05:59

Erste Erfolgsmeldung:

Running on http://127.0.0.1:8080/

Nach dem Tunnelbau, Moinmoin 2.0 läuft auf der Olimex Maschine ;-)

weitere Seiten zum MoinWiki

MoinMoinWiki/Testumgebung (zuletzt geändert am 2023-07-21 16:49:16 durch HansUlrichBirke)

Alle Inhalte in diesem Wiki stehen unter der Creative Commons SA 4.0 DE Lizenz