Project

General

Profile

Installing Wt on Gentoo » History » Revision 16

Revision 15 (high risk pregnancy l, 06/15/2011 07:14 AM) → Revision 16/48 (Scott Wood, 11/01/2011 01:44 PM)

h1. Installing Wt on Gentoo 

 {{toc}} 

 h2. Installing Wt 

 Wt is now in portage. See also: 
 * http://gentoo-portage.com/net-libs/wt 
 * http://bugs.gentoo.org/show_bug.cgi?id=259686 
 * http://www.conceptcreations.in/wooden-furniture.php 
 * http://www.vasundharafertility.com/pregnancy.php 
 * http://www.monarch-garments.com/cat_breeches.asp 
 [[http://pharmacytechnicianexpert.com/ Pharmacy tech]] 
 [[http://aboutultrasoundtechnician.com/ Ultrasound tech]]  
 [[http://www.aininc.org/ Laser hair removal cost]]  
 [[http://arothira.com/ Roth ira rules]] 
 [[http://lpnschoolsblog.com/ LPN schools]] 
 [[http://medicalbillingcodingsalary.net/ Medical billing]] 
 [[http://veterinarytechnicianinfo.com/ Veterinary technician]] 
 [[http://getassociatesdegreeonline.com/ Online Associates degree]] 
 

 h2. Trying the examples  

 h3. Deployment with wthttpd  

 Simply follow the instructions in the INSTALL file (with X the name of an example): 

 <pre> 
 $ cd ../examples/X # source directory for example X 
 $ ../../build/examples/X/X.wt --docroot . --http-address 0.0.0.0 --http-port 8080 
 </pre> 

 h3. Deployment with FastCGI  

 Modify /etc/init.d/apache2 to enable fastcgi: 

 <pre> 
 APACHE2_OPTS="... -D FASTCGI" 
 </pre> 

 Enable ExecCGI for the location where you wish to install the examples: 

 <pre> 
 <Location /wt-examples> 
 <pre> 
     Options ExecCGI 
     Allow from All 
 </pre> 
 </Location> 
 </pre> 

 To install a particular example: 

 <pre> 
 # cd build/examples/composer 
 # ./deploy.sh 
 </pre> 

 And list the path in /etc/apache2/modules.d/20_mod_fastcgi.conf: 

 <pre> 
 FastCgiServer /var/www/localhost/htdocs/wt-examples/composer/composer.wt -idle-timeout 120 -processes 1 
 </pre> 

 Finally, restart your apache, and check your log files for problems ! 
 <pre> 
 /etc/init.d/apache2 restart 
 </pre>