Features/Transfer to many options: Difference between revisions
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
* '''Setting up WebDAV on a server XO.''' | * '''Setting up WebDAV on a server XO.''' | ||
** Install package "httpd". | ** Install package "httpd". | ||
** Generate openssl "server.crt" and "server.key". | ** <del>Generate openssl "server.crt" and "server.key". | ||
<code>cd /etc/ssl/certs/</code> | <code>cd /etc/ssl/certs/</code> | ||
<code>sudo openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout ssl.key -out ssl.crt</code> | <code>sudo openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout ssl.key -out ssl.crt</code></del> | ||
** Configure "/etc/httpd/conf.d/ssl.conf" to setup the WebDAV share. Sample file : [[media: | ** Configure </del>"/etc/httpd/conf.d/ssl.conf"</del> "/etc/httpd/conf/httpd.conf" to setup the WebDAV share. Sample file : [[media:httpd.conf]] | ||
*** Firstly, this sets up the paths "SSLCertificateFile" and "SSLCertificateKeyFile", which are required for HTTPS over SSL. | *** </del>Firstly, this sets up the paths "SSLCertificateFile" and "SSLCertificateKeyFile", which are required for HTTPS over SSL.</del> | ||
*** Secondly | *** </del>Secondly</del>This sets up "/var/www/web1/web" as the "webdav" folder. In other words, whetever entries are present in this folder, will be made available for the client XOs. | ||
** Generate authentication file for the webdav folder. These user-password credentials will be asked whenever a client tries to access the webdav folder. For example, the following list of commands sets "test" as the user, and "olpc" as the password. | ** </del>Generate authentication file for the webdav folder. These user-password credentials will be asked whenever a client tries to access the webdav folder. For example, the following list of commands sets "test" as the user, and "olpc" as the password. | ||
<code>sudo htpasswd -c /var/www/web1/passwd.dav test | <code>sudo htpasswd -c /var/www/web1/passwd.dav test | ||
New password: <olpc> | New password: <olpc> | ||
Re-type new password: <olpc> | Re-type new password: <olpc> | ||
Adding password for user test</code> | Adding password for user test</code></del> | ||
** Start service "httd". | ** Start service "httd". | ||
** ALL THESE STEPS WOULD BE DONE AS PART OF OOB STAGE. | ** ALL THESE STEPS WOULD BE DONE AS PART OF OOB STAGE. | ||
| Line 31: | Line 31: | ||
* '''[User-Workflow] Exporting Data to WebDav, on a server XO.''' | * '''[User-Workflow] Exporting Data to WebDav, on a server XO.''' | ||
** Sascha's JournalToWebDAV workflow. | ** </del>Sascha's JournalToWebDAV workflow. | ||
*** step 1 | *** step 1 | ||
*** step 2 | *** step 2 | ||
*** step 3 | *** step 3 | ||
*** step 4 | *** step 4</del> | ||
** Alternatively, | ** Alternatively, | ||
*** Add "Share" listview in the bottom panel-tray; that would make a total of 4 types of listview - Journal, Documents, Mounted-Drives, Share. | *** Add "Share" listview in the bottom panel-tray; that would make a total of 4 types of listview - Journal, Documents, Mounted-Drives, Share. | ||