[Pkg-owncloud-commits] [owncloud-doc] 38/95: A few more formatting corrections and clarification
David Prévot
taffit at moszumanska.debian.org
Fri Apr 18 21:41:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud-doc.
commit 92ffd5c0bcd35f9efb0ad12c5188b8bcf0e17e1c
Author: Randolph Carter <RandolphCarter at fantasymail.de>
Date: Wed Mar 5 18:25:05 2014 +0100
A few more formatting corrections and clarification
---
admin_manual/installation/installation_source.rst | 61 ++++++++++++++---------
1 file changed, 38 insertions(+), 23 deletions(-)
diff --git a/admin_manual/installation/installation_source.rst b/admin_manual/installation/installation_source.rst
index 20b74ce..c92cf83 100644
--- a/admin_manual/installation/installation_source.rst
+++ b/admin_manual/installation/installation_source.rst
@@ -183,9 +183,9 @@ that user.
where ``<php-user>`` is to be replaced by the user running php scripts, and
``/path/to/your/webservers/document-root/owncloud`` by the folder where the
- extracted owncloud files are located.
+ extracted ownCloud files are located.
-* For Ubuntu 12.04 LTS server, where the owncloud folder was copied into the
+* For Ubuntu 12.04 LTS server, where the ``owncloud`` folder was copied into the
apache document root at ``/var/www``, and the user running apache and php
scripts is called ``www-data``, this would mean you need to run::
@@ -340,9 +340,9 @@ Example config for Apache 2.4:
enabled manually by editing the Apache config files, usually :file:`/etc/httpd/httpd.conf`.
consult the Apache documentation or your distributions documentation.
-* In order for the maximum upload size to be configurable, the .htaccess file in the
- ownCloud folder needs to be made writable by the server (this should already be done,
- see section `Set the Directory Permissions`_).
+* In order for the maximum upload size to be configurable, the
+ :file:`.htaccess` file in the ownCloud folder needs to be made writable by the
+ server (this should already be done, see section `Set the Directory Permissions`_).
* You should make sure that any built-in WebDAV module of your web server is disabled
(at least for the ownCloud directory), as it will interfere with ownCloud's
@@ -484,21 +484,23 @@ Lighttpd Configuration
This assumes that you are familiar with installing PHP application on
lighttpd.
-It is important to note that the **.htaccess** files used by ownCloud to protect the **data** folder are ignored by
-lighttpd, so you have to secure it by yourself, otherwise your **owncloud.db** database and user data are publicly
-readable even if directory listing is off. You need to add two snippets to your lighttpd configuration file:
+It is important to note that the :file:`.htaccess` files used by ownCloud to
+protect the :file:`data` folder are ignored by lighttpd, so you have to secure
+it by yourself, otherwise your :file:`owncloud.db` database and user data are
+publicly readable even if directory listing is off. You need to add two
+snippets to your lighttpd configuration file:
Disable access to data folder::
- $HTTP["url"] =~ "^/owncloud/data/" {
- url.access-deny = ("")
- }
+ $HTTP["url"] =~ "^/owncloud/data/" {
+ url.access-deny = ("")
+ }
Disable directory listing::
- $HTTP["url"] =~ "^/owncloud($|/)" {
- dir-listing.activate = "disable"
- }
+ $HTTP["url"] =~ "^/owncloud($|/)" {
+ dir-listing.activate = "disable"
+ }
**Note for Lighttpd users on Debian stable (wheezy):**
@@ -550,16 +552,17 @@ like this
</redirect>
</server>
-
-The Apache **.htaccess** file that comes with ownCloud is configured to
+The Apache :file:`.htaccess` file that comes with ownCloud is configured to
redirect requests to nonexistent pages. To emulate that behaviour, you
-need a custom error handler for yaws. See this `github gist for further instructions`_ on how to create and compile that error handler.
+need a custom error handler for yaws. See this
+`github gist for further instructions`_ on how to create and compile that error
+handler.
Hiawatha Configuration
**********************
-Add **WebDAVapp = yes** to the ownCloud virtual host. Users accessing
-WebDAV from MacOS will also need to add **AllowDotFiles = yes**.
+Add ``WebDAVapp = yes`` to the ownCloud virtual host. Users accessing
+WebDAV from MacOS will also need to add ``AllowDotFiles = yes``.
Disable access to data folder::
@@ -616,12 +619,24 @@ Follow the Install Wizard
* For larger installs you should use MySQL or PostgreSQL.
* Note that you will only be able to choose among the php database connectors
which are actually installed on the system (see package requirements above).
- * Regarding the database name and user account you have two options:
+ * Further, it is not easily possible to migrate to another database system
+ once you have set up your ownCloud to use a specific one. So make sure to
+ carefully consider which database system to use.
+ * When using MySQL or PostgreSQL you have two options regarding the database
+ name and user account you specify:
* You can specify either an admin/root user, and the name of a database
- which does not yet exist. This lets ownCloud create its own database and
- database user account.
- * You can enter a preconfigured user and an existing database.
+ which does not yet exist. This lets ownCloud create its own database; it
+ will also create a database user account with restricted rights (with the
+ same username as you specified for the administrative user, plus an
+ ``oc_`` prefix) and will use that for all subsequent database access.
+ * You can enter the name of an existing database and the username/password
+ of a user with restricted permissions
+
+ * You can create such a user yourself e.g. via phpmyadmin.
+ * This user shouldn't have permission to create a database.
+ * It should have full permissions on the (existing) database with the
+ name you specify.
* Press "Finish Setup"
* ownCloud will set up your cloud according to the given settings
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git
More information about the Pkg-owncloud-commits
mailing list