plugin:file2dw
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:file2dw [2018-11-26 14:03] – qky666 | plugin:file2dw [2019-02-20 19:05] – qky666 | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : qky669@gmail.com | email : qky669@gmail.com | ||
type : action | type : action | ||
- | lastupdate : 2018-11-26 | + | lastupdate : 2019-03-20 |
compatible : Greebo, 2018-04-22 | compatible : Greebo, 2018-04-22 | ||
depends | depends | ||
Line 22: | Line 22: | ||
===== Installation ===== | ===== Installation ===== | ||
+ | |||
+ | ==== Direct install ==== | ||
:!: **External requirements: | :!: **External requirements: | ||
Line 33: | Line 35: | ||
< | < | ||
- | * If you wish, you can execute the script // | + | * If you wish, you can execute the script // |
Install the plugin using the [[plugin: | Install the plugin using the [[plugin: | ||
- | ==== soffice conversion (.doc support) | + | === soffice conversion (.doc support) === |
- | PHP code (at least in my system) is executed by the user //daemon//. I had problems running a Java application with this user (it seems soffice is a Java application) so I decided to run the soffice conversion using //sudo//. To make it work, I had to add a line to the file /// | + | PHP code (at least in my system) is executed by the user //www-data//. I had problems running a Java application with this user (it seems soffice is a Java application) so I decided to run the soffice conversion using //sudo//. To make it work, I had to add a line to the file /// |
- | < | + | < |
I'm not a security expert, but I think that this should not be a problem for anybody. If you do not use the soffice conversion (.doc support), you don't need to do this. | I'm not a security expert, but I think that this should not be a problem for anybody. If you do not use the soffice conversion (.doc support), you don't need to do this. | ||
If PHP code is executed by any other user on your system, you only have to change it in the previous command. | If PHP code is executed by any other user on your system, you only have to change it in the previous command. | ||
+ | |||
+ | ==== Docker ==== | ||
+ | |||
+ | If you want, you can use Docker to deploy Dokuwiki and meet the requirements mentioned above “for free”. If you are new to Docker, you will probably need to search the web for information before you can use it. See https:// | ||
+ | |||
+ | You will have to make several changes in // | ||
+ | |||
+ | **Note**: This creates an “empty” Dokuwiki, so you will have to follow the install instructions in https:// | ||
+ | |||
+ | Two “flavours” are provided: | ||
+ | |||
+ | * //simple// | ||
+ | * //proxy// | ||
+ | |||
+ | === Simple === | ||
+ | |||
+ | Path: // | ||
+ | |||
+ | A simple // | ||
+ | |||
+ | To run this, execute: | ||
+ | |||
+ | < | ||
+ | cd docker/ | ||
+ | docker-compose up -d | ||
+ | </ | ||
+ | |||
+ | === Proxy === | ||
+ | |||
+ | Path: // | ||
+ | |||
+ | A // | ||
+ | |||
+ | It uses Let’s Encrypt services (https:// | ||
+ | |||
+ | To run this, execute: | ||
+ | |||
+ | < | ||
+ | cd docker/ | ||
+ | docker-compose up -d | ||
+ | </ | ||
===== Usage ===== | ===== Usage ===== |
plugin/file2dw.txt · Last modified: 2023-10-29 13:16 by Klap-in