Welcome to mirror list, hosted at ThFree Co, Russian Federation.

INSTALL « docs - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6a31bc57f0106373ddec6722bcd96b6367751d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
== 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';
Apache needs to have write permissions to this directory.

And the ownCloud path is:
$CONFIG_DOCUMENTROOT = '/www/owncloud/htdocs';
The ownCloud checkout should be in the root of "htdocs".

Both are absolute paths, so if your server is in /var/www, you need to add the /var


== Database ==
The database should by default be sqlite. No configuration there.

But until then you need some setup with mysql:

Create a table "owncloud":
mysqladmin create owncloud -u root -p

Dump the default database schema:
mysql owncloud -u root -p < owncloud.sql

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 .