Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:installer_openjabnab [2011/05/08 11:46] alexis |
en:installer_openjabnab [2019/08/25 13:56] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Prerequisites | + | === Prerequisites |
* Apache (with mod rewrite) + php | * Apache (with mod rewrite) + php | ||
* Qt version 4.3 minimum (with development libraries) | * Qt version 4.3 minimum (with development libraries) | ||
- | * at least Nabaztag / tag | + | * A Nabaztag / tag |
- | Getting | + | === Get the sources |
- | The sources are the most up to date on GitHub: https: / / github.com/ | + | The most up to date sources are on GitHub: https:// |
- | + | ||
- | git clone https: / / github.com/ | + | |
+ | git clone https:// | ||
+ | | ||
This command will retrieve the source, including the creation of two directories: | This command will retrieve the source, including the creation of two directories: | ||
+ | * Server | ||
+ | These are all the files to the server | ||
+ | * Http-wrapper | ||
+ | These are the files for the HTTP part | ||
- | | + | === Set up the HTTP part === |
- | These are all the files to the server | + | The Apache server must be configured so that the directory http-wrapper is the root of the domain (or subdomain). |
- | http-wrapper | + | <note important> |
+ | Attention to rights management files on some operating systems. | ||
+ | </ | ||
+ | * Let the user system that starts the web server can read and write files in the directory | ||
+ | * The user who launches openjabnab need to write to the folder http-wrapper/ | ||
- | These are the files for the HTTP part | + | === Compile the openJabNab server === |
+ | |||
+ | go in the " | ||
+ | cd <path to sources>/ | ||
+ | Generate the Makefile with the command " | ||
+ | Start compiling (make) | ||
+ | qmake-r | ||
+ | make | ||
+ | Copy the file openjabnab.ini-dist in the bin directory, and rename openjabnab.ini | ||
+ | cp openjabnab.ini-dist bin/ | ||
+ | [[en: | ||
+ | |||
+ | Choose the authentication mode you want (depending on the standalone mode or proxy) in the bin/ | ||
+ | == Proxy mode == | ||
+ | * Proxy | ||
+ | == Standalone mode == | ||
+ | * Full | ||
+ | * Patched | ||
+ | |||
+ | Launch the executable " | ||
+ | ./ | ||
+ | |||
+ | === Server Usage === | ||
+ | |||
+ | Configure the Nabaztag/ | ||
+ | |||
+ | Save the configuration to relaunch |