[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-18 Thread Jim S
+1 to what Massimo said On Sunday, March 17, 2019 at 9:43:58 PM UTC-5, Massimo Di Pierro wrote: > > In 2019 I really do not feel recommending using Apache to anybody. nginx > has clearly won this battle. > > On Sunday, 17 March 2019 19:35:55 UTC-7, gertk wrote: >> >> apt-get install libapache2-mo

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-17 Thread Massimo Di Pierro
In 2019 I really do not feel recommending using Apache to anybody. nginx has clearly won this battle. On Sunday, 17 March 2019 19:35:55 UTC-7, gertk wrote: > > apt-get install libapache2-mod-wsgi-py3 > > laupäev, 16. märts 2019 15:34.22 UTC+2 kirjutas Mamisoa Andriantafika: >> >> This script work

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-17 Thread gertk
apt-get install libapache2-mod-wsgi-py3 laupäev, 16. märts 2019 15:34.22 UTC+2 kirjutas Mamisoa Andriantafika: > > This script works with python 3 but is under nginx: > > > https://raw.githubusercontent.com/arisobel/web2py_scripts/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh > > > > Le samedi 16 m

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread Mamisoa Andriantafika
This script works with python 3 but is under nginx: https://raw.githubusercontent.com/arisobel/web2py_scripts/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh Le samedi 16 mars 2019 13:12:06 UTC+1, Mamisoa Andriantafika a écrit : > > Sorry this does not work for me. > > Did you manage to get a serv

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread 黄祥
perhaps you can share the error log (web server or web2py) tested before in 2018 is worked ref: https://groups.google.com/forum/#!topic/web2py/IFasLOdWsbI best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source cod

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread Mamisoa Andriantafika
Sorry this does not work for me. Did you manage to get a server working with python 3 and apache? Le samedi 16 mars 2019 12:37:02 UTC+1, 黄祥 a écrit : > > think on line 164 and 165 is the culprit, should be > sudo -u www-data *python3* -c "from gluon.widget import console; > console();" > sudo -u

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread 黄祥
think on line 164 and 165 is the culprit, should be sudo -u www-data *python3* -c "from gluon.widget import console; console();" sudo -u www-data *python3* -c "from gluon.main import save_password; save_password(raw_input('admin password: '),443)" best regards, stifan -- Resources: - http://web

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread Mamisoa Andriantafika
Hi, I uses the 2nd link (python 3) you gave to get it work with apache on ubuntu server 18.04. The first is for nginx. But I still get that web2py is running on 2.7 version of python? Le samedi 16 mars 2019 01:46:30 UTC+1, 黄祥 a écrit : > > might we know which script that you used ? > > check

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-15 Thread 黄祥
might we know which script that you used ? check script is with python2 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh check script is with python3 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-ubuntu.sh best regards, stifan -- Resou