nextcloud/docs/INSTALL

37 lines
909 B
Plaintext
Raw Normal View History

2010-03-15 14:22:42 +03:00
== PREREQUISITS ==
php5
currently mysql, should optionally be sqlite
== SETUP ==
Set up your paths in:
config/config.php
Your data will be in:
$CONFIG_DATADIRECTORY = '/www/testy';
2010-03-15 18:08:46 +03:00
Apache needs to have write permissions to this directory.
2010-03-15 14:22:42 +03:00
And the ownCloud path is:
$CONFIG_DOCUMENTROOT = '/www/owncloud/htdocs';
2010-03-15 18:08:46 +03:00
The ownCloud checkout should be in the root of "htdocs".
2010-03-15 14:22:42 +03:00
Both are absolute paths, so if your server is in /var/www, you need to add the /var
2010-03-15 18:08:46 +03:00
== Database ==
The database should by default be sqlite. No configuration there.
2010-03-15 14:22:42 +03:00
2010-03-15 18:08:46 +03:00
But until then you need some setup with mysql:
2010-03-15 14:22:42 +03:00
2010-03-15 18:08:46 +03:00
Create a table "owncloud":
mysqladmin create owncloud -u root -p
2010-03-10 15:03:40 +03:00
2010-03-15 18:08:46 +03:00
Dump the default database schema:
mysql owncloud -u root -p < owncloud.sql
2010-03-10 15:03:40 +03:00
2010-03-15 18:08:46 +03:00
TODO: you also need to create a mysql user that is configured in config/config.php
Please help improving this documentation!
Create merge requests at gitorious.org/owncloud .
2010-03-10 15:03:40 +03:00