Changes

From Amahi Wiki
Jump to: navigation, search
m
*The installation of owncloud places the “data” directory in the same location as the ownCloud binaries. As such this causes the data directory to be visible on the internet/on an intranet. To resolve this the Apache web server “.htaccess” file functionality must be enabled in the owncloud virtual server setup. When the Amahi ownCloud web application was created an Apache virtual host file was created at “/etc/httpd/conf.d” and with a name similar to this, “1###-owncloud.conf”.
<blockquote>Change the lines near the bottom to this:
{{Text|Text=Options Indexes FollowSymLinks +ExecCGI
AddHandler fcgid-script .fcg
</blockquote>
more coming soon*Now an ".htaccess" file needs to be created in the ownCloud data directory.“cd” to the data directory located at "/var/httpd/html/owncloud/data/". <blockquote>Add the following lines:{{Text|Text=deny from allIgnoreIndex *}} *Now do a change ownership on the ".htaccess" file to ensure that Apache has access to the file. <blockquote>{{Code|chown apache:users .htaccess}}</blockquote> *The file upload size for ownCloud is set to a maximum of 512 MB per file to be uploaded. There are two values stored in file “/var/hda/web-apps/owncloud/html/.htaccess”. The settings are called “upload_max_filesize” and “post_max_size”. <blockquote>Change the values to something like this:{{Text|Text=php_value upload_max_filesize 4.7Gphp_value post_max_size 5G}} *Reboot the server. *After the server reboots the installation of ownCloud needs to be completed. On the console start the internet web browser and go to URL: http://owncloud.
===Upgrading ownCloud to New Releases===