Dear Jose;

You mean i forgot to execute in my tutorial?
I have done that by doing ./var/web2py/startweb2py.sh

10) run that script :
[EMAIL PROTECTED] ./var/web2py/startweb2py.sh


Or you mean ,Cherokee do not restart service automatically ?

It will depends on OS i think.

Regards,

Phyo.

On Thu, Oct 30, 2008 at 12:37 PM, Jose <[EMAIL PROTECTED]> wrote:

>
>
>
> On 27 oct, 20:48, "Phyo Arkar" <[EMAIL PROTECTED]> wrote:
> > Here is step by step howto:
> > 1) Download Cherokeehttp://www.cherokee-project.com/download/
> >
> > 2) Untar and configure then make install :
> > /home/v3ss$ tar -xzf cherokee-0.9.4.tar.gz
> > /home/v3ss$ cd cherokee-0.9.4
> > /home/v3ss/cherokee-0.9.4$ ./confgure --enable-fcgi && make
> > /home/v3ss/cherokee-0.9.4$ make install
> >
> > 3) Download Web2py latest source version. unzip and place under
> /var/web2py/
> >
> > 4) start web2py once normally to auto extract default apps , then kill
> it.
> >
> > 5) start cherokee and chrokee-admin
> > /home/v3ss$ su
> > [EMAIL PROTECTED] cherokee & chrokee-admin &
> >
> > 6) By default chrokee admin only listens at local interface on port 9090.
> > thats not a problem if you have full access and physical access on that
> > machine . If thats not the case u can force it to bind to ip and port by
> :
> > -b,  --bind[=IP] and -p,  --port=NUM or do a ssh port forward : ssh  -L
> > 9090:localhost:9090 remotehost (more secure , recommended)
> >
> > 7) firefoxhttp://localhost:9090
> >
> > 8) If everything allrite you will get chrokee admin.
> >
> > 9) here comes the fun part , wirte a shell script named startweb2py.sh:
> > [EMAIL PROTECTED] cat  > /var/web2py/startweb2py.sh
> > #!/bin/bash
> > cd /var/web2py
> > python /var/web2py/fcgihandler.py &
> > [PRESS ENTER]
> > [PRESS CTRL +D]
> >
> > [EMAIL PROTECTED] chmod a+x /var/web2py/startweb2py.sh
> >
> > 10) run that script :
> > [EMAIL PROTECTED] ./var/web2py/startweb2py.sh
> >
> > This will start web2py under FastCGI handler.
> >
> > 11) Lets Put this to work , in chrokee-admin web interface , click  info
> > sources .
> > Click *Info Sources*
> >
> > Choose Local Interpreter.
> >
> > Put Belows:
> >
> > Nick : web2py
> >
> > Connection : /tmp/fcgi.sock
> >
> > Interpereter: /var/web2py/startweb2py.sh
> >
> > Click *Add New*
> >
> > 12) Click Virtual Servers, Click Default
> >
> > 13) Click Behavior , Under there  Click default
> >
> > 14) Select from the list box , Choose FastCGI instead of "List and Send"
> >
> > 15) At the bottom , Application Server as web2py (as we created before in
> > Info Sources)
> >
> > 16) Check all the CheckBoxes (Can leave Allow-x-sendfile) , if there is
> > warning displayed , disable and enable one of the check box (it will auto
> > re-submit application server parameter , sometimes it dosn't and its a
> bug)
> >
> > Now Enjoy Web2py on Fastest of All Web Servers , Cherokee !!
> Browsehttp://ipaddressofyoursite, and Welcome! to web2py will appear!
> >
> > Best of Luck You all!! i b posting on AlterEgo too.
>
> Dear Phyo Arkar
>
> I use freebsd.
>
> Except that he(she) does not execute startweb2py (I have to execute it
> manually) everything else works very well.
>
> My file startweb2py is:
> *!/bin/sh
> cd/var/web2py
> python/var/web2py/fcgihandler.py &
>
> Manually I start them this way:
> sh /var/web2py/startweb2py
>
> The same thing I put in:
> Info Source -> Interpreter
>
> In that moment must execute?
>
> Regards
> Jose
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to