Configures a system to run mediawiki. It will install and configure MySQL, Apache, and PHP. This cookbook downloads the specified version of mediawiki, untars it, and drops it in your desired location. You will need to configure the wiki for yourself.
CentOS/RHEL 6
Key | Type | Description | Default |
---|---|---|---|
['mediawiki']['enable_https'] | Boolean | whether to include apache2::mod_ssl | false |
['mediawiki']['version'] | String | Version number of mediawiki to install | 1.24.0 |
['mediawiki']['path'] | String | Location to install mediawiki files | /var/www/html/wiki |
['mediawiki']['mysql_host'] | String | Location of MySQL Server | localhost |
['mediawiki']['mysql_password'] | String | MySQL root user password | randompassword |
['mediawiki']['mysql_dbname'] | String | Wiki database name | wiki |
['mediawiki']['mysql_dbuser'] | String | Wiki MySQL password | wiki_user |
['mediawiki']['mysql_dbpass'] | String | Wiki MySQL user password | wiki_pass |
Include mediawiki
in your node's run_list
:
{
"run_list": [
"recipe[mediawiki::default]"
]
}
Author:: Patrick Moore ([email protected])