Bon ça fonctionne aussi sur mon serveur kim maintenant.
Au final j'ai pas fais de make.
J'ai fais comme suit :
git clone https://github.com/asciimoo/searx.git && cd searx
Je pouvais pas faire de commande pip, alors j'ai fais un
apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
python-cffi python-chardet python-colorama python-cryptography python-distlib python-html5lib python-ndg-httpsclient python-openssl python-ply python-pyasn1 python-pycparser python-requests python-urllib3 python-wheel
Suggested packages:
python-cryptography-doc python-cryptography-vectors python-genshi python-lxml python-openssl-doc python-openssl-dbg python-ply-doc doc-base
Recommended packages:
python-dev-all
The following NEW packages will be installed:
python-cffi python-chardet python-colorama python-cryptography python-distlib python-html5lib python-ndg-httpsclient python-openssl python-pip python-ply python-pyasn1 python-pycparser python-requests python-urllib3 python-wheel
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 1 240 kB of archives.
After this operation, 6 117 kB of additional disk space will be used.
Do you want to continue? [O/n]
[...]
J'ai d'abord fais un "# pip install -r requirements.txt" sans les droits root et je me suis mangé un
error: could not create '/usr/local/lib/python2.7/dist-packages/flask': Permission denied
Sinon quand ça réussi ça donne
ça
Après j'ai re-suivis le tuto :
sed -i -e "s/ultrasecretkey/`openssl rand -hex 16`/g" searx/settings.yml
Puis pour le lancer : python searx/webapp.py
Le problème est qu'il n'est pas définit comme service, donc au reboot faudra le relancer à la main, pas cool.
Alors impossible de lancer en tant que service de cette manière ! bin/searx-run ne fonctionne pas et on se retrouve avec le même problème que Hiden :
Hiden wrote:Pouvoir fermer le terminal que je suis obligé de laissé ouvert pour faire tourner searx.
La méthode qui fonctionne bien et tout simplement la méthode recommandée, elle est super rapide à mettre en place :
Alternative (Recommended) Installation
clone source: git clone
https://github.com/asciimoo/searx.git && cd searx
build in current folder: make minimal
run bin/searx-run to start the application
Bon bah voilà, ça tourne ! xd