Installing Wt on Gentoo » History » Revision 40
« Previous |
Revision 40/48
(diff)
| Next »
Ana Evans, 07/26/2013 08:16 PM
h1. Installing Wt on Gentoo
- Table of contents
- cd build/examples/composer
- ./deploy.sh
h2. Installing Wt
Wt is now in portage. See also:
h2. Trying the examples
h3. Deployment with wthttpd
Simply follow the instructions in the INSTALL file (with X the name of an example):
$ cd ../examples/X # source directory for example X
$ ../../build/examples/X/X.wt --docroot . --http-address 0.0.0.0 --http-port 8080
h3. Deployment with FastCGI
Modify /etc/init.d/apache2 to enable fastcgi:
APACHE2_OPTS="... -D FASTCGI"
Enable ExecCGI for the location where you wish to install the examples:
Options ExecCGI
Allow from All
To install a particular example:
cd build/examples/composer¶
./deploy.sh¶
And list the path in /etc/apache2/modules.d/20_mod_fastcgi.conf:
FastCgiServer /var/www/localhost/htdocs/wt-examples/composer/composer.wt -idle-timeout 120 -processes 1
Finally, restart your apache, and check your log files for problems !
/etc/init.d/apache2 restart
[[http://depuyhiprecallnewscenter.yolasite.com/|DePuy Hip Recall News Center]]
[[http://hipimplantnews.blogspot.com/ Hip Implant News Blog]]
[[http://hip-fractures.blogspot.com/ Hip Fractures Blog Site]]
[[http://zithromaxheartlawsuit.wordpress.com/ Zithromax Heart Lawsuit Blog]]
Updated by Ana Evans over 11 years ago · 40 revisions