Difference between revisions of "Make your own Wiki"

From TheInterWiki
Line 23: Line 23:
 
#Get and assign an Elastic IP to your instance from your AWS EC2 dashboard
 
#Get and assign an Elastic IP to your instance from your AWS EC2 dashboard
 
#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]
 +
#Change LocalSettings.php to point to your https address instead of http.
 
===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)
#Install [https://certbot.eff.org/ CertBot]
 

Revision as of 01:08, 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 your https address instead of http.

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)