Jump to content

ownCloud — the private cloud

Recommended Posts

Adapted for Keenetic, the original manual is   here.


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 lighttpd-mod-access lighttpd-mod-fastcgi php7-cgi php7-mod-ctype \
php7-mod-curl php7-mod-dom php7-mod-fileinfo php7-mod-gd php7-mod-hash php7-mod-iconv \
php7-mod-intl php7-mod-json php7-mod-mbstring php7-mod-pdo-sqlite php7-mod-session \
php7-mod-simplexml php7-mod-sqlite3 php7-mod-xml php7-mod-xmlreader php7-mod-xmlwriter \
  • Download and unpack ownCloud files:
wget -O - http://download.owncloud.org/community/owncloud-10.0.10.tar.bz2 | \
bzip2 -cd | tar -xvC /opt/share/www/
  • Create the file `/opt/etc/lighttpd/conf.d/owncloud.conf` and add following strings:
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

Using Owncloud

Open http://<ip address of device>:81/owncloud and create a new account. You can access your files using the Web interface, or a Desktop/Mobile app.



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...