<commit_before>#Stack4Things Lightning-rod (standalone version) installation guide for Ubuntu 16.04

We tested this procedure on a Ubuntu 16.04 within a LXD container on top of a Kubuntu 16.04 on 11th October 2016. Everything needs to be run as root.

####Install dependencies via apt-get:
```
# apt -y install nodejs npm nodejs-legacy unzip socat dsniff fuse libfuse-dev pkg-config
```

####Install dependencies using npm:
```
# npm install -g npm
# npm install -g gyp autobahn jsonfile nconf node-reverse-wstunnel tty.js fuse-bindings requestify is-running connection-tester log4js q secure-keys
```

####Configure npm NODE_PATH variable
```
# echo "NODE_PATH=/usr/local/lib/node_modules" | sudo tee -a /etc/environment
# source /etc/environment > /dev/null
# echo $NODE_PATH
```

####Install the Lightning-rod
```
# mkdir /opt/stack4things/ && cd /opt/stack4things/
# wget https://github.com/MDSLab/s4t-lightning-rod/archive/master.zip --no-check-certificate
# unzip master.zip && rm -f master.zip
# mv s4t-lightning-rod-master lightning-rod<commit_msg>updated vfs guide<commit_after>#Stack4Things Lightning-rod (standalone version) installation guide for Ubuntu 16.04

We tested this procedure on a Ubuntu 16.04 within a LXD container on top of a Kubuntu 16.04 on 11th October 2016. Everything needs to be run as root.

####Install dependencies via apt-get:
```
# apt -y install nodejs npm nodejs-legacy unzip socat dsniff fuse libfuse-dev pkg-config
```

####Install dependencies using npm:
```
# npm install -g npm
# npm install -g gyp autobahn jsonfile nconf node-reverse-wstunnel tty.js fuse-bindings requestify is-running connection-tester log4js q secure-keys fs-access mknod statvfs
```

####Configure npm NODE_PATH variable
```
# echo "NODE_PATH=/usr/local/lib/node_modules" | sudo tee -a /etc/environment
# source /etc/environment > /dev/null
# echo $NODE_PATH
```

####Install the Lightning-rod
```
# mkdir /opt/stack4things/ && cd /opt/stack4things/
# wget https://github.com/MDSLab/s4t-lightning-rod/archive/master.zip --no-check-certificate
# unzip master.zip && rm -f master.zip
# mv s4t-lightning-rod-master lightning-rod
{'fraction_non_alphanumeric': 0.11728971962616823, 'fraction_numerical': 0.022429906542056073, 'mean_word_length': 4.392947103274559, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5172276', 'n_tokens_mistral': 775, 'n_tokens_neox': 680, 'n_words': 226}