Changes

From Amahi Wiki
Jump to: navigation, search
{{NeedsUpdate}}This article section covers the manual installation for [http://www.amahi.org/apps/owncloud ownCloud] on the Fedora 14 (32 bit) version of Amahi. The following installation and setup information helped as part of the process to create the Amahi ownCloud “one-click” installation package.
__TOC__
===Prerequisites===
*Fairly "typical" LAMP technology stack, fortunately Amahi provides "most" of the technology components.
*PHP V5.3 .2 or greaterup to and including ownCloud V7.x. ownCloud 8 or greater requires a minimum of PHP V5.4.x.*Database, MySQL or SQLite(meant for smaller systems such as the Raspberry Pi). Amahi uses MariaDB (previously MySQL ) so why change?
*Favorite text editor.
*Favorite SQL administration (phpMyAdmin) tool, good MySQL database command-line skills, or the Amahi "hda-create-*db-and-user" command line utility.
*Access to owncloud V4.0.7 (tar.bz2 only) or greater.
===Installation===
====PHP====
ownCloud requires PHP V5.3 .4 or greater to be installed on the server. The following additional PHP modules need to be installed.
{| style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000; padding: 1px"
<br/>
Install PHP modules:
<blockquote>{{Code|<pre>yum install php-gd php-imap php-ldap php-mbstring php-mysql php-odbc php-pdo php-pear php-xml}}</pre>
</blockquote>
<br/>
Install the libraries:
<blockquote>{{Code|<pre>yum install pcre libzip zlib curl libcurl}}</pre>
</blockquote>
ownCloud requires it's own database and a database user ID in order to store cloud information. We will use the command line and an Amahi HDA (hda-create-db-and-user) application to create the database, user ID, and password. This creates a database called "owncloud" and a corresponding user name "owncloud" (the password is also the same as the database and user ID).
<blockquote>{{Code|<pre>hda-create-db-and-user owncloud}}</pre>
</blockquote>
*"cd" in to the working directory.
*Use the "tar" command to extract the ownCloud binaries in to the working directory. We will use the ownCloud downloaded file name as "owncloud-4.0.7.tar.bz2". The owncloud tar file will be extracted in to an "owncloud" subdirectory in the working directory.
<blockquote>{{Code|<pre>tar -xjf owncloud-4.0.7.tar.bz2}}</pre>
</blockquote>
*Go to the command line and switch to the root user ID for the next steps.
<blockquote>Change the lines near the bottom to this:
{{Text|Text=<pre>Options Indexes FollowSymLinks +ExecCGI
AddHandler fcgid-script .fcg
AllowOverride FileInfo Limit Options Indexes
Order allow,deny
Allow from all}}</pre>
</blockquote>
*Reboot the server.
*After the server reboots the installation of ownCloud needs to be completed on the console by running the internet web browser and going to URL: <nowiki>http://owncloud</nowiki>.
*The first screen entries are requesting for the "administration" account to be created. Enter “admin” as the user ID and the password as "admin". '''DO NOT''' hit the “Finish Setup” button yet!
----
[[OwnCloud|Main ownCloud Page]] | [[OwnCloud Tips|ownCloud Tips Page]]
----
<!--Category References follow-->[[Category:AppsownCloud Collection]]