Installing Wt on Gentoo » History » Version 24
Lawrence Whyte, 12/30/2011 01:59 PM
1 | 1 | Pieter Libin | {{toc}} |
---|---|---|---|
2 | |||
3 | 6 | Koen Deforche | h2. Installing Wt |
4 | |||
5 | Wt is now in portage. See also: |
||
6 | 5 | Koen Deforche | * http://gentoo-portage.com/net-libs/wt |
7 | 1 | Pieter Libin | * http://bugs.gentoo.org/show_bug.cgi?id=259686 |
8 | 13 | Wooden furniture furniture | * http://www.conceptcreations.in/wooden-furniture.php |
9 | 14 | high risk pregnancy l | * http://www.vasundharafertility.com/pregnancy.php |
10 | 15 | high risk pregnancy l | * http://www.monarch-garments.com/cat_breeches.asp |
11 | 16 | Scott Wood | [[http://pharmacytechnicianexpert.com/ Pharmacy tech]] |
12 | [[http://aboutultrasoundtechnician.com/ Ultrasound tech]] |
||
13 | [[http://www.aininc.org/ Laser hair removal cost]] |
||
14 | [[http://arothira.com/ Roth ira rules]] |
||
15 | [[http://lpnschoolsblog.com/ LPN schools]] |
||
16 | [[http://medicalbillingcodingsalary.net/ Medical billing]] |
||
17 | [[http://veterinarytechnicianinfo.com/ Veterinary technician]] |
||
18 | [[http://getassociatesdegreeonline.com/ Online Associates degree]] |
||
19 | 6 | Koen Deforche | h2. Trying the examples |
20 | 1 | Pieter Libin | |
21 | 18 | richarde ortiz | More Resources: |
22 | 1 | Pieter Libin | |
23 | 21 | richarde ortiz | [http://linkbuildingexperts.co.uk/link-building-services.html Links building company] |
24 | 1 | Pieter Libin | [http://link-building-service.info/ Best link building company] |
25 | 22 | Lawrence Whyte | |
26 | 23 | Lawrence Whyte | |
27 | |||
28 | 24 | Lawrence Whyte | [[http://3cardpokerrules.org/ 3 card poker rules]] [[http://aboutonlinecasinos.net/ Online Casinos]] [[http://aboutpokertables.com/ Poker tables]] [[http://absolutepokergames.com/ Absolute poker]] [[http://bestcasinogamesfreeonline.com/ Free online casino games]] [[http://bestpokersitereview.net/ Best poker sites review]] [[http://casino-jack.net/ Casino Jack]] [[http://casinosandia.com/ Sandia Casinos]] [[http://casinos-hollywood.com/ Hollywood casinos]] [[http://casino-stations.com/ Casino stations]] |
29 | 23 | Lawrence Whyte | |
30 | 24 | Lawrence Whyte | [[http://europokerwebsite.com/ Euro poker]] [[http://fastpokernews.com/ Poker news]] [[http://foxwoods-casino.com/ Foxwoods casino]] [[http://free-casino-game-online.com/ Free online casino games]] [[http://freecasinositereviews.com/ Free casino site reviews]] [[http://online-poker-videos.net/ Online Poker videos]] [[http://onlinestrippokerfree.com/ Online strip poker]] [[http://pokerhandodds.net/ Poker hand odds]] [[http://poker-parties.net/ poker parties]] [[http://pokerruleshere.com/ Poker rules]] |
31 | 23 | Lawrence Whyte | |
32 | 24 | Lawrence Whyte | [[http://pokersetsadvisor.com/ Poker sets]] [[http://pokerwebsitereview.net/ Poker site reviews]] [[http://popularpokerstars.com/ Top poker stars]] [[http://purepokertips.com/ Best poker tips]] [[http://real-casino-game.com/ Real casino games]] [[http://realcasinowebsite.com/ Real casino websites]] [[http://realgamblingsites.com/ Real gambling websites]] [[http://realpokertables.net/ poker tables]] [[http://realpokerwebsites.com/ Real poker websites]] [[http://riverside-casinos.com/ Riverside casino]] |
33 | 23 | Lawrence Whyte | |
34 | 19 | richarde ortiz | |
35 | 6 | Koen Deforche | h3. Deployment with wthttpd |
36 | 1 | Pieter Libin | |
37 | Simply follow the instructions in the INSTALL file (with X the name of an example): |
||
38 | |||
39 | <pre> |
||
40 | $ cd ../examples/X # source directory for example X |
||
41 | $ ../../build/examples/X/X.wt --docroot . --http-address 0.0.0.0 --http-port 8080 |
||
42 | </pre> |
||
43 | |||
44 | 6 | Koen Deforche | h3. Deployment with FastCGI |
45 | 1 | Pieter Libin | |
46 | Modify /etc/init.d/apache2 to enable fastcgi: |
||
47 | |||
48 | <pre> |
||
49 | APACHE2_OPTS="... -D FASTCGI" |
||
50 | </pre> |
||
51 | |||
52 | Enable ExecCGI for the location where you wish to install the examples: |
||
53 | |||
54 | <pre> |
||
55 | <Location /wt-examples> |
||
56 | <pre> |
||
57 | Options ExecCGI |
||
58 | Allow from All |
||
59 | </pre> |
||
60 | </Location> |
||
61 | </pre> |
||
62 | |||
63 | To install a particular example: |
||
64 | |||
65 | <pre> |
||
66 | # cd build/examples/composer |
||
67 | # ./deploy.sh |
||
68 | </pre> |
||
69 | |||
70 | 17 | linkbuilding service | Useful Links Below: |
71 | |||
72 | [[http://hackettandkane2010.org/ Olympic hockey]] |
||
73 | [[http://mmmagency.com/ Travel Agency]] |
||
74 | [[http://mommiecheapest.com/ Cheapest Car Insurance]] |
||
75 | [[http://myefaxchina.com/ Travel advisory]] |
||
76 | [[http://www.agafiarts.com/ Photography tips]] |
||
77 | [[http://www.myrankingstats.com/ Ranking stats]] |
||
78 | [[http://home-roofing.com/ Sports Betting]] |
||
79 | [[http://tastythought.com/ Sports games]] |
||
80 | [[http://www.usedpremiumcars.info/ Used cars online]] |
||
81 | [[http://www.bebohost.com/ Web Hosting Reviews]] |
||
82 | |||
83 | 1 | Pieter Libin | And list the path in /etc/apache2/modules.d/20_mod_fastcgi.conf: |
84 | |||
85 | <pre> |
||
86 | FastCgiServer /var/www/localhost/htdocs/wt-examples/composer/composer.wt -idle-timeout 120 -processes 1 |
||
87 | </pre> |
||
88 | |||
89 | Finally, restart your apache, and check your log files for problems ! |
||
90 | <pre> |
||
91 | /etc/init.d/apache2 restart |
||
92 | </pre> |