blob: 0c6d85e5dd053cd986a89928e60c19ca4dbc9e11 (
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
37
38
39
|
===========================================================================
$NetBSD: MESSAGE,v 1.8 2012/11/07 21:30:45 ryoon Exp $
To use ownCloud, you will need to perform the following steps.
1. If you want to use with MySQL server, install databases/mysql51-*
and enable it, then create database.
2. Install apache httpd server, for example www/apache24 and www/ap-php.
3. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf
DocumentRoot "${PREFIX}/share/owncloud"
LoadModule php5_module lib/httpd/mod_php5.so
AddType application/x-httpd-php .php
<Directory "${PREFIX}/share/owncloud">
DirectoryIndex index.php
Options All
Allow from All
AllowOverride All
Require all granted
</Directory>
4. Be sure to have the following lines in ${PREFIX}/etc/php.ini.
extension=dom.so
extension=gd.so
extension=json.so
extension=mbstring.so
extension=pdo.so
extension=zip.so
extension=pdo_sqlite.so ;if you select sqlite backend.
extension=mysql.so ;if you select MySQL backend.
5. Start apache httpd.
6. Access http://localhost/ and setup.
===========================================================================
|