root/web/faq.php

Revision 1406, 3.1 kB (checked in by taher, 4 months ago)

FAQ updated

Line 
1 <?php include 'HEADER.php'; ?>
2 <!-- HEADER ends -->
3
4 <div id="faq">
5 <h1>FAQ</h1>
6   Here is a list of the most frequently asked questions:
7 <dl>
8  <dt>How to compile it</dt>
9  <dd><blockquote><pre class="shell">
10  
11 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
12 make
13  </pre></blockquote></dd>
14  
15  <dt>How to create dinamyc modules</dt>
16  <dd><p>It's the default way.</p></dd>
17
18  <dt>How to configure the module xyz to be linked statically</dt>
19  <dd><blockquote><pre class="shell">
20
21 ./configure --prefix=/usr --sysconfdir=/etc \
22   --localstatedir=/var                      \
23   --enable-static-module=xyz
24  </pre></blockquote></dd>
25
26  <dt>How to build everyhing statically</dt>
27  <dd><blockquote><pre class="shell">
28
29 ./configure --prefix=/usr --sysconfdir=/etc \
30   --localstatedir=/var                      \
31   --enable-static-module=all
32  </pre></blockquote></dd>
33
34  <dt>How to create a self signed certificate for TLS</dt>
35  <dd><blockquote><pre class="shell">
36
37 openssl req -days 1000 -new -x509 -nodes    \
38   -out /etc/cherokee/ssl/cherokee.pem       \
39   -keyout /etc/cherokee/ssl/cherokee.pem
40  </pre></blockquote></dd>
41
42  <dt>How to compile it on Windows</dt>
43  <dd><blockquote><pre class="shell">
44
45 ./configure --prefix=/usr --sysconfdir=/etc  \
46   --localstatedir=/var --enable-trace        \
47   --enable-static-module=all --enable-static \
48   --enable-shared=no --enable-beta
49  </pre></blockquote></dd>
50
51  <dt>How to cross compile the Win32 version</dt>
52  <dd>
53    From Linux: <a href="http://alobbs.com/news/1201">http://alobbs.com/news/1201</a><br />
54    From MacOS: <a href="http://alobbs.com/news/1299">http://alobbs.com/news/1299</a>
55  </dd>
56  
57  <dt>I'm trying to access cherokee-admin from a remote machine but it doesn't seem to work. Is it broken?</dt>
58  <dd>No it is not. cherokee-admin binds only to local loopback by default. There are some workarounds:
59  <ul>
60  <li>Create an SSH tunnel. This is the recommended way. In order to do so you must issue the following command:
61  <blockquote><pre class="shell">ssh -L 9090:localhost:9090 remote_IP</pre></blockquote>
62  After that you can access the remote interface through http://localhost:9090 and every request will be forwarded to the remote IP running cherokee-admin.
63  </li>
64  <li>Launch cherokee-admin with the -a parameter in order to force it to listen to all the network interfaces.</li>
65  <li>Finally you could always install cherokee on your local host, configure it there and then copy the generated cherokee.conf file to the device running the cherokee instance you wanted to set up.</li>
66  </ul>
67  </dd>
68  
69  <dt>I'm old-style and don't want to use your gorgeous configuration UI. Is there a way to replicate cherokee-admin's work by hand?</dt>
70  <dd>
71    Yes there is. The configuration file is a plain text file and its syntax is well documented. Check the documentation of your package, or its <a href="http://www.cherokee-project.com/doc/internal_configuration.html">online version</a>.<br/>
72    Notice that it is not the recommended method, but the format will always be kept updated to facilitate scripting tasks, working with embedded devices and other similar situations.
73  </dd>
74
75 </dl>
76 </div>
77
78 <!-- FOOTER begins -->
79 <?php include 'FOOTER.php'; ?>
80
Note: See TracBrowser for help on using the browser.