Meza/Install on existing server
After verifying that the target system meets Meza's requirements, run the following commands:
# Install and configure Git
dnf install -y git
git config --global user.email "you@email.com"
git config --global user.name "Your Name"
# Get Meza source code
git clone https://github.com/nasa/meza /opt/meza
# Prep the system as a Meza controller
sudo sh /opt/meza/src/scripts/getmeza.sh
# getmeza.sh will create an 'operator' account "meza-ansible"
# and automatically switch to that account for running meza commands
# Whenever you need to switch user, you can
# sudo -i -u meza-ansible
# Change to the config folder to pick-up the ansible.cfg there
cd /opt/meza/config
# deploy meza to an environment named 'monolith'
sudo meza deploy monolith
When prompted, enter the domain name (e.g. mywikiserver.com)
- If your target does not have a domain name, you can use its IP address
- If your target does not have a defined IP address, just use "localhost"
When prompted, enter a password for the databases (or hit enter to let meza generate one for you)
When prompted, enter a password for the Admin account.
Sit back and enjoy watching Meza install, and configure everything... (A first time install should take under 30 minutes)
When the initial deploy is complete, visit your new Wiki Farm (e.g. https://mywikiserver.com)
The above commands result in a fully configured server running a MediaWiki wiki farm and the default wiki named "demo".
The demo wiki is pre-configured with a single user named: Admin . At any time, you can change this password or manipulate the wiki account using the MediaWiki 'CreateAndPromote' maintenance script.
WIKI=demo /opt/htdocs/mediawiki/maintenance/run createAndPromote --force --sysop --bureaucrat Admin SomeNewPassword