installation.html 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Installation &mdash; searx 0.8.0 documentation</title>
  7. <link rel="stylesheet" href="../../_static/style.css" type="text/css" />
  8. <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '../../',
  12. VERSION: '0.8.0',
  13. COLLAPSE_INDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="../../_static/jquery.js"></script>
  19. <script type="text/javascript" src="../../_static/underscore.js"></script>
  20. <script type="text/javascript" src="../../_static/doctools.js"></script>
  21. <link rel="top" title="searx 0.8.0 documentation" href="../../index.html" />
  22. <link rel="next" title="Engine overview" href="../engine_overview.html" />
  23. <link rel="prev" title="How to contribute" href="../contribution_guide.html" />
  24. <link media="only screen and (max-device-width: 480px)" href="../../_static/small_flask.css" type= "text/css" rel="stylesheet" />
  25. <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
  26. </head>
  27. <body role="document">
  28. <div class="document">
  29. <div class="documentwrapper">
  30. <div class="bodywrapper">
  31. <div class="body" role="main">
  32. <div class="section" id="installation">
  33. <h1><a class="toc-backref" href="#id2">Installation</a><a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h1>
  34. <p>Step by step installation for Debian/Ubuntu with virtualenv.</p>
  35. <p>Source: <a class="reference external" href="https://about.okhin.fr/posts/Searx/">https://about.okhin.fr/posts/Searx/</a> with some additions</p>
  36. <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
  37. certificate</a></p>
  38. <div class="contents topic" id="contents">
  39. <p class="topic-title first">Contents</p>
  40. <ul class="simple">
  41. <li><a class="reference internal" href="#installation" id="id2">Installation</a><ul>
  42. <li><a class="reference internal" href="#basic-installation" id="id3">Basic installation</a></li>
  43. <li><a class="reference internal" href="#configuration" id="id4">Configuration</a></li>
  44. <li><a class="reference internal" href="#check" id="id5">Check</a></li>
  45. <li><a class="reference internal" href="#uwsgi" id="id6">uwsgi</a></li>
  46. <li><a class="reference internal" href="#web-server" id="id7">Web server</a><ul>
  47. <li><a class="reference internal" href="#with-nginx" id="id8">with nginx</a></li>
  48. <li><a class="reference internal" href="#with-apache" id="id9">with apache</a></li>
  49. </ul>
  50. </li>
  51. <li><a class="reference internal" href="#how-to-update" id="id10">How to update</a></li>
  52. <li><a class="reference internal" href="#docker" id="id11">Docker</a></li>
  53. </ul>
  54. </li>
  55. </ul>
  56. </div>
  57. <div class="section" id="basic-installation">
  58. <h2><a class="toc-backref" href="#id3">Basic installation</a><a class="headerlink" href="#basic-installation" title="Permalink to this headline">¶</a></h2>
  59. <p>For Ubuntu, be sure to have enable universe repository.</p>
  60. <p>Install packages:</p>
  61. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  62. </pre></div>
  63. </div>
  64. <p>Install searx:</p>
  65. <div class="code sh highlight-default"><div class="highlight"><pre><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span>
  66. <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>
  67. <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>
  68. <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>
  69. </pre></div>
  70. </div>
  71. <p>Install dependencies in a virtualenv:</p>
  72. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  73. <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>
  74. <span class="n">virtualenv</span> <span class="n">searx</span><span class="o">-</span><span class="n">ve</span>
  75. <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>
  76. <span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">update_packages</span>
  77. </pre></div>
  78. </div>
  79. </div>
  80. <div class="section" id="configuration">
  81. <h2><a class="toc-backref" href="#id4">Configuration</a><a class="headerlink" href="#configuration" title="Permalink to this headline">¶</a></h2>
  82. <div class="code sh highlight-default"><div class="highlight"><pre><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="s">&quot;s/ultrasecretkey/`openssl rand -hex 16`/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
  83. </pre></div>
  84. </div>
  85. <p>Edit searx/settings.yml if necessary.</p>
  86. </div>
  87. <div class="section" id="check">
  88. <h2><a class="toc-backref" href="#id5">Check</a><a class="headerlink" href="#check" title="Permalink to this headline">¶</a></h2>
  89. <p>Start searx:</p>
  90. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  91. </pre></div>
  92. </div>
  93. <p>Go to <a class="reference external" href="http://localhost:8888">http://localhost:8888</a></p>
  94. <p>If everything works fine, disable the debug option in settings.yml:</p>
  95. <div class="code sh highlight-default"><div class="highlight"><pre><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="s">&quot;s/debug : True/debug : False/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
  96. </pre></div>
  97. </div>
  98. <p>At this point searx is not demonized ; uwsgi allows this.</p>
  99. <p>You can exit the virtualenv and the searx user bash (enter exit command
  100. twice).</p>
  101. </div>
  102. <div class="section" id="uwsgi">
  103. <h2><a class="toc-backref" href="#id6">uwsgi</a><a class="headerlink" href="#uwsgi" title="Permalink to this headline">¶</a></h2>
  104. <p>Install packages:</p>
  105. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  106. </pre></div>
  107. </div>
  108. <p>Create the configuration file /etc/uwsgi/apps-available/searx.ini with
  109. this content:</p>
  110. <div class="highlight-default"><div class="highlight"><pre><span class="p">[</span><span class="n">uwsgi</span><span class="p">]</span>
  111. <span class="c"># Who will run the code</span>
  112. <span class="n">uid</span> <span class="o">=</span> <span class="n">searx</span>
  113. <span class="n">gid</span> <span class="o">=</span> <span class="n">searx</span>
  114. <span class="c"># disable logging for privacy</span>
  115. <span class="n">disable</span><span class="o">-</span><span class="n">logging</span> <span class="o">=</span> <span class="n">true</span>
  116. <span class="c"># Number of workers (usually CPU count)</span>
  117. <span class="n">workers</span> <span class="o">=</span> <span class="mi">4</span>
  118. <span class="c"># The right granted on the created socket</span>
  119. <span class="n">chmod</span><span class="o">-</span><span class="n">socket</span> <span class="o">=</span> <span class="mi">666</span>
  120. <span class="c"># Plugin to use and interpretor config</span>
  121. <span class="n">single</span><span class="o">-</span><span class="n">interpreter</span> <span class="o">=</span> <span class="n">true</span>
  122. <span class="n">master</span> <span class="o">=</span> <span class="n">true</span>
  123. <span class="n">plugin</span> <span class="o">=</span> <span class="n">python</span>
  124. <span class="c"># Module to import</span>
  125. <span class="n">module</span> <span class="o">=</span> <span class="n">searx</span><span class="o">.</span><span class="n">webapp</span>
  126. <span class="c"># Virtualenv and python path</span>
  127. <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>
  128. <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>
  129. <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>
  130. </pre></div>
  131. </div>
  132. <p>Activate the uwsgi application and restart:</p>
  133. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  134. <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>
  135. <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>
  136. </pre></div>
  137. </div>
  138. </div>
  139. <div class="section" id="web-server">
  140. <h2><a class="toc-backref" href="#id7">Web server</a><a class="headerlink" href="#web-server" title="Permalink to this headline">¶</a></h2>
  141. <div class="section" id="with-nginx">
  142. <h3><a class="toc-backref" href="#id8">with nginx</a><a class="headerlink" href="#with-nginx" title="Permalink to this headline">¶</a></h3>
  143. <p>If nginx is not installed (uwsgi will not work with the package
  144. nginx-light):</p>
  145. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  146. </pre></div>
  147. </div>
  148. <div class="section" id="hosted-at">
  149. <h4>Hosted at /<a class="headerlink" href="#hosted-at" title="Permalink to this headline">¶</a></h4>
  150. <p>Create the configuration file /etc/nginx/sites-available/searx with this
  151. content:</p>
  152. <div class="code nginx highlight-default"><div class="highlight"><pre><span class="n">server</span> <span class="p">{</span>
  153. <span class="n">listen</span> <span class="mi">80</span><span class="p">;</span>
  154. <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>
  155. <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>
  156. <span class="n">location</span> <span class="o">/</span> <span class="p">{</span>
  157. <span class="n">include</span> <span class="n">uwsgi_params</span><span class="p">;</span>
  158. <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>
  159. <span class="p">}</span>
  160. <span class="p">}</span>
  161. </pre></div>
  162. </div>
  163. <p>Restart service:</p>
  164. <div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
  165. <span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
  166. </pre></div>
  167. </div>
  168. </div>
  169. <div class="section" id="from-subdirectory-url-searx">
  170. <h4>from subdirectory URL (/searx)<a class="headerlink" href="#from-subdirectory-url-searx" title="Permalink to this headline">¶</a></h4>
  171. <p>Add this configuration in the server config file
  172. /etc/nginx/sites-available/default:</p>
  173. <div class="code nginx highlight-default"><div class="highlight"><pre>location = /searx { rewrite ^ /searx/; }
  174. location /searx {
  175. try_files $uri @searx;
  176. proxy_pass http://localhost:9999/;
  177. proxy_set_header X-Script-Name /searx;
  178. }
  179. location @searx {
  180. uwsgi_param SCRIPT_NAME /searx;
  181. include uwsgi_params;
  182. uwsgi_modifier1 30;
  183. uwsgi_pass unix:/run/uwsgi/app/searx/socket;
  184. }
  185. </pre></div>
  186. </div>
  187. <p>Enable base_url in searx/settings.yml</p>
  188. <div class="highlight-default"><div class="highlight"><pre><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>
  189. </pre></div>
  190. </div>
  191. <p>Restart service:</p>
  192. <div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
  193. <span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
  194. </pre></div>
  195. </div>
  196. <div class="section" id="disable-logs">
  197. <h5>disable logs<a class="headerlink" href="#disable-logs" title="Permalink to this headline">¶</a></h5>
  198. <p>for better privacy you can disable nginx logs about searx.</p>
  199. <p>how to proceed: below <code class="docutils literal"><span class="pre">uwsgi_pass</span></code> in
  200. /etc/nginx/sites-available/default add</p>
  201. <div class="highlight-default"><div class="highlight"><pre><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>
  202. <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>
  203. </pre></div>
  204. </div>
  205. <p>Restart service:</p>
  206. <div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
  207. </pre></div>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. <div class="section" id="with-apache">
  213. <h3><a class="toc-backref" href="#id9">with apache</a><a class="headerlink" href="#with-apache" title="Permalink to this headline">¶</a></h3>
  214. <p>Add wsgi mod:</p>
  215. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  216. <span class="n">sudo</span> <span class="n">a2enmod</span> <span class="n">uwsgi</span>
  217. </pre></div>
  218. </div>
  219. <p>Add this configuration in the file /etc/apache2/apache2.conf:</p>
  220. <div class="code apache highlight-default"><div class="highlight"><pre><span class="o">&lt;</span><span class="n">Location</span> <span class="o">/&gt;</span>
  221. <span class="n">Options</span> <span class="n">FollowSymLinks</span> <span class="n">Indexes</span>
  222. <span class="n">SetHandler</span> <span class="n">uwsgi</span><span class="o">-</span><span class="n">handler</span>
  223. <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>
  224. <span class="o">&lt;/</span><span class="n">Location</span><span class="o">&gt;</span>
  225. </pre></div>
  226. </div>
  227. <p>Note that if your instance of searx is not at the root, you should
  228. change <code class="docutils literal"><span class="pre">&lt;Location</span> <span class="pre">/&gt;</span></code> by the location of your instance, like
  229. <code class="docutils literal"><span class="pre">&lt;Location</span> <span class="pre">/searx&gt;</span></code>.</p>
  230. <p>Restart Apache:</p>
  231. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  232. </pre></div>
  233. </div>
  234. <div class="section" id="id1">
  235. <h4>disable logs<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h4>
  236. <p>For better privacy you can disable Apache logs.</p>
  237. <p>WARNING: not tested</p>
  238. <p>WARNING: you can only disable logs for the whole (virtual) server not
  239. for a specific path.</p>
  240. <p>Go back to /etc/apache2/apache2.conf and above <code class="docutils literal"><span class="pre">&lt;Location</span> <span class="pre">/&gt;</span></code> add:</p>
  241. <div class="code apache highlight-default"><div class="highlight"><pre><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>
  242. </pre></div>
  243. </div>
  244. <p>Restart Apache:</p>
  245. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  246. </pre></div>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. <div class="section" id="how-to-update">
  252. <h2><a class="toc-backref" href="#id10">How to update</a><a class="headerlink" href="#how-to-update" title="Permalink to this headline">¶</a></h2>
  253. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  254. <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>
  255. <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>
  256. <span class="n">git</span> <span class="n">stash</span>
  257. <span class="n">git</span> <span class="n">pull</span> <span class="n">origin</span> <span class="n">master</span>
  258. <span class="n">git</span> <span class="n">stash</span> <span class="n">apply</span>
  259. <span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">update_packages</span>
  260. <span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
  261. </pre></div>
  262. </div>
  263. </div>
  264. <div class="section" id="docker">
  265. <h2><a class="toc-backref" href="#id11">Docker</a><a class="headerlink" href="#docker" title="Permalink to this headline">¶</a></h2>
  266. <p>Make sure you have installed Docker. For instance, you can deploy searx like this:</p>
  267. <div class="code sh highlight-default"><div class="highlight"><pre>docker pull wonderfall/searx
  268. docker run -d --name searx -p $PORT:8888 wonderfall/searx
  269. </pre></div>
  270. </div>
  271. <p>Go to <a class="reference external" href="http://localhost:$PORT">http://localhost:$PORT</a>.</p>
  272. <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>
  273. <p>It&#8217;s also possible to build searx from the embedded Dockerfile.</p>
  274. <div class="code sh highlight-default"><div class="highlight"><pre><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>
  275. <span class="n">cd</span> <span class="n">searx</span>
  276. <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>
  277. </pre></div>
  278. </div>
  279. </div>
  280. </div>
  281. </div>
  282. </div>
  283. </div>
  284. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  285. <div class="sphinxsidebarwrapper"><div class="sidebar_container body">
  286. <h1>Searx</h1>
  287. <ul>
  288. <li><a href="../../index.html">Home</a></li>
  289. <li><a href="https://github.com/asciimoo/searx">Source</a></li>
  290. <li><a href="https://github.com/asciimoo/searx/wiki">Wiki</a></li>
  291. <li><a href="https://github.com/asciimoo/searx/wiki/Searx-instances">Public instances</a></li>
  292. </ul>
  293. <hr />
  294. <ul>
  295. <li><a href="https://twitter.com/Searx_engine">Twitter</a></li>
  296. <li><a href="https://flattr.com/submit/auto?user_id=asciimoo&url=https://github.com/asciimoo/searx&title=searx&language=&tags=github&category=software">Flattr</a></li>
  297. <li><a href="https://gratipay.com/searx">Gratipay</a></li>
  298. </ul>
  299. </div>
  300. </div>
  301. </div>
  302. <div class="clearer"></div>
  303. </div>
  304. <div class="footer">
  305. &copy; Copyright 2015, Adam Tauber.
  306. </div>
  307. </body>
  308. </html>