German translation is also available, see MoinMoin2/InstallDebianDE

Installation of a Moin version 2 test environment

Target and Environment:

  • virtual server using Virtual Box
  • Debian 11 (bullseye)
  • minimal server installation without desktop
  • SSH access (Commandline) and SSH-tunnel (HTML)

The instructions can be adapted to many Debian based systems and distributions (e.g. Ubuntu and Raspian)

Quick start Guide:

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 preparation (with user admdebi)

sudo useradd -m -s "/usr/bin/bash" moinadm
cd /usr/local
sudo mkdir moin moinwiki moin-venv-python3
sudo chown moinadm moin*
  • Moin installation using pip for users (e.g. with user moinadm)

This is the faster and user-friendly installation routine. Since moin2 is still in the beta phase, pip must be called with the '--pre' option. The moin package is rarely updated. At the end there is a running wiki with English help pages and a welcome page.

cd /usr/local/
python3 -m venv moin-venv-python3
. moin-venv-python3/bin/activate
pip install --pre moin
cd /usr/local/moinwiki/
moin create-instance --full
moin run
  • Alternatively: Moin installation using git for developers (e.g. with user moinadm)

This installation routine uses the latest development version from the github program sources.

cd /usr/local/moin

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

python3 quickinstall.py
. ./activate

./m new-wiki
./m run
  • Test using laptop or hostsystem

Start SSH tunnel

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

Access in the webbrowser using http://localhost:8080/Home

MoinMoin: MoinMoin2/InstallDebian (last edited 2024年08月21日 16:57:57 by UlrichB )

AltStyle によって変換されたページ (->オリジナル) /