Set maximum upload size
This commit is contained in:
parent
2c44fa56f6
commit
00b3d2b7e1
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue