123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383 |
-
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Installation — searx 0.12.0 documentation</title>
- <link rel="stylesheet" href="../../_static/style.css" type="text/css" />
- <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
- <script type="text/javascript" src="../../_static/documentation_options.js"></script>
- <script type="text/javascript" src="../../_static/jquery.js"></script>
- <script type="text/javascript" src="../../_static/underscore.js"></script>
- <script type="text/javascript" src="../../_static/doctools.js"></script>
- <link rel="index" title="Index" href="../../genindex.html" />
- <link rel="search" title="Search" href="../../search.html" />
- <link rel="next" title="Administration API" href="../../admin/api.html" />
- <link rel="prev" title="Why use a private instance?" href="../../user/own-instance.html" />
-
-
- <link media="only screen and (max-device-width: 480px)" href="../../_static/small_flask.css" type= "text/css" rel="stylesheet" />
- <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
-
- </head><body>
-
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="installation">
- <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>
- <div class="contents topic" id="contents">
- <p class="topic-title first">Contents</p>
- <ul class="simple">
- <li><a class="reference internal" href="#installation" id="id3">Installation</a><ul>
- <li><a class="reference internal" href="#basic-installation" id="id4">Basic installation</a></li>
- <li><a class="reference internal" href="#configuration" id="id5">Configuration</a></li>
- <li><a class="reference internal" href="#check" id="id6">Check</a></li>
- <li><a class="reference internal" href="#uwsgi" id="id7">uwsgi</a></li>
- <li><a class="reference internal" href="#web-server" id="id8">Web server</a><ul>
- <li><a class="reference internal" href="#with-nginx" id="id9">with nginx</a></li>
- <li><a class="reference internal" href="#with-apache" id="id10">with apache</a></li>
- </ul>
- </li>
- <li><a class="reference internal" href="#how-to-update" id="id11">How to update</a></li>
- <li><a class="reference internal" href="#docker" id="id12">Docker</a></li>
- </ul>
- </li>
- <li><a class="reference internal" href="#references" id="id13">References</a></li>
- </ul>
- </div>
- <div class="section" id="basic-installation">
- <h2><a class="toc-backref" href="#id4">Basic installation</a><a class="headerlink" href="#basic-installation" title="Permalink to this headline">¶</a></h2>
- <p>Step by step installation for Debian/Ubuntu with virtualenv. For Ubuntu, be sure to have enable universe repository.</p>
- <p>Install packages:</p>
- <div class="code sh highlight-default notranslate"><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">virtualenv</span> <span class="n">python</span><span class="o">-</span><span class="n">babel</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>
- </pre></div>
- </div>
- <p>Install searx:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span>
- <span class="n">sudo</span> <span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
- <span class="n">sudo</span> <span class="n">useradd</span> <span class="n">searx</span> <span class="o">-</span><span class="n">d</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
- <span class="n">sudo</span> <span class="n">chown</span> <span class="n">searx</span><span class="p">:</span><span class="n">searx</span> <span class="o">-</span><span class="n">R</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
- </pre></div>
- </div>
- <p>Install dependencies in a virtualenv:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="o">-</span><span class="n">u</span> <span class="n">searx</span> <span class="o">-</span><span class="n">i</span>
- <span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
- <span class="n">virtualenv</span> <span class="n">searx</span><span class="o">-</span><span class="n">ve</span>
- <span class="o">.</span> <span class="o">./</span><span class="n">searx</span><span class="o">-</span><span class="n">ve</span><span class="o">/</span><span class="nb">bin</span><span class="o">/</span><span class="n">activate</span>
- <span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">update_packages</span>
- </pre></div>
- </div>
- </div>
- <div class="section" id="configuration">
- <h2><a class="toc-backref" href="#id5">Configuration</a><a class="headerlink" href="#configuration" title="Permalink to this headline">¶</a></h2>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s2">"s/ultrasecretkey/`openssl rand -hex 16`/g"</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
- </pre></div>
- </div>
- <p>Edit searx/settings.yml if necessary.</p>
- </div>
- <div class="section" id="check">
- <h2><a class="toc-backref" href="#id6">Check</a><a class="headerlink" href="#check" title="Permalink to this headline">¶</a></h2>
- <p>Start searx:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="n">searx</span><span class="o">/</span><span class="n">webapp</span><span class="o">.</span><span class="n">py</span>
- </pre></div>
- </div>
- <p>Go to <a class="reference external" href="http://localhost:8888">http://localhost:8888</a></p>
- <p>If everything works fine, disable the debug option in settings.yml:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s2">"s/debug : True/debug : False/g"</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
- </pre></div>
- </div>
- <p>At this point searx is not demonized ; uwsgi allows this.</p>
- <p>You can exit the virtualenv and the searx user bash (enter exit command
- twice).</p>
- </div>
- <div class="section" id="uwsgi">
- <h2><a class="toc-backref" href="#id7">uwsgi</a><a class="headerlink" href="#uwsgi" title="Permalink to this headline">¶</a></h2>
- <p>Install packages:</p>
- <div class="code sh highlight-default notranslate"><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">uwsgi</span> <span class="n">uwsgi</span><span class="o">-</span><span class="n">plugin</span><span class="o">-</span><span class="n">python</span>
- </pre></div>
- </div>
- <p>Create the configuration file /etc/uwsgi/apps-available/searx.ini with
- this content:</p>
- <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">[</span><span class="n">uwsgi</span><span class="p">]</span>
- <span class="c1"># Who will run the code</span>
- <span class="n">uid</span> <span class="o">=</span> <span class="n">searx</span>
- <span class="n">gid</span> <span class="o">=</span> <span class="n">searx</span>
-
- <span class="c1"># disable logging for privacy</span>
- <span class="n">disable</span><span class="o">-</span><span class="n">logging</span> <span class="o">=</span> <span class="n">true</span>
-
- <span class="c1"># Number of workers (usually CPU count)</span>
- <span class="n">workers</span> <span class="o">=</span> <span class="mi">4</span>
-
- <span class="c1"># The right granted on the created socket</span>
- <span class="n">chmod</span><span class="o">-</span><span class="n">socket</span> <span class="o">=</span> <span class="mi">666</span>
-
- <span class="c1"># Plugin to use and interpretor config</span>
- <span class="n">single</span><span class="o">-</span><span class="n">interpreter</span> <span class="o">=</span> <span class="n">true</span>
- <span class="n">master</span> <span class="o">=</span> <span class="n">true</span>
- <span class="n">plugin</span> <span class="o">=</span> <span class="n">python</span>
- <span class="n">lazy</span><span class="o">-</span><span class="n">apps</span> <span class="o">=</span> <span class="n">true</span>
- <span class="n">enable</span><span class="o">-</span><span class="n">threads</span> <span class="o">=</span> <span class="n">true</span>
-
- <span class="c1"># Module to import</span>
- <span class="n">module</span> <span class="o">=</span> <span class="n">searx</span><span class="o">.</span><span class="n">webapp</span>
-
- <span class="c1"># Virtualenv and python path</span>
- <span class="n">virtualenv</span> <span class="o">=</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">searx</span><span class="o">-</span><span class="n">ve</span><span class="o">/</span>
- <span class="n">pythonpath</span> <span class="o">=</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
- <span class="n">chdir</span> <span class="o">=</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
- </pre></div>
- </div>
- <p>Activate the uwsgi application and restart:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">uwsgi</span><span class="o">/</span><span class="n">apps</span><span class="o">-</span><span class="n">enabled</span>
- <span class="n">ln</span> <span class="o">-</span><span class="n">s</span> <span class="o">../</span><span class="n">apps</span><span class="o">-</span><span class="n">available</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">ini</span>
- <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">uwsgi</span> <span class="n">restart</span>
- </pre></div>
- </div>
- </div>
- <div class="section" id="web-server">
- <h2><a class="toc-backref" href="#id8">Web server</a><a class="headerlink" href="#web-server" title="Permalink to this headline">¶</a></h2>
- <div class="section" id="with-nginx">
- <h3><a class="toc-backref" href="#id9">with nginx</a><a class="headerlink" href="#with-nginx" title="Permalink to this headline">¶</a></h3>
- <p>If nginx is not installed (uwsgi will not work with the package
- nginx-light):</p>
- <div class="code sh highlight-default notranslate"><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">nginx</span>
- </pre></div>
- </div>
- <div class="section" id="hosted-at">
- <h4>Hosted at /<a class="headerlink" href="#hosted-at" title="Permalink to this headline">¶</a></h4>
- <p>Create the configuration file /etc/nginx/sites-available/searx with this
- content:</p>
- <div class="code nginx highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">server</span> <span class="p">{</span>
- <span class="n">listen</span> <span class="mi">80</span><span class="p">;</span>
- <span class="n">server_name</span> <span class="n">searx</span><span class="o">.</span><span class="n">example</span><span class="o">.</span><span class="n">com</span><span class="p">;</span>
- <span class="n">root</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="p">;</span>
-
- <span class="n">location</span> <span class="o">/</span> <span class="p">{</span>
- <span class="n">include</span> <span class="n">uwsgi_params</span><span class="p">;</span>
- <span class="n">uwsgi_pass</span> <span class="n">unix</span><span class="p">:</span><span class="o">/</span><span class="n">run</span><span class="o">/</span><span class="n">uwsgi</span><span class="o">/</span><span class="n">app</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">socket</span><span class="p">;</span>
- <span class="p">}</span>
- <span class="p">}</span>
- </pre></div>
- </div>
- <p>Restart service:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
- <span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
- </pre></div>
- </div>
- </div>
- <div class="section" id="from-subdirectory-url-searx">
- <h4>from subdirectory URL (/searx)<a class="headerlink" href="#from-subdirectory-url-searx" title="Permalink to this headline">¶</a></h4>
- <p>Add this configuration in the server config file
- /etc/nginx/sites-enabled/default:</p>
- <div class="code nginx highlight-default notranslate"><div class="highlight"><pre><span></span>location = /searx { rewrite ^ /searx/; }
- location /searx {
- try_files $uri @searx;
- }
- location @searx {
- uwsgi_param SCRIPT_NAME /searx;
- include uwsgi_params;
- uwsgi_modifier1 30;
- uwsgi_pass unix:/run/uwsgi/app/searx/socket;
- }
- </pre></div>
- </div>
- <p>OR</p>
- <p>using reverse proxy
- (Please, note that reverse proxy advised to be used in case of single-user or low-traffic instances.)</p>
- <div class="code nginx highlight-default notranslate"><div class="highlight"><pre><span></span>location /searx {
- proxy_pass http://127.0.0.1:8888;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Scheme $scheme;
- proxy_set_header X-Script-Name /searx;
- proxy_buffering off;
- }
- </pre></div>
- </div>
- <p>Enable base_url in searx/settings.yml</p>
- <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">base_url</span> <span class="p">:</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">your</span><span class="o">.</span><span class="n">domain</span><span class="o">.</span><span class="n">tld</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
- </pre></div>
- </div>
- <p>Restart service:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
- <span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
- </pre></div>
- </div>
- <div class="section" id="disable-logs">
- <h5>disable logs<a class="headerlink" href="#disable-logs" title="Permalink to this headline">¶</a></h5>
- <p>for better privacy you can disable nginx logs about searx.</p>
- <p>how to proceed: below <code class="docutils literal notranslate"><span class="pre">uwsgi_pass</span></code> in
- /etc/nginx/sites-available/default add</p>
- <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">access_log</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span><span class="p">;</span>
- <span class="n">error_log</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span><span class="p">;</span>
- </pre></div>
- </div>
- <p>Restart service:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
- </pre></div>
- </div>
- </div>
- </div>
- </div>
- <div class="section" id="with-apache">
- <h3><a class="toc-backref" href="#id10">with apache</a><a class="headerlink" href="#with-apache" title="Permalink to this headline">¶</a></h3>
- <p>Add wsgi mod:</p>
- <div class="code sh highlight-default notranslate"><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">libapache2</span><span class="o">-</span><span class="n">mod</span><span class="o">-</span><span class="n">uwsgi</span>
- <span class="n">sudo</span> <span class="n">a2enmod</span> <span class="n">uwsgi</span>
- </pre></div>
- </div>
- <p>Add this configuration in the file /etc/apache2/apache2.conf:</p>
- <div class="code apache highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o"><</span><span class="n">Location</span> <span class="o">/></span>
- <span class="n">Options</span> <span class="n">FollowSymLinks</span> <span class="n">Indexes</span>
- <span class="n">SetHandler</span> <span class="n">uwsgi</span><span class="o">-</span><span class="n">handler</span>
- <span class="n">uWSGISocket</span> <span class="o">/</span><span class="n">run</span><span class="o">/</span><span class="n">uwsgi</span><span class="o">/</span><span class="n">app</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">socket</span>
- <span class="o"></</span><span class="n">Location</span><span class="o">></span>
- </pre></div>
- </div>
- <p>Note that if your instance of searx is not at the root, you should
- change <code class="docutils literal notranslate"><span class="pre"><Location</span> <span class="pre">/></span></code> by the location of your instance, like
- <code class="docutils literal notranslate"><span class="pre"><Location</span> <span class="pre">/searx></span></code>.</p>
- <p>Restart Apache:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
- </pre></div>
- </div>
- <div class="section" id="id2">
- <h4>disable logs<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h4>
- <p>For better privacy you can disable Apache logs.</p>
- <p>WARNING: not tested</p>
- <p>WARNING: you can only disable logs for the whole (virtual) server not
- for a specific path.</p>
- <p>Go back to /etc/apache2/apache2.conf and above <code class="docutils literal notranslate"><span class="pre"><Location</span> <span class="pre">/></span></code> add:</p>
- <div class="code apache highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">CustomLog</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span> <span class="n">combined</span>
- </pre></div>
- </div>
- <p>Restart Apache:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
- </pre></div>
- </div>
- </div>
- </div>
- </div>
- <div class="section" id="how-to-update">
- <h2><a class="toc-backref" href="#id11">How to update</a><a class="headerlink" href="#how-to-update" title="Permalink to this headline">¶</a></h2>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
- <span class="n">sudo</span> <span class="o">-</span><span class="n">u</span> <span class="n">searx</span> <span class="o">-</span><span class="n">i</span>
- <span class="o">.</span> <span class="o">./</span><span class="n">searx</span><span class="o">-</span><span class="n">ve</span><span class="o">/</span><span class="nb">bin</span><span class="o">/</span><span class="n">activate</span>
- <span class="n">git</span> <span class="n">stash</span>
- <span class="n">git</span> <span class="n">pull</span> <span class="n">origin</span> <span class="n">master</span>
- <span class="n">git</span> <span class="n">stash</span> <span class="n">apply</span>
- <span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">update_packages</span>
- <span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
- </pre></div>
- </div>
- </div>
- <div class="section" id="docker">
- <h2><a class="toc-backref" href="#id12">Docker</a><a class="headerlink" href="#docker" title="Permalink to this headline">¶</a></h2>
- <p>Make sure you have installed Docker. For instance, you can deploy searx like this:</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span>docker pull wonderfall/searx
- docker run -d --name searx -p $PORT:8888 wonderfall/searx
- </pre></div>
- </div>
- <p>Go to <a class="reference external" href="http://localhost:$PORT">http://localhost:$PORT</a>.</p>
- <p>See <a class="reference external" href="https://hub.docker.com/r/wonderfall/searx/">https://hub.docker.com/r/wonderfall/searx/</a> for more informations.</p>
- <p>It’s also possible to build searx from the embedded Dockerfile.</p>
- <div class="code sh highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
- <span class="n">cd</span> <span class="n">searx</span>
- <span class="n">docker</span> <span class="n">build</span> <span class="o">-</span><span class="n">t</span> <span class="n">whatever</span><span class="o">/</span><span class="n">searx</span> <span class="o">.</span>
- </pre></div>
- </div>
- </div>
- </div>
- <div class="section" id="references">
- <h1><a class="toc-backref" href="#id13">References</a><a class="headerlink" href="#references" title="Permalink to this headline">¶</a></h1>
- <blockquote>
- <div><ul class="simple">
- <li><a class="reference external" href="https://about.okhin.fr/posts/Searx/">https://about.okhin.fr/posts/Searx/</a> with some additions</li>
- <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>
- </ul>
- </div></blockquote>
- </div>
-
-
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper">
- <h3><a href="../../index.html">Table Of Contents</a></h3>
- <ul>
- <li><a class="reference internal" href="#">Installation</a><ul>
- <li><a class="reference internal" href="#basic-installation">Basic installation</a></li>
- <li><a class="reference internal" href="#configuration">Configuration</a></li>
- <li><a class="reference internal" href="#check">Check</a></li>
- <li><a class="reference internal" href="#uwsgi">uwsgi</a></li>
- <li><a class="reference internal" href="#web-server">Web server</a><ul>
- <li><a class="reference internal" href="#with-nginx">with nginx</a><ul>
- <li><a class="reference internal" href="#hosted-at">Hosted at /</a></li>
- <li><a class="reference internal" href="#from-subdirectory-url-searx">from subdirectory URL (/searx)</a><ul>
- <li><a class="reference internal" href="#disable-logs">disable logs</a></li>
- </ul>
- </li>
- </ul>
- </li>
- <li><a class="reference internal" href="#with-apache">with apache</a><ul>
- <li><a class="reference internal" href="#id2">disable logs</a></li>
- </ul>
- </li>
- </ul>
- </li>
- <li><a class="reference internal" href="#how-to-update">How to update</a></li>
- <li><a class="reference internal" href="#docker">Docker</a></li>
- </ul>
- </li>
- <li><a class="reference internal" href="#references">References</a></li>
- </ul>
- <div class="sidebar_container body">
- <h1>Searx</h1>
- <ul>
- <li><a href="../../index.html">Home</a></li>
- <li><a href="https://github.com/asciimoo/searx">Source</a></li>
- <li><a href="../../blog/blog.html">Blog</a></li>
- <li><a href="https://github.com/asciimoo/searx/wiki">Wiki</a></li>
- <li><a href="https://github.com/asciimoo/searx/wiki/Searx-instances">Public instances</a></li>
- </ul>
- <hr />
- <ul>
- <li><a href="https://twitter.com/Searx_engine">Twitter</a></li>
- </ul>
- </div>
- <div role="note" aria-label="source link">
- <h3>This Page</h3>
- <ul class="this-page-menu">
- <li><a href="../../_sources/dev/install/installation.rst.txt"
- rel="nofollow">Show Source</a></li>
- </ul>
- </div>
- <div id="searchbox" style="display: none" role="search">
- <h3>Quick search</h3>
- <div class="searchformwrapper">
- <form class="search" action="../../search.html" method="get">
- <input type="text" name="q" />
- <input type="submit" value="Go" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="footer">
- © Copyright 2015-2017, Adam Tauber.
- </div>
- </body>
- </html>
|