AWS Quick Startup
- 1-click launch
- SSH into command line.
- Create MySQL user and database for MediaWiki. Grant all privileges to user for database.
- From the command line launch MySQL with super user privileges.
Sudo MySQL
- Create the database. Pick a database name for your installation.
CREATE DATABASE wikidb;
- Create a user for mediawiki to access the database. Pick a name and good password for this command.
CREATE USER 'wikiuser'@'localhost' IDENTIFIED BY 'strongpassword';
- Give the user rights to the database.
GRANT ALL PRIVILEGES ON wikidb.* TO 'wikiuser'@'localhost' WITH GRANT OPTION;
- Go to web server: yourdomain.com/wiki . Follow instructions to install MediaWiki. (Depending on how the subscriber launches this product, they may not have a domain for the launched instance. It may be better to recommend that the subscriber navigates to https://<EC2_Instance_Public_DNS>/wiki. They can readily pull the Public DNS from the EC2 console and navigate to the front facing MediaWiki page to continue steps.)
-Under extras, check only Visual Editor. The rest will be installed from the back end.
- Download LocalSettings.php - SSH to command line. sudo nano /var/www/html/wiki/LocalSettings.php - Paste in full text from downloaded file and add text from /var/www/html/wiki/SettingsExtras.php. Save file. - Open MySQL and import theinterwikidata.sql, this will overwrite all but the admin user with all the template data. Exit MySQL. - Run php /var/www/html/wiki/maintenance/update.php twice. - Run php /var/www/html/wiki/extensions/SemanticMediaWiki/maintenance/rebuildData.php - Go back to the web interface and confirm all is working. - Proceed to fill in physicians and Procedure data.
Though this is not necessary, Markdown notation is accepted within the Usage Instructions field. This means that we can create a more visually organized means of providing this information/instructions. I'll leave an example of what you could provide for your Usage Instructions:
- SSH into EC2 Instance ###
- SSH over port 22 to your Linux instance - Login with username: ubuntu
- MYSQL User/DB creation on Instance ###
- Steps to create user/db - Steps to create user/db
- Accessing the WebUI ###
- Through a web browsers navigate to the public DNS of your instance: https://<EC2_Instance_Public_DNS>/wiki - Next Steps to complete the installation
- Location of saved Data on instance ###
- Location of MYSQL DB - Any other location - AMI and container product usage instructions
- Additional Dependencies ###
- Stable Internet connection required - AMI-based product requirements
This sample formatting is an example that you can leverage, but is not required. The usage instructions will require clarified steps on how the user can create a user/db. Any other actions that are required from the subscriber to create resources, will need to be detailed.
Please let me know if you have any further questions regarding the provided feedback.