Changes

From SME Server
Jump to navigationJump to search
250 bytes added ,  02:18, 1 February 2013
Quick install ibay settings & mysql notes & command line instead of console
Line 11: Line 11:  
Download the latest version from here http://owncloud.org/releases/ Latest version tested: 4.5.6
 
Download the latest version from here http://owncloud.org/releases/ Latest version tested: 4.5.6
   −
* Create an iBay following the standard procedure for creating an iBay and '''think about allow the execution of cgi/php/ssi scripts'''
+
* Create an ibay in server manager, with the following typical settings:
* Extract ownCloud into the html directory of the new iBay (in this example called 'owncloud' )
+
Information bay name - owncloud, Description - owncloud site, Group - Admin, User access - Write = group, Read = everyone,
For example, you might need to adjust the version of owncloud, see on the owncloud website
+
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/
 
  cd /home/e-smith/files/ibays/owncloud/html/
 
  wget http://owncloud.org/releases/owncloud-4.5.6.tar.bz2
 
  wget http://owncloud.org/releases/owncloud-4.5.6.tar.bz2
Line 20: Line 22:  
  mv owncloud/.htaccess .
 
  mv owncloud/.htaccess .
 
  rm  index.html  
 
  rm  index.html  
* Set proper iBay settings through console:
+
* Set appropriate ibay settings at the command line prompt:
 
  <nowiki>db accounts setprop owncloud \
 
  <nowiki>db accounts setprop owncloud \
 
AllowOverride All \
 
AllowOverride All \
Line 36: Line 38:  
  <nowiki>
 
  <nowiki>
 
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
 
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
  nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99allow_url_fopen
+
  nano -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99allow_url_fopen
 
  </nowiki>
 
  </nowiki>
   Line 47: Line 49:  
  </nowiki>
 
  </nowiki>
   −
* then enter on the console:
+
* then at the command line prompt enter:
    
  <nowiki>
 
  <nowiki>
Line 54: Line 56:  
  </nowiki>
 
  </nowiki>
   −
4. Create a new MySQL database (Again, in this example the database name is owncloud and replace username and password for your own chosen ones)
+
4. Create a new MySQL database (In this example the database name is owncloud. Change databasename, username and password with your own choices as required)
   −
Login as root and issue on the console:
+
Login as root and issue the following command:
 
  mysql
 
  mysql
 
  create database owncloud;
 
  create database owncloud;
624

edits

Navigation menu