Administration Guide › Provisioning Resources › Service Provisioning › How to Deploy a Wiki Web Page › Define Applications for Wiki › Define MediaWiki Database
Define MediaWiki Database
The MediaWiki database is the place where the content of the wiki web page is stored.
Follow these steps:
- Click Resources, and in the Explore tree, right-click OnDemand Services, and select New Application.
The Define an Application wizard opens in the Application Details panel.
- Specify the Name, Version, and Vendor for the application.
- Specify the location of the application files (absolute path or relative to the Staging folder).
- Specify MySQL as a prerequisite for this application.
- Click Next.
The System Requirements panel opens.
- Set the following recommended values:
- Number of CPUs – 1
- Memory – 512 MB
- Disk Space – 5 GB
- Operating System – All Windows options
- Click Next.
The Configure Installation Actions panel opens. You will define three installation actions: Install Database, Stop MySQL, and Start MySQL.
- Click + to define the Install Database action.
- On the Select Installation Action panel, in the Action field, input the command to execute:
cmd /C "C:\MySQL\bin\mysql
- Enter a description for the action.
- Click Next.
- On the Define Installation Action Options panel, add the following options:
--user=root
--password=pass
< %CD%\wiki_db.txt > %CD%\output.txt"
- Make the password option user editable.
- Click Finish.
The action is saved.
- Click + to define the Stop MySQL action.
- On the Select Installation Action panel, in the Action field, input the command to execute:
net stop MySqlD
- On the Define Installation Action Options panel, only check the preview and click Finish.
The action is saved.
- Click + to define the Start MySQL action.
- On the Select Installation Action panel, in the Action field, input the command to execute:
net start MySqlD
- On the Define Installation Action Options panel, only check the preview and click Finish.
The action is saved.
- Click Next, and then Finish.
The MediaWiki Database application is saved.
Copyright © 2013 CA.
All rights reserved.
|
|