Browse Source

Upgrade Owncloud to version 7

Bob Mottram 10 years ago
parent
commit
f03dce377b
1 changed files with 9 additions and 2 deletions
  1. 9
    2
      beaglebone.txt

+ 9
- 2
beaglebone.txt View File

5375
 
5375
 
5376
 #+BEGIN_SRC: bash
5376
 #+BEGIN_SRC: bash
5377
 sha256sum owncloud.tar.bz2
5377
 sha256sum owncloud.tar.bz2
5378
-92b53fdfa7c4165b83dd2f8447f63928454a5815d08ff2d6165dd1a8969ecbe1 owncloud.tar.bz2
5378
+9aca2aa0a0cd7b052e881c30ad6de25d135ec3f88a3920274f1be223b4cabedf
5379
 #+END_SRC
5379
 #+END_SRC
5380
 
5380
 
5381
 Extract the archive.  This may take a couple of minutes, so don't be alarmed that the system has crashed.
5381
 Extract the archive.  This may take a couple of minutes, so don't be alarmed that the system has crashed.
5385
 tar -xjf owncloud.tar.bz2
5385
 tar -xjf owncloud.tar.bz2
5386
 #+END_SRC
5386
 #+END_SRC
5387
 
5387
 
5388
-Move the extracted files to your site and set file permissions.
5388
+The extraction will take a few minutes. Move the extracted files to your site and set file permissions.
5389
 
5389
 
5390
 #+BEGIN_SRC: bash
5390
 #+BEGIN_SRC: bash
5391
 cp -r owncloud /var/www/$HOSTNAME/htdocs
5391
 cp -r owncloud /var/www/$HOSTNAME/htdocs
5392
+#+END_SRC
5393
+
5394
+The copying also takes a few minutes. Then change the file permissions.
5395
+
5396
+#+BEGIN_SRC: bash
5392
 chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud/apps
5397
 chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud/apps
5393
 chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud/config
5398
 chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud/config
5394
 chown www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud
5399
 chown www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud
5412
 
5417
 
5413
 With a web browser visit your domain (mydomainname.com/owncloud) and enter an administrator username and password.
5418
 With a web browser visit your domain (mydomainname.com/owncloud) and enter an administrator username and password.
5414
 
5419
 
5420
+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.
5421
+
5415
 *** Owncloud on Android
5422
 *** Owncloud on Android
5416
 
5423
 
5417
 First install [[https://f-droid.org/][F-Droid]] and then search for the current Owncloud app.  Once it's installed you'll then be able to log into the BBB with the URL https://mydomainname.com/opencloud, supplying your username and password.
5424
 First install [[https://f-droid.org/][F-Droid]] and then search for the current Owncloud app.  Once it's installed you'll then be able to log into the BBB with the URL https://mydomainname.com/opencloud, supplying your username and password.