Changeset 1701
- Timestamp:
- 07/29/08 17:38:47 (5 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/doc/Makefile.am (modified) (2 diffs)
- cherokee/trunk/doc/admin.txt (modified) (1 diff)
- cherokee/trunk/doc/cherokee_tweak.txt (added)
- cherokee/trunk/doc/compiling_and_installing_unix.txt (modified) (3 diffs)
- cherokee/trunk/doc/index.txt (modified) (1 diff)
- cherokee/trunk/doc/media/images/admin_launch.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1698 r1701 1 2008-07-29 Taher Shihadeh <taher@unixwars.com> 2 * doc/cherokee_tweak.txt: added some documentation. 3 4 2008-07-29 Milo van der Linden <milovanderlinden@gmail.com> 5 * doc/admin.txt, doc/compiling_and_installing_unix.txt: some 6 documentation patches. 7 1 8 2008-07-28 Taher Shihadeh <taher@unixwars.com> 2 9 * cherokee-tweak.1, cherokee-admin.1, cherokee.1: manpages needed cherokee/trunk/doc/Makefile.am
r1651 r1701 23 23 download.html \ 24 24 generating_ssl_keys.html \ 25 icons.html 25 icons.html \ 26 cherokee_tweak.html 26 27 27 28 dochandlersdir = $(docdir)/ … … 85 86 media/images/admin_handler_dirlist_ex.png \ 86 87 media/images/admin_handler_onlylisting.png \ 87 media/images/admin_handler_onlylisting_ex.png 88 media/images/admin_handler_onlylisting_ex.png \ 89 media/images/admin_launch.png 88 90 89 91 cherokee/trunk/doc/admin.txt
r1647 r1701 2 2 -------------- 3 3 4 This section describes the Cherokee configuration admin interface. It is designed to 5 make the configuration of the cherokee web server really easy.4 Cherokee comes with a web browser administration interface. From this interface the 5 webserver can be configured. 6 6 7 If cherokee is going to be running in the same host, just use: 7 image::media/images/admin_launch.png[Cherokee admin interface] 8 9 10 If you want to access the administration interface from the same computer that you installed cherokee on 11 simply start the administration interface by running: 8 12 ---- 9 $cherokee-admin13 cherokee-admin 10 14 ---- 11 And redirect your internet browser to 127.0.0.1:9090. By default, the interface will 12 be listening on port 9090 at 127.0.0.1. There are some advanced options thought: 15 Then redirect your web browser to 127.0.0.1:9090 this is the default port for the 16 administration interface. 13 17 14 * *-h*: Show usage 15 * *-a*: Listen all interfaces 16 * *-C*: Use a different configuration file 17 * *-d*: Use a custom admin-interface path 18 If you want to access the administration interface from another computer, you need to bind the cherokee 19 administration interface to all network interfaces: 20 ---- 21 cherokee-admin -b 22 ---- 23 WARNING: By starting cherokee-admin listening on all interfaces, everyone that can access the computer can 24 alter your cherokee configuration. Don't use this in a production environment! 18 25 19 Example: 26 [grid="rows"] 27 ``~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 Parameter, Description 29 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 `-h`, Show usage 31 `-b`, Listen all interfaces 32 `-C`, Use a different configuration file 33 `-d`, Use a custom admin-interface path 34 `-P`, Use a different port for the administration interface 35 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 37 .Example: 38 Make cherokee use a different configuration file, listen on port 9091 and grab 39 the administration interface application from a different path: 20 40 ---- 21 $cherokee-admin -a -P 9091 -C /etc/cherokee/cherokee2.conf \41 cherokee-admin -a -P 9091 -C /etc/cherokee/cherokee2.conf \ 22 42 -d /path/to/svn/trunk/cherokee-admin/ 23 43 ---- 24 image::media/images/admin_launch.png[Cherokee admin interface]25 44 45 cherokee/trunk/doc/compiling_and_installing_unix.txt
r1647 r1701 2 2 -------------------------------- 3 3 4 Dependencies 5 ~~~~~~~~ ~~~4 Required 5 ~~~~~~~~ 6 6 7 7 The following requirements exist for building Cherokee: … … 12 12 platforms with different compilers, so it shouldn't be a problem. 13 13 14 * Optional: 14 Optional 15 ~~~~~~~~ 15 16 16 17 * Python: Cherokee includes a number of Quality Assurance tests … … 25 26 with its development files. 26 27 27 The simplest way 28 ~~~~~~~~~~ ~~~~~~28 Quickstart 29 ~~~~~~~~~~ 29 30 30 First, link:download.html[download] a fresh copy of Cherokee, then run: 31 . link:download.html[Download] a fresh copy of Cherokee 32 . Configure the package for your system: 33 + 34 ---- 35 ./configure --localstatedir=/var --prefix=/usr --sysconfdir=/etc --with-wwwroot=/var/www 36 ---- 37 . Compile the package: 38 + 39 ---- 40 make 41 ---- 42 . Install the programs and any data files: 43 + 44 ---- 45 make install 46 ---- 47 . Start Cherokee link:admin.html[admin] 31 48 32 - $> **./configure --localstatedir=/var --prefix=/usr --sysconfdir=/etc 33 --with-wwwroot=/var/www** To configure the package for your system. 34 - $> **make** To compile the package. 35 - $> **make install** To install the programs and any data files. 49 Advanced parameters 50 ~~~~~~~~~~~~~~~~~~~ 36 51 37 Others parameters 38 ~~~~~~~~~~~~~~~~~ 39 40 If you want to learn more about 'configure' you can run *./configure --help* 52 If you want to learn more about 'configure' you can run `./configure --help` 41 53 42 54 [grid="rows"] 43 55 ``~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 Parameter s, Description56 Parameter, Description 45 57 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 '--with-wwwroot=DIR', Specifies the Root directory47 '--disable-epoll', Disable epoll() support48 '--disable-pthread', Disable threading support49 '--disable-readdir_r', Disable readdir_r usage50 '--disable-ipv6', Disable IPv6 support51 '--disable-pam', Disable PAM support52 '--disable-tls', Disable TLS/SSL support53 '--enable-tls=', gnutls|openssl58 `--with-wwwroot=DIR`, Specify the webserver root directory 59 `--disable-epoll`, Disable epoll() support 60 `--disable-pthread`, Disable threading support 61 `--disable-readdir_r`, Disable readdir_r usage 62 `--disable-ipv6`, Disable IPv6 support 63 `--disable-pam`, Disable PAM support 64 `--disable-tls`, Disable TLS/SSL support 65 `--enable-tls=`, gnutls|openssl 54 66 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 67 56 Install and config directories 57 ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~68 Autostart 69 ~~~~~~~~~ 58 70 59 If you need t o auto-start cherokeeat boot (through init's runlevel) you can60 find a start/stop script in the contrib source directory: :71 If you need the cherokee webserver to start at boot (through init's runlevel) you can 72 find a start/stop script in the contrib source directory: 61 73 62 74 ---- cherokee/trunk/doc/index.txt
r1664 r1701 73 73 - How to link:cross_compile_cherokee.html[cross compile Cherokee] (Win32 from Linux or OS X) 74 74 - How to link:generating_ssl_keys.html[generate SSL keys] 75 - ling:cherokee_tweak.html[Cherokee Tweak]: command-line interface for administrative tasks. 75 76 76 77 Internal configuration system