Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:installer_openjabnab [2011/05/08 11:23] alexis created |
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 |
+ | === Get the sources === | ||
+ | |||
+ | The most up to date sources are on GitHub: https:// | ||
+ | |||
+ | git clone https:// | ||
+ | | ||
+ | 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 === | ||
+ | |||
+ | The Apache server must be configured so that the directory http-wrapper is the root of the domain (or subdomain). | ||
+ | |||
+ | <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 http-wrapper | ||
+ | * The user who launches openjabnab need to write to the folder http-wrapper/ | ||
+ | |||
+ | === 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 the rabbit. |