Unattended Install

I’m working on a chef cookbook to install piwik. Is there a script that does the same thing as the installation web page? If not, what config files and database entries do I need to modify to get things running?

Or can I just get away with loading a mysqldump of a freshly installed piwik?

During installs two things happen

  • creation of the config/config.ini.php file
  • initialization of the DB

You would need to manually replicate these if you don’t want to install via the install UI, but this is not officially supported, as the UI itself might do more than that, and your emulation might lack some features. But technically it can work.

[quote=matthieu @ Apr 8 2010, 01:33 PM]During installs two things happen

  • creation of the config/config.ini.php file
  • initialization of the DB

You would need to manually replicate these if you don’t want to install via the install UI, but this is not officially supported, as the UI itself might do more than that, and your emulation might lack some features. But technically it can work.[/quote]

Thanks, I think I can hack it to work.

A script to run an automated install that did the same thing as the web form would be nice though.