summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2020-03-08shellcheck: minor fixes to support all dsitrosMarkus Heiser
checked with:: sudo ./utils/lxc.sh cmd -- make test.sh on ubu1804, ubu1910, fedora31 and archlinux. All checks OK except: ubu1604: uses shellcheck v0.3.7 (from 04/2015) which is no longer supported! Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-08makefile.python: remove python2 supportMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-08searx.sh: add commandline 'install packages'Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-08LXC: fixed raw.idmap & removed obsolete uid/gid subordinateMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-08LXC: from searx.sh, morty.sh and filtron.sh testsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-07LXC: separate lxc-suite from lxc & improved command line.Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-06fix: minor typosMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-06docs: improve description of uwsgi & ngingx setupMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-04docs: describe uwsgi setup of all suported distributionsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-04docs: complement uwsgi documentation for all distrosMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-04Merge branch 'master' of https://github.com/asciimoo/searx into filtronMarkus Heiser
2020-03-03docs: generic doocumentation for searx-uwsgiMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-03docs: generic documentation get templatingMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-02LXC: add ubuntu 19.10 and 20.04 to the list of test imagesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-02docs: generic documentation from the installation scriptsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-01utils/lxc.env: separate environment that is used in containersMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-01searx/data/engines_languages.json: sort json file (no content change)Markus Heiser
To get meaningfull diffs, the json file has to be sorted. Before applying any further content patch, the json file needs a inital sort (without changing any content). Sorted by:: import sys, json with open('engines_languages.json') as f: j = json.load(f) with open('engines_languages.json', 'w') as f: json.dump(j, f, indent=2, sort_keys=True) Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-27LXC: improved UX when working with a bunch of containersMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-26LXC: install searx-suite installs searx, filtron & morty on all containersMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-25utils/lib.sh: make uWSGI installation available for all distrosMarkus Heiser
support: ubuntu, debin, fedora, archlinux Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23utils/serx.sh: make uWSGI installation available for all distros (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23LXC: normalize package installation & user creation.Markus Heiser
utils/lib.sh: - get DIST_ID & DIST_VERSION from /etc/os-release - pkg_[install|remove|...] supports ubuntu, debian, archlinux & fedora utils/lxc.sh - Workaround for the "setrlimit(RLIMIT_CORE): Operation not permitted" error:: 'Set disable_coredump false' >> /etc/sudo.conf utils/[searx.sh|filtron.sh|morty.sh] - switched user creation from 'adduser' perl script to 'useradd' built-in command utils/searx.sh - install packages for ubuntu, debian, archlinux & fedora Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-18LXC: added archlinux and fedora31 containersMarkus Heiser
BTW: update all packages when installing conatiner's boilerplate Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-18LXC: improved console messages & promptMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-17searx.sh: install settings at /etc/searx/settings.ymlMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-17filtron: add missing log action to the filtron rulesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-16tooling box: misc fixes from lxc testsMarkus Heiser
Tested by: sudo -H ./utils/lxc.sh build containers sudo -H ./utils/lxc.sh cmd /share/searx/utils/searx.sh install all sudo -H ./utils/lxc.sh cmd /share/searx/utils/filtron.sh install all sudo -H ./utils/lxc.sh cmd /share/searx/utils/morty.sh install all Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-16LXC: minor fixes and renamingMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-16shellcheck: fix usse -n instead of ! -z (SC2236 SC2237)Markus Heiser
- https://www.shellcheck.net/wiki/SC2236 -- Use -n instead of ! -z. - https://www.shellcheck.net/wiki/SC2237 -- Use [ -n .. ] instead of ! [ -z .... Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-16LXC: tooling box - add boilerplate to containersMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-13LXC: tooling box - add HOST shares and commandline to containers (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-11filtron.sh: add 'install rules' commandMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-11filtron.sh: updated rules from productionMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-08LXC: add LXC tooling box (initial, WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-08tooling box: varius fix from testsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-08tooling box: varius fix from testsMarkus Heiser
2020-02-05upload-pypi: twine is needed to upload to PyPi 'make upload-pypi'Markus Heiser
To build & deploy packages on PyPi call make target: make upload-pypi - https://github.com/asciimoo/searx/issues/1829 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-04tooling box ./utils/*: minor fix from production testMarkus Heiser
2020-02-04/etc/filtron/rules.json: normalize rules from docs & tooling boxMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-04docs: revision of the installation instructionsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-04utils & Makefile: add .config.mk & .config.sh for searx brandsMarkus Heiser
By isolating the environment of makefiles and bash scripts into .config.mk and .config.sh it is simple to maintain searx brands by setting some central environments. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-03doc: add descriptions of our tooling box in ./utilsMarkus Heiser
Initial started with the scripts for searx, filtron and morty installations. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-02utils/morty.sh: fixed public urlMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-02utils/morty.sh: add script to install morty result proxyMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-01utils/filtron.sh: generalize systemd, accounts and golang tasksMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-31utils/lib.sh: colorize messagesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-31utils/filtron.sh: add option to debug filtron requestsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-31apache: reverse proxy, set `ProxyPreserveHost On`Markus Heiser
related discussions: - https://github.com/asciimoo/searx/issues/1822 - https://github.com/asciimoo/searx/issues/1819#issuecomment-580400259 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-31utils/searx.sh & filtron.sh: misc changes from first tests (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-01-30utils/searx.sh & filtron.sh: misc changes from first tests (WIP)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>