search for: uwsgi

Displaying 15 results from an estimated 15 matches for "uwsgi".

Did you mean: wsgi
2017 Dec 11
2
upgrading python
...doing things like httpd24-httpd by doing things like > > > cat /opt/rh/httpd24/root/etc/sysconfig/httpd > > export PATH=/opt/rh/python27/root/usr/bin:$PATH > export > LD_LIBRARY_PATH=/opt/rh/python27/root/usr/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} I am running nginx and uWSGI. I added this to /etc/systemd/system/uwsgi.service: ExecStart=/usr/bin/scl enable python27 bash; /usr/bin/uwsgi --emperor /etc/uwsgi/sites But it did not start: Loaded: loaded (/etc/systemd/system/uwsgi.service; enabled; vendor preset: disabled) Active: failed (Result: start-limit) since M...
2011 Jun 06
1
Write-behind breaks Mercurial
Hi all It seems Mercurial doesn't work with "write behind" on. Any ideas? With write-behind -- root at dj1:~/mnt# gluster volume set conf performance.write-behind on Set volume successful root at dj1:~/mnt# hg clone http://projects.unbit.it/hg/uwsgi destination directory: uwsgi requesting all changes adding changesets transaction abort! rollback completed abort: integrity check failed on 00changelog.i:24! Without write-behind -- root at dj1:~/mnt# gluster volume set conf performance.write-behind off Set volume successful root at dj1:~/mnt# h...
2016 Sep 04
0
How do I install uwsgi + python 3?
Hi, >From what I can see, epel doesn't have python 3's pip. But when I install python35u (ius) and uwsgi-python-plugin3, uwsgi's python doesn't seem to find virtual env's packages. When I install python34u (ius) and uwsgi-plugin-python3, I get a conflict. Am I doing anything wrong? Regards, Yuri
2017 Dec 11
2
upgrading python
Pete Biggs wrote: > On Mon, 2017-12-11 at 15:44 -0600, Frank Cox wrote: >> On Mon, 11 Dec 2017 16:32:06 -0500 >> Larry Martell wrote: >> >> > Can I make that the default python? >> >> ~/.bashrc >> > No. I'm not entirely sure that is a good idea! No, not all. > > 'scl enable python27 bash' creates a *new* shell with the correct
2017 Dec 05
2
upgrading python
...wer version of 2.7 to pick up a bug fix. How can I do that >>>> (without breaking anything in CentOS)? >>> you could use the anaconda software, it is independent of the OS >>> regards >> I am not familiar with that. This is for a django app, using nginx, >> uWSGI, and mysql - will it integrate easily with those components? > Anaconda is a python installation independent of the OS. > You can install it without root rights. Only your environment > has to change to use the new python version > > I think is easy to? work with those components &gt...
2017 Dec 05
2
upgrading python
...37:39) >> >> I need a newer version of 2.7 to pick up a bug fix. How can I do that >> (without breaking anything in CentOS)? > > you could use the anaconda software, it is independent of the OS > regards I am not familiar with that. This is for a django app, using nginx, uWSGI, and mysql - will it integrate easily with those components?
2017 Dec 12
2
upgrading python
...tions.org/en/scls/rhscl/python27/ will help. >> >> Have you done scl enable python27 bash in your current shell? > > Thanks. Missed that. Now I do get 7.5.13 but it seems I have to type > that command in each new shell. Can I make that the default python? I > want django and uWSGI to use that version. After I issue the command scl enable python27 bash, and my python is then 2.7.13, when I run pip will it use 2.17.13 to build what I am downloading?
2017 Dec 11
6
upgrading python
On Tue, Dec 12, 2017 at 10:09 AM, Larry Martell <larry.martell at gmail.com> wrote: > On Tue, Dec 5, 2017 at 8:22 AM, Pete Biggs <pete at biggs.org.uk> wrote: > > On Tue, 2017-12-05 at 14:16 +0100, Kai Grunau wrote: > >> On 05.12.2017 14:05, Larry Martell wrote: > >> > I am running CentOS 7 and I have python version: > >> > > >> >
2017 Dec 05
0
upgrading python
...do that >>>>> (without breaking anything in CentOS)? >>>> >>>> you could use the anaconda software, it is independent of the OS >>>> regards >>> >>> I am not familiar with that. This is for a django app, using nginx, >>> uWSGI, and mysql - will it integrate easily with those components? >> >> Anaconda is a python installation independent of the OS. >> You can install it without root rights. Only your environment >> has to change to use the new python version >> >> I think is easy to w...
2017 Dec 11
0
upgrading python
On 12/11/2017 2:50 PM, Larry Martell wrote: > ExecStart=/usr/bin/scl enable python27 bash; /usr/bin/uwsgi --emperor > /etc/uwsgi/sites You probably want: ExecStart=/usr/bin/scl enable python27 '/usr/bin/uwsgi --emperor /etc/uwsgi/sites' See: https://linux.die.net/man/1/scl
2015 Oct 09
5
lpxelinux.0 does not set the port number in the http Host: header
...slinux_MBVENDOR=Dell+Inc.;_Syslinux_MBPRODUCT=0CNCJW;_Syslinux_MBVERSION=A03;_Syslinux_MBSERIAL=.F2ZCR22.CN747514AN0076.;_Syslinux_BIOSVENDOR=Dell+Inc.;_Syslinux_BIOSVERSION=1.1.4;_Syslinux_SYSFF=23; The web server trusts the Host: header more than I expected. While I feel like that's a Flask/uwsgi bug (feature?) I need to deal with, lpxelinux.0 should still send the header as "Host: foo.example.com:5550". I realize that the host header is only required as part of HTTP/1.1, and this is a HTTP/1.0 request, but it would make sense to implement it as defined in the HTTP/1.1 spec or to...
2017 Dec 05
3
upgrading python
I am running CentOS 7 and I have python version: Python 2.7.5 (default, Sep 15 2016, 22:37:39) I need a newer version of 2.7 to pick up a bug fix. How can I do that (without breaking anything in CentOS)?
2017 Dec 05
0
upgrading python
...>> I need a newer version of 2.7 to pick up a bug fix. How can I do that >>> (without breaking anything in CentOS)? >> you could use the anaconda software, it is independent of the OS >> regards > I am not familiar with that. This is for a django app, using nginx, > uWSGI, and mysql - will it integrate easily with those components? Anaconda is a python installation independent of the OS. You can install it without root rights. Only your environment has to change to use the new python version I think is easy to? work with those components
2017 Dec 11
0
upgrading python
...https://www.softwarecollections.org/en/scls/rhscl/python27/ will help. > > Have you done scl enable python27 bash in your current shell? Thanks. Missed that. Now I do get 7.5.13 but it seems I have to type that command in each new shell. Can I make that the default python? I want django and uWSGI to use that version.
2017 Dec 12
0
upgrading python
...python27/ will help. >>> >>> Have you done scl enable python27 bash in your current shell? >> >> Thanks. Missed that. Now I do get 7.5.13 but it seems I have to type >> that command in each new shell. Can I make that the default python? I >> want django and uWSGI to use that version. <snip> I guess my very brief suggestion wasn't understood: in whatever shell script you use to start the tools you want to use, insert, at the top, right under the #!/bin/bash, the line . /opt/<path/to/python2.7>/enable so that the paths are set for that shell...