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 | + | #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
- Create an AWS account
- 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
- When it is launched:
- SSH into the server
- Follow the instructions here
Add a domain name
- 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
- Install CertBot
- 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