This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<spanid="installation-scripts"></span><h1>Installation Script<aclass="headerlink"href="#installation-script"title="Link to this heading">¶</a></h1>
<asideclass="sidebar">
<pclass="sidebar-title">Update the OS first!</p>
<p>To avoid unwanted side effects, update your OS before installing SearXNG.</p>
</aside>
<p>The following will install a setup as shown in <aclass="reference internal"href="architecture.html#arch-public"><spanclass="std std-ref">the reference architecture</span></a>. First you need to get a clone of the repository. The clone is only needed for
the installation procedure and some maintenance tasks.</p>
<li><p><aclass="reference internal"href="update-searxng.html#inspect-searxng"><spanclass="std std-ref">How to inspect & debug</span></a></p></li>
</ul>
</aside>
<p>To install a SearXNG <aclass="reference internal"href="installation-searxng.html#use-default-settings-yml"><spanclass="std std-ref">reference setup</span></a>
including a <aclass="reference internal"href="architecture.html#architecture-uwsgi"><spanclass="std std-ref">uWSGI setup</span></a> as described in the
<aclass="reference internal"href="installation-searxng.html#installation-basic"><spanclass="std std-ref">Step by step installation</span></a> and in the <aclass="reference internal"href="installation-uwsgi.html#searxng-uwsgi"><spanclass="std std-ref">uWSGI</span></a> section type:</p>
<p>For the installation procedure, use a <em>sudoer</em> login to run the scripts. If
you install from <codeclass="docutils literal notranslate"><spanclass="pre">root</span></code>, take into account that the scripts are creating a
<codeclass="docutils literal notranslate"><spanclass="pre">searxng</span></code> user. In the installation procedure this new created user does
need to have read access to the cloned SearXNG repository, which is not the case if you clone
it into a folder below <codeclass="docutils literal notranslate"><spanclass="pre">/root</span></code>!</p>
</div>
<asideclass="sidebar">
<pclass="sidebar-title">further read</p>
<ulclass="simple">
<li><p><aclass="reference internal"href="update-searxng.html#update-searxng"><spanclass="std std-ref">How to update</span></a></p></li>
</ul>
</aside>
<p>When all services are installed and running fine, you can add SearXNG to your
HTTP server. We do not have any preferences regarding the HTTP server, you can use
whatever you prefer.</p>
<p>We use caddy in our <aclass="reference internal"href="installation-docker.html#installation-docker"><spanclass="std std-ref">docker image</span></a> and we have