|
|
|
|
27
|
<link rel="search" title="Search" href="../../search.html" />
|
27
|
<link rel="search" title="Search" href="../../search.html" />
|
28
|
<link rel="top" title="searx 0.10.0 documentation" href="../../index.html" />
|
28
|
<link rel="top" title="searx 0.10.0 documentation" href="../../index.html" />
|
29
|
<link rel="next" title="Administration API" href="../../admin/api.html" />
|
29
|
<link rel="next" title="Administration API" href="../../admin/api.html" />
|
30
|
- <link rel="prev" title="Search syntax" href="../../user/search_syntax.html" />
|
|
|
|
|
30
|
+ <link rel="prev" title="Why use a private instance?" href="../../user/own-instance.html" />
|
31
|
|
31
|
|
32
|
|
32
|
|
33
|
<link media="only screen and (max-device-width: 480px)" href="../../_static/small_flask.css" type= "text/css" rel="stylesheet" />
|
33
|
<link media="only screen and (max-device-width: 480px)" href="../../_static/small_flask.css" type= "text/css" rel="stylesheet" />
|
|
|
|
|
43
|
|
43
|
|
44
|
<div class="section" id="installation">
|
44
|
<div class="section" id="installation">
|
45
|
<span id="id1"></span><h1><a class="toc-backref" href="#id3">Installation</a><a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h1>
|
45
|
<span id="id1"></span><h1><a class="toc-backref" href="#id3">Installation</a><a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h1>
|
46
|
-<p>Step by step installation for Debian/Ubuntu with virtualenv.</p>
|
|
|
47
|
-<p>Source: <a class="reference external" href="https://about.okhin.fr/posts/Searx/">https://about.okhin.fr/posts/Searx/</a> with some additions</p>
|
|
|
48
|
-<p>How to: <a class="reference external" href="https://www.reddit.com/r/privacytoolsIO/comments/366kvn/how_to_setup_your_own_privacy_respecting_search/">Setup searx in a couple of hours with a free SSL
|
|
|
49
|
-certificate</a></p>
|
|
|
50
|
<div class="contents topic" id="contents">
|
46
|
<div class="contents topic" id="contents">
|
51
|
<p class="topic-title first">Contents</p>
|
47
|
<p class="topic-title first">Contents</p>
|
52
|
<ul class="simple">
|
48
|
<ul class="simple">
|
|
|
|
|
64
|
<li><a class="reference internal" href="#docker" id="id12">Docker</a></li>
|
60
|
<li><a class="reference internal" href="#docker" id="id12">Docker</a></li>
|
65
|
</ul>
|
61
|
</ul>
|
66
|
</li>
|
62
|
</li>
|
|
|
63
|
+<li><a class="reference internal" href="#references" id="id13">References</a></li>
|
67
|
</ul>
|
64
|
</ul>
|
68
|
</div>
|
65
|
</div>
|
69
|
<div class="section" id="basic-installation">
|
66
|
<div class="section" id="basic-installation">
|
70
|
<h2><a class="toc-backref" href="#id4">Basic installation</a><a class="headerlink" href="#basic-installation" title="Permalink to this headline">¶</a></h2>
|
67
|
<h2><a class="toc-backref" href="#id4">Basic installation</a><a class="headerlink" href="#basic-installation" title="Permalink to this headline">¶</a></h2>
|
71
|
-<p>For Ubuntu, be sure to have enable universe repository.</p>
|
|
|
|
|
68
|
+<p>Step by step installation for Debian/Ubuntu with virtualenv. For Ubuntu, be sure to have enable universe repository.</p>
|
72
|
<p>Install packages:</p>
|
69
|
<p>Install packages:</p>
|
73
|
<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">git</span> <span class="n">build</span><span class="o">-</span><span class="n">essential</span> <span class="n">libxslt</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">virtualenv</span> <span class="n">python</span><span class="o">-</span><span class="n">pybabel</span> <span class="n">zlib1g</span><span class="o">-</span><span class="n">dev</span> <span class="n">libffi</span><span class="o">-</span><span class="n">dev</span> <span class="n">libssl</span><span class="o">-</span><span class="n">dev</span>
|
70
|
<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">git</span> <span class="n">build</span><span class="o">-</span><span class="n">essential</span> <span class="n">libxslt</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">virtualenv</span> <span class="n">python</span><span class="o">-</span><span class="n">pybabel</span> <span class="n">zlib1g</span><span class="o">-</span><span class="n">dev</span> <span class="n">libffi</span><span class="o">-</span><span class="n">dev</span> <span class="n">libssl</span><span class="o">-</span><span class="n">dev</span>
|
74
|
</pre></div>
|
71
|
</pre></div>
|
|
|
|
|
188
|
<div class="section" id="from-subdirectory-url-searx">
|
185
|
<div class="section" id="from-subdirectory-url-searx">
|
189
|
<h4>from subdirectory URL (/searx)<a class="headerlink" href="#from-subdirectory-url-searx" title="Permalink to this headline">¶</a></h4>
|
186
|
<h4>from subdirectory URL (/searx)<a class="headerlink" href="#from-subdirectory-url-searx" title="Permalink to this headline">¶</a></h4>
|
190
|
<p>Add this configuration in the server config file
|
187
|
<p>Add this configuration in the server config file
|
191
|
-/etc/nginx/sites-available/default:</p>
|
|
|
|
|
188
|
+/etc/nginx/sites-enabled/default:</p>
|
192
|
<div class="code nginx highlight-default"><div class="highlight"><pre><span></span>location = /searx { rewrite ^ /searx/; }
|
189
|
<div class="code nginx highlight-default"><div class="highlight"><pre><span></span>location = /searx { rewrite ^ /searx/; }
|
193
|
location /searx {
|
190
|
location /searx {
|
194
|
try_files $uri @searx;
|
191
|
try_files $uri @searx;
|
|
|
|
|
308
|
</div>
|
305
|
</div>
|
309
|
</div>
|
306
|
</div>
|
310
|
</div>
|
307
|
</div>
|
|
|
308
|
+<div class="section" id="references">
|
|
|
309
|
+<h1><a class="toc-backref" href="#id13">References</a><a class="headerlink" href="#references" title="Permalink to this headline">¶</a></h1>
|
|
|
310
|
+<blockquote>
|
|
|
311
|
+<div><ul class="simple">
|
|
|
312
|
+<li><a class="reference external" href="https://about.okhin.fr/posts/Searx/">https://about.okhin.fr/posts/Searx/</a> with some additions</li>
|
|
|
313
|
+<li>How to: <a class="reference external" href="https://www.reddit.com/r/privacytoolsIO/comments/366kvn/how_to_setup_your_own_privacy_respecting_search/">Setup searx in a couple of hours with a free SSL certificate</a></li>
|
|
|
314
|
+</ul>
|
|
|
315
|
+</div></blockquote>
|
|
|
316
|
+</div>
|
311
|
|
317
|
|
312
|
|
318
|
|
313
|
</div>
|
319
|
</div>
|