2011-12-11 15:29:20 +01:00
|
|
|
===========================================================================
|
2012-05-15 22:18:34 +02:00
|
|
|
$NetBSD: MESSAGE,v 1.4 2012/05/15 20:18:34 ryoon Exp $
|
2011-12-11 15:29:20 +01:00
|
|
|
|
|
|
|
To use ownCloud, you will need to perform the following steps.
|
|
|
|
|
2011-12-18 09:38:14 +01:00
|
|
|
1. If you want to use with MySQL server, install databases/mysql51-*
|
2011-12-11 15:29:20 +01:00
|
|
|
and enable it, then create database.
|
|
|
|
|
|
|
|
2. Install apache httpd server, for example www/apache22 and www/ap-php.
|
|
|
|
|
|
|
|
3. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf
|
|
|
|
|
2012-02-17 17:40:23 +01:00
|
|
|
DocumentRoot "${PREFIX}/share/owncloud"
|
2011-12-11 15:29:20 +01:00
|
|
|
LoadModule php5_module lib/httpd/mod_php5.so
|
|
|
|
AddType application/x-httpd-php .php
|
|
|
|
<Directory ${PREFIX}/share/owncloud>
|
2012-05-15 22:18:34 +02:00
|
|
|
DirectoryIndex index.php
|
2011-12-11 15:29:20 +01:00
|
|
|
Options All
|
|
|
|
Allow from All
|
2012-05-15 22:18:34 +02:00
|
|
|
AllowOverride All
|
2011-12-11 15:29:20 +01:00
|
|
|
</Directory>
|
|
|
|
|
|
|
|
4. Be sure to have the following lines in ${PREFIX}/etc/php.ini.
|
|
|
|
|
2012-02-17 17:40:23 +01:00
|
|
|
extension=dom.so
|
|
|
|
extension=gd.so
|
2011-12-11 15:29:20 +01:00
|
|
|
extension=json.so
|
2012-02-17 17:40:23 +01:00
|
|
|
extension=mbstring.so
|
|
|
|
extension=zip.so
|
2011-12-18 09:38:14 +01:00
|
|
|
extension=sqlite.so ;if you select sqlite backend.
|
|
|
|
extension=mysql.so ;if you select MySQL backend.
|
2011-12-11 15:29:20 +01:00
|
|
|
|
|
|
|
5. Start apache httpd.
|
|
|
|
|
2012-05-15 22:18:34 +02:00
|
|
|
6. Access http://localhost/ and setup.
|
2011-12-11 15:29:20 +01:00
|
|
|
===========================================================================
|