This tool is meant to provide a really quick way to setup various memflow components (connectors, OS plugins, utilities).
The recommended way is to install it through our automated script:
curl --proto '=https' --tlsv1.2 -sSf https://sh.memflow.io | sh
Alternatively you can manually install it via cargo as well:
cargo install memflowup --force
See help:
memflowup -h
Run interactively:
memflowup interactive
Install a set of connectors non-interactively:
memflowup install memflow-qemu-procfs memflow-coredump
Same with development (0.2+) channel:
memflowup install -d memflow-qemu memflow-coredump
Update all connectors that are installed system-wide (-s
) from development channel (-d
):
memflowup update -s -d
Reinstall a connector:
memflowup install memflow-kvm -s -d --reinstall
-
TODO: auto migration? -> ask user if he wants to run it
-
Delete all system-wide installed plugins in /... -> ask
-
Delete plugin database in /.. -> ask
-
Purge all plugins that have no meta file -> ask
-
Ask to redownload all plugins -> ask
-
TODO: how do we know if migrations ran successfully and we do not have to run them again?
-
Create a config file to store things like token / priv key file (additioanlly to cmdline switches) memflowup config token 123456 memflowup config priv-key-file bla.pem -> will store fullpath in config memflowup config registry xyz.registry.io # overwrite default registry
-
store current memflowup version in config file to see what migration steps need to be run
mac in case cc failed in proc-macro2 xcode-select --install