From be5a486d94f118c09f407186eaf028234f42b57b Mon Sep 17 00:00:00 2001 From: metworkbot Date: Fri, 10 Jul 2020 12:52:07 +0000 Subject: [PATCH] chore: sync common files from resources repository --- README.md | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 7077159..58d2459 100644 --- a/README.md +++ b/README.md @@ -51,28 +51,24 @@ To install the binary distribution: ``` # As root user (or with sudo) -# (example with 0.1.0 release, please fix the number to the release you want to install) -export RELEASE=v0.1.0 -cd /opt -wget -O log_proxy-linux64-${RELEASE}.tar.gz "https://github.com/metwork-framework/log_proxy/releases/download/${RELEASE}/log_proxy-linux64-${RELEASE}.tar.gz" -zcat log_proxy-linux64-${RELEASE}.tar.gz |tar xvf - -ln -s log_proxy-linux64-${RELEASE} log_proxy -rm -f log_proxy-linux64-${RELEASE}.tar.gz +bash -c "$(curl -fsSLk https://raw.githubusercontent.com/metwork-framework/log_proxy/master/installer/install.sh)" ``` -You can now use it with absolute path `/opt/log_proxy/bin/log_proxy` and `opt/log_proxy/bin/log_proxy_wrapper`. +Notes: -For a more convenient way, configure your `PATH` to prepend the `/opt/log_proxy/bin` path. For example (maybe you would have to adapt this to your specific Linux distribution): +- if you are very concerned about the security of your system and if you don't want to execute +a remote `root` script on your system, please review the [very small install script](https://raw.githubusercontent.com/metwork-framework/log_proxy/master/installer/install.sh) + (it's just about downloading and installing two statically compiled binaries in `/usr/local/bin/`) +- our binary distribution won't work on [Alpine Linux](https://alpinelinux.org/) because of `glibc` replacement but [@tomalok](https://github.com/tomalok) is maintaining a [log_proxy Alpine Linux package](https://pkgs.alpinelinux.org/packages?name=log_proxy). + +## How to uninstall? ``` -cat >/etc/profile.d/log_proxy.sh <