1. Update repositories and install couple packages:
sudo yum update sudo yum install zlib-devel openssl-devel
sudo yum update sudo yum install zlib-devel openssl-devel
openssl version OpenSSL 1.0.1e-fips 11 Feb 2013or this:
yum info openssl Name : openssl Arch : x86_64 Epoch : 1 Version : 1.0.1e Release : 60.el7_3.1
sudo yum update opensslAnd if you check it again, it will show updated version:
openssl version OpenSSL 1.0.2k-fips 26 Jan 2017So this should include all security fixes and you're good to go.
from haystack.views import SearchView
class MySearchView(SearchView):
#limit maximum results
def get_results(self):
return self.form.search()[:100]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xaa' in position bb: ordinal not in range(128)
cd ~ curl -O http://projects.unbit.it/downloads/uwsgi-2.0.12.tar.gz tar -xvzf uwsgi-2.0.12.tar.gz