Größe: 2969
Kommentar:
|
Größe: 3053
Kommentar:
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 98: | Zeile 98: |
== weitere Seiten zum MoinWiki == <<PageList(regex:MoinMoinWiki/[A-Z,a-z,0-9]*)>> |
Installation einer Moin Version 2 Testumgebung
Beispiel Stand 01.01.2022:
Umgebung und Ziel:
- virtueller Server mit Virtual Box
- Debian 11 (bullseye)
- minimal Server Installation ohne Desktop
- Zugang per SSH (Commandline) und SSH-Tunnel (HTML)
Kurzanleitung:
- Virtuelle Maschine mit Netzwerk als Netzwerkbrücke einrichten
- Installationsmedium Debian 11.2 bullseye Netinst für 64-Bit-PC (AMD64)
Keyboard Layout -> German
Select and Install Software ->
- unselect Debian desktop + GNOME
- select SSH server
- select standard system utils
- Benutzer, z.B.: root, admdebi (mit sudo Recht)
- Befehle nach Installation und Reboot (mit Benutzer root)
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
- Moin Vorbereitung (mit Benutzer admdebi)
sudo useradd -m -s "/usr/bin/bash" moinadm cd /usr/local sudo mkdir moin moinwiki sudo chown moinadm moin*
- Moin Installation (z.B. mit Benutzer moinadm)
cd /usr/local/moin git clone https://github.com/moinwiki/moin cd moin pip install -e . python3 quickinstall.py . ./activate ./m new-wiki ./m run
- Test vom Laptop bzw. Hostsystem
# SSH Tunnel starten ssh -f moinadm@<ip-of-moin-vm> -L 8080:localhost:8080 -N
Aufruf im Webbrowser http://localhost:8080/Home
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