Changes

Jump to navigation Jump to search
2,185 bytes added ,  23:59, 28 December 2014
Line 16: Line 16:     
==Installation==
 
==Installation==
 +
===Version 7.0.4===
 +
Download the latest 7.x version from here http://download.owncloud.org/community/owncloud-7.0.4.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-7.0.4.tar.bz2
 +
tar xvf owncloud-7.0.4.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 owncloud. Change '''owncloud''', '''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
 +
 +
===Version 5.0.17===
 
Download the latest 5.x version from here http://download.owncloud.org/community/owncloud-5.0.17.tar.bz2
 
Download the latest 5.x version from here http://download.owncloud.org/community/owncloud-5.0.17.tar.bz2
  
6

edits

Navigation menu