|
@@ -5623,6 +5623,26 @@ chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/config
|
5623
|
5623
|
chown www-data:www-data /var/www/$HOSTNAME/htdocs
|
5624
|
5624
|
#+END_SRC
|
5625
|
5625
|
|
|
5626
|
+Increase the maximum upload size:
|
|
5627
|
+
|
|
5628
|
+#+BEGIN_SRC: bash
|
|
5629
|
+editor /etc/php5/fpm/php.ini
|
|
5630
|
+#+END_SRC
|
|
5631
|
+
|
|
5632
|
+Set the following:
|
|
5633
|
+
|
|
5634
|
+#+BEGIN_SRC: bash
|
|
5635
|
+upload_max_filesize = 50M
|
|
5636
|
+post_max_size = 50M
|
|
5637
|
+#+END_SRC
|
|
5638
|
+
|
|
5639
|
+Save and exit.
|
|
5640
|
+
|
|
5641
|
+#+BEGIN_SRC: bash
|
|
5642
|
+service php5-fpm restart
|
|
5643
|
+service nginx restart
|
|
5644
|
+#+END_SRC
|
|
5645
|
+
|
5626
|
5646
|
With a web browser visit your domain (mydomainname.com/owncloud) and enter an administrator username and password.
|
5627
|
5647
|
|
5628
|
5648
|
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.
|