Difference between revisions of "Make your own Wiki"

From TheInterWiki
Line 24: Line 24:
 
#Use AWS Route53 to purchase and link your chosen domain name
 
#Use AWS Route53 to purchase and link your chosen domain name
 
#Install [https://certbot.eff.org/ CertBot]
 
#Install [https://certbot.eff.org/ CertBot]
#Change LocalSettings.php to point to your https address instead of http.
+
#Change LocalSettings.php to point to https:yourdomainname.
 
===Maintenance===
 
===Maintenance===
 
*Use apt-update and upgrade to patch your operating system regularly. (weekly) (SSH and CLI)
 
*Use apt-update and upgrade to patch your operating system regularly. (weekly) (SSH and CLI)
 
*Monitor [[Special:RecentChanges]] for malicious activity. (At least weekly)
 
*Monitor [[Special:RecentChanges]] for malicious activity. (At least weekly)
 
*Set-up a backup protocol through AWS EC2 Lifecycle manager
 
*Set-up a backup protocol through AWS EC2 Lifecycle manager

Revision as of 20:33, 15 December 2021

This page is a step-by-step instruction to create your own wiki like this one. You must have a sense of adventure and good Google skills, or have a working knowledge of the following:

  • LAMP servers
    • Unix/Linux
    • MySQL or MariaDB
    • PHP
  • SSH and Command Line Interface (CLI)
  • Amazon Web Services (AWS)

Overview

Get the wiki running

  1. Create an AWS account
  2. Create an EC2 free-tier instance:
    • Use theInterWiki snapshot (Updated soon)
    • Save your SSH key
    • Set your security group Inbound rules for:
      • All access port 80
      • SSH from your IP only
    • Outbound rules: Port 80 open to all
  3. When it is launched:

Add a domain name

  1. Get and assign an Elastic IP to your instance from your AWS EC2 dashboard
  2. Use AWS Route53 to purchase and link your chosen domain name
  3. Install CertBot
  4. Change LocalSettings.php to point to https:yourdomainname.

Maintenance

  • Use apt-update and upgrade to patch your operating system regularly. (weekly) (SSH and CLI)
  • Monitor Special:RecentChanges for malicious activity. (At least weekly)
  • Set-up a backup protocol through AWS EC2 Lifecycle manager