Changes

Jump to navigation Jump to search
2,174 bytes removed ,  01:35, 29 December 2014
delete and archive obsolete OC 5.x info (thanks Andywismer for 7.x info)
Line 72: Line 72:  
5. Browse to http://yourserver/owncloud and follow install script
 
5. Browse to http://yourserver/owncloud and follow install script
   −
===Version 5.0.17===
  −
Download the latest 5.x version from here http://download.owncloud.org/community/owncloud-5.0.17.tar.bz2
     −
* Create an ibay in server manager, with the following typical settings:
  −
Information bay name - owncloud, Description - owncloud site, Group - Admin, User access - Write = group, Read = everyone,
  −
Public access via web - Entire Internet (no password required), Execution of dynamic content - Enabled
  −
* Extract ownCloud into the html directory of the new ibay (in this example called 'owncloud' )
  −
In the following code, change the version number of owncloud to suit the current version downloaded from the owncloud website
  −
cd /home/e-smith/files/ibays/owncloud/html/
  −
wget http://download.owncloud.org/community/owncloud-5.0.17.tar.bz2
  −
tar xvf owncloud-5.0.17.tar.bz2
  −
mv owncloud/* .
  −
mv owncloud/.htaccess .
  −
rm  index.html
  −
* Set appropriate ibay settings at the command line prompt:
  −
<nowiki>db accounts setprop owncloud \
  −
AllowOverride All \
  −
FollowSymLinks enabled \
  −
Group www \
  −
PHPBaseDir /home/e-smith/files/ibays/owncloud/:/tmp/ \
  −
PublicAccess global \
  −
UserAccess wr-group-rd-everyone
  −
</nowiki>
  −
  −
* Update the ibay
  −
signal-event ibay-modify owncloud
  −
  −
* you also need to allow the "allow_url_fopen"
  −
<nowiki>
  −
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
  −
nano -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99allow_url_fopen
  −
</nowiki>
  −
  −
* and paste the following and save this
  −
  −
<nowiki>
  −
<Directory /home/e-smith/files/ibays/owncloud/html>
  −
php_admin_flag allow_url_fopen on
  −
</Directory>
  −
</nowiki>
  −
  −
* then at the command line prompt enter:
  −
  −
<nowiki>
  −
expand-template /etc/httpd/conf/httpd.conf
  −
/etc/init.d/httpd-e-smith restart
  −
</nowiki>
  −
  −
4. Create a new MySQL database (In this example the database name is databasename. Change '''databasename''', '''username''' and '''password''' with your own choices as required)
  −
  −
Login as root and issue the following command:
  −
mysql
  −
create database '''databasename''';
  −
grant all privileges on '''databasename'''.* to '''username''' identified by ''''password'''';
  −
flush privileges;
  −
exit
  −
  −
5. Browse to http://yourserver/owncloud and follow install script
      
==Optional Addons & Settings==
 
==Optional Addons & Settings==

Navigation menu