diff --git a/beaglebone.txt b/beaglebone.txt index bdc0319d..16ef1e67 100644 --- a/beaglebone.txt +++ b/beaglebone.txt @@ -5623,6 +5623,26 @@ chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/config chown www-data:www-data /var/www/$HOSTNAME/htdocs #+END_SRC +Increase the maximum upload size: + +#+BEGIN_SRC: bash +editor /etc/php5/fpm/php.ini +#+END_SRC + +Set the following: + +#+BEGIN_SRC: bash +upload_max_filesize = 50M +post_max_size = 50M +#+END_SRC + +Save and exit. + +#+BEGIN_SRC: bash +service php5-fpm restart +service nginx restart +#+END_SRC + With a web browser visit your domain (mydomainname.com/owncloud) and enter an administrator username and password. For extra security you may also wish to create an ordinary owncloud user with limited privileges. To do that click on the *settings* dropdown menu (top right) then *users* then enter a *Login Name* and *password* and click on *create*. Under *quota* select a size which is suitable for the remaining space on your microSD card, then select the settings menu from the top right and select *log out*. You can now log back in as your new user.