Server Setup

From Gutmenschen Wiki
Jump to navigation Jump to search

Here we outline how to setup a server on Hetzner.

1. Get a Server: Hetzner.de (5 minutes – 2,96 € - 59,38 € / month )

  1. Register an account @https://accounts.hetzner.com/signUp (Enter e-mail and two-times a password)
  2. Go to https://accounts.hetzner.com/login and login into your cloud overview
  3. Click on "+ Neues Projekt" and enter a new name for your project, for example "wiki.yourdomain.org" – then press ENTER
  4. Click on your new project
  5. Click on "Server hinzufügen" to add a new server
  6. Under 1. – Select "Nürnberg" for a German server or "Helsinki" for a Finish server
  7. Under 2. – Select "Ubuntu" or "Debian"
  8. Under 3. – Select from "CX11" (low requirements) to "CPX51" (highest requirements)
  9. Click on "Kostenpflichtig bestellen" to order your server
  10. You will receive an e-mail with your server login information = server IP (Internet Protocol) address and root (admin user) password


2. Install Wikipedia-style Platform: MediaWiki (30 Minutes)

  1. Open Terminal
  2. type "ssh [email protected]YOUR_IP_ADDRESS_LIKE_123.123.123.123" and press ENTER
  3. Copy and paste (cmd + c to copy and cmd + v to paste) your password into Terminal and confirm with ENTER
  4. Run update and upgrade command: sudo apt-get update && sudo apt-get upgrade
  5. Install web server "LAMP" Stack: sudo apt-get install apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring
  6. Confirm with y + ENTER = FTP (File Transfer Protocol for a FTP-tool like Cyberduck works now)


3. Install a "What You See Is What You Get"-editor (WYSIWYG):Visual Editor (30 Minutes)


4. Setup Short URLs


5. Setup an Analytics Code like Matomo and others