replace IP.IP.IP.IP with 0.0.0.0

On Thursday, 26 May 2016 00:21:18 UTC-5, Ben Lawrence wrote:
>
> Never mind. I can just use
>
> http://purschel.eu/python/web2py-on-raspberry-pi-raspbian/
>
> login as pi user (any user, not root) and enter following commands:
>
> sudo apt-get install python-web2py
> mkdir web2py
> cd web2py
> openssl genrsa -out ca.key 1024
> openssl req -new -key ca.key -out ca.csr
> openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
> web2py -a 'your_password' -i IP.IP.IP.IP -p 8000 -c ca.crt -k ca.key
>
> where IP.IP.IP.IP is IP address of Raspberry network interface
>
> On Wednesday, May 25, 2016 at 3:45:23 PM UTC-7, Ben Lawrence wrote:
>>
>> Hi
>> Did you finally manage to upload the modified script for raspberry pi ?
>>
>> On Tuesday, August 26, 2014 at 12:09:44 PM UTC-7, Encompass solutions 
>> wrote:
>>>
>>> Thanks. I will probably try with the repos version and submit a pull 
>>> request with a script for the web2py source. Also making a tool to publish 
>>> to Qt cloud services. Perhaps we could add it to admin.
>>> On Aug 26, 2014 9:31 PM, "Paolo Valleri" <paolo....@gmail.com> wrote:
>>>
>>>> For rpi I see few alternatives:
>>>> - switch to upstart (mind that would be a big change for your operating 
>>>> system)
>>>> - create your own uwsgi script in /etc/init.d/ (google for it)
>>>> - place the command line a posted before in /etc/rc.local (mind to add 
>>>> an & at the end)
>>>> - uninstall the uwsgi installed by pip and install the one from the 
>>>> raspbian repository (it comes with the /etc/init.d/... script). In this 
>>>> case, I suggest to install uwsgi-emperor and uwsgi-plugin-python using 
>>>> apt-get, add the line 'plugin=python' in web2py.ini and place that file in 
>>>> /etc/uwsgi-emperor/vassals. 
>>>>
>>>>  Paolo
>>>>
>>>> 2014-08-24 20:46 GMT+02:00 Jason (spot) Brower <enco...@gmail.com>:
>>>>
>>>>> Yeah. Looks like that was it! How do I make this change permanent?
>>>>> On Aug 24, 2014 6:26 PM, "Paolo Valleri" <paolo....@gmail.com> wrote:
>>>>>
>>>>>> The script you mentioned is based on upstart but on the raspberry-pi 
>>>>>> the init script are handled by sysvinit.
>>>>>> So that, I'd say that uwsgi is not running? 
>>>>>> Try to run it manually:
>>>>>>
>>>>>> sudo uwsgi --master --die-on-term --emperor /etc/uwsgi --logto /var/
>>>>>> log/uwsgi/uwsgi.log
>>>>>>
>>>>>> Paolo
>>>>>>
>>>>>> On Sunday, August 24, 2014 11:00:49 AM UTC+2, Encompass solutions 
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>> Currently I am getting a 502 Bad Gateway Error when trying to access 
>>>>>>> my web2py server running on Raspberry Pi.
>>>>>>> I first tried the setup with the script setup-web2py-nginx-ubuntu.sh 
>>>>>>> as it's nearly identical to the instructoins found here.
>>>>>>> http://web2py.com/books/default/chapter/29/13#Nginx
>>>>>>> After doing the script I got the 502 Bad Gateway error.
>>>>>>> I know I am on the right server as I can see the request in the logs.
>>>>>>> I then went through the tutorial on the website I previously 
>>>>>>> mentioned and still got the error.
>>>>>>> There were a few differences in the script.  For example web2py.ini 
>>>>>>> verses web2py.xml (which is informationally the same.)
>>>>>>>
>>>>>>> Any ideas on how to diagnose this and find the correct solution?
>>>>>>>
>>>>>>> -- 
>>>>>> Resources:
>>>>>> - http://web2py.com
>>>>>> - http://web2py.com/book (Documentation)
>>>>>> - http://github.com/web2py/web2py (Source code)
>>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>>>> --- 
>>>>>> You received this message because you are subscribed to a topic in 
>>>>>> the Google Groups "web2py-users" group.
>>>>>> To unsubscribe from this topic, visit 
>>>>>> https://groups.google.com/d/topic/web2py/Bx_9u0iC86o/unsubscribe.
>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>> web2py+un...@googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>> -- 
>>>>> Resources:
>>>>> - http://web2py.com
>>>>> - http://web2py.com/book (Documentation)
>>>>> - http://github.com/web2py/web2py (Source code)
>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>>> --- 
>>>>> You received this message because you are subscribed to a topic in the 
>>>>> Google Groups "web2py-users" group.
>>>>> To unsubscribe from this topic, visit 
>>>>> https://groups.google.com/d/topic/web2py/Bx_9u0iC86o/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> web2py+un...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> -- 
>>>> Resources:
>>>> - http://web2py.com
>>>> - http://web2py.com/book (Documentation)
>>>> - http://github.com/web2py/web2py (Source code)
>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>> --- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "web2py-users" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/web2py/Bx_9u0iC86o/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> web2py+un...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to