This repository has been archived by the owner on Mar 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 151
Using Owncloud
Stefaan Ghysels edited this page Aug 11, 2017
·
7 revisions
OwnCloud provides universal access to your files via the web, computer or mobile devices — wherever you are.
- Ability to open TCP81 port to access ownCloud from internet.
- Install necessary packages:
opkg install \
bzip2 \
php5-cgi \
lighttpd-mod-fastcgi \
lighttpd-mod-access \
php5-mod-ctype \
php5-mod-curl \
php5-mod-dom \
php5-mod-fileinfo \
php5-mod-gd \
php5-mod-hash \
php5-mod-iconv \
php5-mod-json \
php5-mod-mbstring \
php5-mod-pdo \
php5-mod-pdo-sqlite \
php5-mod-session \
php5-mod-simplexml \
php5-mod-sqlite3 \
php5-mod-xml \
php5-mod-xmlwriter \
php5-mod-xmlreader \
php5-mod-zip
- Download and unpack ownCloud files:
wget -O - http://download.owncloud.org/community/owncloud-8.2.1.tar.bz2 | \
bzip2 -cd | tar -xvC /opt/share/www/
- Add following strings at the end of
/opt/etc/lighttpd/conf.d/owncloud.conf
:
server.port = 81
fastcgi.server = (
".php" =>
( "localhost" =>
( "socket" => "/tmp/php-fcgi.sock",
"bin-path" => "/opt/bin/php-fcgi",
"max-procs" => 1,
"bin-environment" =>
( "PHP_FCGI_CHILDREN" => "2",
"PHP_FCGI_MAX_REQUESTS" => "1000"
)
)
)
)
$HTTP["url"] =~ "^/owncloud/data/" {
url.access-deny = ("")
}
$HTTP["url"] =~ "^/owncloud($|/)" {
dir-listing.activate = "disable"
}
- Edit
/opt/etc/php.ini
:
upload_max_filesize = 100M
post_max_size = 100M
memory_limit = 32M
- Start lighttpd:
/opt/etc/init.d/S80lighttpd start
Open http://<ip address of device>:81/owncloud
and create new account. You can access your files via Web interface or Desktop/Mobile clients.
- ownCloud project page - https://owncloud.org/
- ownCloud on asuswrt-merlin - http://www.snbforums.com/threads/how-to-owncloud-on-router.10403/