Difference between revisions of "Make your own Wiki"

From TheInterWiki
Line 20: Line 20:
 
#*SSH into the server
 
#*SSH into the server
 
#*[[Startup Instructions | Follow the instructions here]]
 
#*[[Startup Instructions | Follow the instructions here]]
===Add a domain name==
+
===Add a domain name===
 
#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
 +
===Maintenance===
 +
*Use apt-update and upgrade to patch your operating system regularly. (weekly) (SSH and CLI)
 +
*Monitor [[RecentChanges]] for malicious activity. (At least weekly)
 
#Install [https://certbot.eff.org/ CertBot]
 
#Install [https://certbot.eff.org/ CertBot]

Revision as of 01:06, 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

Maintenance

  • Use apt-update and upgrade to patch your operating system regularly. (weekly) (SSH and CLI)
  • Monitor RecentChanges for malicious activity. (At least weekly)
  1. Install CertBot