Difference between revisions of "Startup Instructions"
Line 27: | Line 27: | ||
If you have never used a simple text editor, you may want to read up on it. Just Google "unix nano". | If you have never used a simple text editor, you may want to read up on it. Just Google "unix nano". | ||
− | + | Let's change the name of your wiki first. Look for this section near the top: | |
− | <code> | + | <code> <pre> |
+ | $wgSitename = "TheInterWiki"; | ||
+ | $wgMetaNamespace = "TheInterWiki"; | ||
+ | </pre> </code> |
Revision as of 23:58, 11 November 2021
Welcome!
Welcome to your new wiki! This is a static page with a list of items you *must* do before you can access your wiki. The last thing you will do is rename this page so you can access your actual wiki.
Fix your configuration file
If you’re seeing this page, then you have successfully launched the AMI and it’s running on your server. The wiki configuration file expects a few pieces of information that only you can give it.
You will need to log-in to the Unix command-line interface(CLI) to make these changes. When you launched your instance from the AMI, you created a key pair. You will reference this key pair when using SSH to connect.
You can find a connection guide by clicking the connect button after selecting your instance from the list on your AWS EC2 dashboard.
Once you are connected to your CLI, you will need to edit the LocalSettings.php file.
First, change directory (cd) to the web server directory:
cd /var/www/html
Now, list all the files:
ls -al
This is your wiki code, the actual information in your pages will be stored in a database, more on that later.
Open a simple text editor and tell it to open the LocalSettings.php file with this command:
sudo nano LocalSettings.php
If you have never used a simple text editor, you may want to read up on it. Just Google "unix nano".
Let's change the name of your wiki first. Look for this section near the top:
$wgSitename = "TheInterWiki";
$wgMetaNamespace = "TheInterWiki";