Changeset 523
- Timestamp:
- 12/15/06 18:08:31 (2 years ago)
- Files:
-
- cherokee/trunk/README (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/README
r470 r523 2 2 =================== 3 3 4 A mailing-list cherokee@cherokee-project.com is available, to subscribe: 4 Web site 5 -------- 6 http://www.cherokee-project.com 7 8 9 License 10 ------- 11 Currently Cherokee is being released under GPL v2. Read the COPYING 12 file for more information. 13 14 15 Mailing lists 16 ------------- 17 There are a few mailing list available. Please, do not hesitate to 18 subscribe to any on them: 19 5 20 http://www.cherokee-project.com/cgi-bin/mailman/listinfo/cherokee 6 21 7 The list archive is at: 22 This is the main mailing list, where questions are sent and general 23 discussion takes place. 24 25 There are also a few technical mailing list. Developers and package 26 maintainers usually subscribe to these mailing list as well: 27 28 http://www.cherokee-project.com/cgi-bin/mailman/listinfo/bugs 29 http://www.cherokee-project.com/cgi-bin/mailman/listinfo/cherokee-commits 30 31 The mailing lists archives are available at: 32 8 33 http://www.cherokee-project.com/archives/ 9 34 10 35 36 IRC channel 37 ----------- 38 irc.freenode.net, channel #cherokee 11 39 12 1.- How to compile it13 ---------------------14 ./configure --prefix=/usr --sysconfdir=/etc15 40 16 2.- How to create dinamyc modules 17 --------------------------------- 18 It's the default way. 41 Building form a tar.gz file 42 --------------------------- 43 Run ./configure, with some options if you wish. The standard options 44 are documented in the INSTALL file. The only interesting ones are 45 the usual --prefix=/usr and --sysconfdir=/etc 19 46 20 3.- How to compile the module xyz statically in the libcherokee 21 --------------------------------------------------------------- 22 ./configure --prefix=/usr --sysconfdir=/etc --enable-static-module=xyz 47 Do "make", and then do "make install" (possibly as root if the 48 destination permissions require that). 23 49 24 4.- How to build statically 25 --------------------------- 26 ./configure --prefix=/usr --sysconfdir=/etc --enable-static-module=all 50 That's all. 27 51 28 5.- How to optimize in a Pentium429 ---------------------------------30 make CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"31 52 32 6.- How to create a self signed certificate for TLS 33 ---------------------------- -----------------------34 openssl req -days 1000 -new -x509 -nodes -out /etc/cherokee/ssl/cherokee.pem -keyout /etc/cherokee/ssl/cherokee.pem 53 Building form the repository 54 ---------------------------- 55 Check out the code from SVN, following the instructions at: 35 56 36 7.- How to compile the embedded version 37 -------------------------------------- 38 ./configure --prefix=/usr --sysconfdir=/etc --disable-pthread --disable-tls --disable-largefile --disable-pcre 39 cd cherokee && make -f Makefile.embedded 57 http://www.cherokee-project.com/svn 40 58 41 8.- Windows compilation 42 ----------------------- 43 ./configure --prefix=/usr --sysconfdir=/etc --enable-trace --enable-static-module=all --enable-static --enable-shared=no --enable-beta 59 cd into the source directory and run ./autogen.sh to setup the 60 environment (you need the standard autoconf tools to do so). 61 62 Then, continue with the following instructions... 63 64 65 FAQ 66 --- 67 Here is a list of the most frequently asked questions: 68 69 How to compile it 70 ------------------ 71 ./configure --prefix=/usr --sysconfdir=/etc 72 73 How to create dinamyc modules 74 ----------------------------- 75 It's the default way. 76 77 How to compile the module xyz statically in the libcherokee 78 ----------------------------------------------------------- 79 ./configure --prefix=/usr --sysconfdir=/etc --enable-static-module=xyz 80 81 How to build statically 82 ----------------------- 83 ./configure --prefix=/usr --sysconfdir=/etc --enable-static-module=all 84 85 How to create a self signed certificate for TLS 86 ----------------------------------------------- 87 openssl req -days 1000 -new -x509 -nodes -out /etc/cherokee/ssl/cherokee.pem -keyout /etc/cherokee/ssl/cherokee.pem 88 89 How to compile the embedded version (u-cherokee) 90 ------------------------------------------------ 91 ./configure --prefix=/usr --sysconfdir=/etc --disable-pthread --disable-tls --disable-largefile --disable-pcre 92 cd cherokee 93 make -f Makefile.embedded 94 95 How to compile it on Windows 96 ---------------------------- 97 ./configure --prefix=/usr --sysconfdir=/etc --enable-trace --enable-static-module=all --enable-static --enable-shared=no --enable-beta 44 98 45 99