Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
| docs:guide-user:services:nas:owncloud [2020/04/25 17:18] – Added instructions for MySQL installation. goncaloaps | docs:guide-user:services:nas:owncloud [2020/04/26 15:13] – links fixed tmomas | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| It's recommended to have at least a dualcore ARMv7 processor if you are not running OpenWrt on PC/server hardware. | It's recommended to have at least a dualcore ARMv7 processor if you are not running OpenWrt on PC/server hardware. | ||
| - | I've installed ownCloud on an TP-Link [[toh/tp-link/tl-wr2543nd|TL-WR2543ND]], | + | I've installed ownCloud on an TP-Link [[toh:tp-link:tl-wr2543nd|TL-WR2543ND]], |
| --- //unknown// | --- //unknown// | ||
| - | I've also installed it on a more powerful TP_Link [[toh/tp-link/tl-wdr3500|TL-WDR3500]] but it's still very slow, 4-5 secs per page... | + | I've also installed it on a more powerful TP_Link [[toh:tp-link:tl-wdr3500|TL-WDR3500]] but it's still very slow, 4-5 secs per page... |
| --- // | --- // | ||
| Line 46: | Line 46: | ||
| ===== Install & configure webserver ===== | ===== Install & configure webserver ===== | ||
| - | ownCloud can't be installed on uhttpd (default web server on OpenWRT). You need to install and configure lighttpd. | + | ownCloud can't be installed on uhttpd (default web server on OpenWrt). You need to install and configure lighttpd. |
| I had trouble moving Luci from uhttpd to lighttpd so I recommend keeping uhttpd running for Luci on a different port and assign port 80 to lighttpd for ownCloud. | I had trouble moving Luci from uhttpd to lighttpd so I recommend keeping uhttpd running for Luci on a different port and assign port 80 to lighttpd for ownCloud. | ||
| ==== Change uhttpd port ==== | ==== Change uhttpd port ==== | ||
| - | Edit / | + | Edit '' |
| - | config uhttpd main | + | config uhttpd main |
| - | list listen_http | + | list listen_http |
| - | list listen_http | + | list listen_http |
| - | + | ||
| - | list listen_https | + | list listen_https |
| - | list listen_https | + | list listen_https |
| Restart uhhtpd. | Restart uhhtpd. | ||
| Line 72: | Line 72: | ||
| opkg install lighttpd lighttpd-mod-cgi lighttpd-mod-fastcgi lighttpd-mod-access | opkg install lighttpd lighttpd-mod-cgi lighttpd-mod-fastcgi lighttpd-mod-access | ||
| - | Now configure lighttpd for ownCloud. Edit the config-file / | + | Now configure lighttpd for ownCloud. Edit the config-file |
| Set www-root for ownCloud: | Set www-root for ownCloud: | ||
| Line 97: | Line 97: | ||
| $HTTP[" | $HTTP[" | ||
| url.access-deny = ("" | url.access-deny = ("" | ||
| - | } | + | } |
| $HTTP[" | $HTTP[" | ||
| Line 113: | Line 113: | ||
| ===== Install & configure PHP ===== | ===== Install & configure PHP ===== | ||
| Get the dirty part: php and sqlite. I am not sure if really all of these packages are necessary, but it seems so: | Get the dirty part: php and sqlite. I am not sure if really all of these packages are necessary, but it seems so: | ||
| - | opkg install php7 php7-cgi php7-fastcgi php7-mod-json php7-mod-session php7-mod-zip libsqlite3 zoneinfo-core php7-mod-pdo php7-mod-pdo-sqlite php7-mod-ctype php7-mod-mbstring php7-mod-gd sqlite3-cli php7-mod-sqlite3 php7-mod-curl curl php7-mod-xml php7-mod-simplexml php7-mod-hash php7-mod-dom php7-mod-iconv php7-mod-xmlwriter php7-mod-xmlreader php7-mod-intl | + | |
| + | | ||
| Those packages are also suggested: | Those packages are also suggested: | ||
| Line 284: | Line 285: | ||
| ===== ownCloud on alternative destination ===== | ===== ownCloud on alternative destination ===== | ||
| - | If you don't want to set up a extroot, you can install ownCloud on a different location | + | If you don't want to set up a extroot, you can install ownCloud on a different location |
| Install php on another location, then | Install php on another location, then | ||
| Line 309: | Line 310: | ||
| * [0] [[http:// | * [0] [[http:// | ||
| - | * [1] [[doc/howto/usb.essentials]] | + | * [1] [[docs: |
| - | * [2] [[docs: | + | * [2] [[docs: |
| * [3] [[http:// | * [3] [[http:// | ||
| * [4] [[http:// | * [4] [[http:// | ||
| * [5] [[http:// | * [5] [[http:// | ||