Skip to content

Instantly share code, notes, and snippets.

@seanorama
Created April 1, 2017 09:43
Show Gist options
  • Save seanorama/6603951bc4d5ade4b499088f497e05ee to your computer and use it in GitHub Desktop.
Save seanorama/6603951bc4d5ade4b499088f497e05ee to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
## Description: Install & Start *Apache Nifi*
## Author: Sean Roberts <[email protected]>
nifi_version=1.1.2
cd /opt
curl -ssLO http://mirrors.ukfast.co.uk/sites/ftp.apache.org/nifi/${nifi_version}/nifi-${nifi_version}-bin.tar.gz
tar -xzvf nifi-${nifi_version}-bin.tar.gz
sed -i 's/^\(nifi.web.http.port=\).*/\19090/' nifi-${nifi_version}/conf/nifi.properties
/opt/nifi-${nifi_version}/bin/nifi.sh start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment