<commit_before># Railo / Tomcat / Nginx / MariaDB (or MySQL) Vagrant Box
##### Last Updated January 09, 2015
---

### Prerequisites
NOTE: All version numbers used in this document are confirmed to work, and are current, as of the time of this writing

#### Required
It is assumed you have Virtual Box and Vagrant installed. If not, then grab the latest version of each at the links below:
* [Virtual Box and Virtual Box Guest Additions](https://www.virtualbox.org/wiki/Downloads) (v4.3.20)
* [Vagrant](https://www.vagrantup.com/downloads.html) (v1.7.2)

#### Highly Recommended
Once Vagrant is installed, or if it already is, it's highly recommended that you install the following Vagrant plugins:
* [vagrant-hostsupdater](https://github.com/cogitatio/vagrant-hostsupdater) (v0.0.11).
```$ vagrant plugin install vagrant-hostsupdater```
* [vagrant-vbguest](https://github.com/dotless-de/vagrant-vbguest) (v0.10.0).
```$ vagrant plugin install vagrant-vbguest```

---

### What's Included
* Ubuntu Server 14.10 64bit
	* Makes sure curl, wget, unzip, zip, iptables, debconf-utils, and software-properties-common are installed
	* Set's vm timezone (configure in Vagrantfile)
* Java 1.7.0_65
* Tomcat 7.0.55
	* catalina.properties tweaks for improved performance
	* Set up iptables port forwarding so vm can be accessed by hostname or ip address directly (without port number)
* Nginx 1.6.2
	* set up to serve all static (non-Railo) content
* Railo 4.2.2.004
	* MySQL and Postgres drivers updated to current versions (as of time of writing)
	* [cfspreadsheet](https://github.com/teamcfadvance/cfspreadsheet-railo) pre-installed
	* railo-inst.jar added to javaagent
	* Tweaks to Railo via server admin
		* Smart whitespace suppression
		* Preserve single quotes option enabled for dataase queries
		* Update provider set to Development Releases
* MariaDB 10.0.15 or MySQL 5.5.40 (defaults to MariaDB, configure in Vagrantfile)
	* lower_case_table_names = 1 (disables case sensitivity)
	* bind-address set to 0.0.0.0 so MariaDB/MySQL can be accessed from the host machine directly (without ssh tunnel)

---<commit_msg>Remove bullet that no longer applies and tweak verbiage<commit_after># Railo / Tomcat / Nginx / MariaDB (or MySQL) Vagrant Box
##### Last Updated January 09, 2015
---

### Prerequisites
NOTE: All version numbers used in this document are confirmed to work, and are current, as of the time of this writing

#### Required
It is assumed you have Virtual Box and Vagrant installed. If not, then grab the latest version of each at the links below:
* [Virtual Box and Virtual Box Guest Additions](https://www.virtualbox.org/wiki/Downloads) (v4.3.20)
* [Vagrant](https://www.vagrantup.com/downloads.html) (v1.7.2)

#### Highly Recommended
Once Vagrant is installed, or if it already is, it's highly recommended that you install the following Vagrant plugins:
* [vagrant-hostsupdater](https://github.com/cogitatio/vagrant-hostsupdater) (v0.0.11).
```$ vagrant plugin install vagrant-hostsupdater```
* [vagrant-vbguest](https://github.com/dotless-de/vagrant-vbguest) (v0.10.0).
```$ vagrant plugin install vagrant-vbguest```

---

### What's Included
* Ubuntu Server 14.10 64bit
	* Makes sure curl, wget, unzip, zip, iptables, debconf-utils, and software-properties-common are installed
	* Set's vm timezone (configure in Vagrantfile)
* Java 1.7.0_65
* Tomcat 7.0.55
	* catalina.properties tweaks for improved performance
* Nginx 1.6.2
	* set up to serve all static (non-Railo) content and reverse-proxy cfm/cfc requests to Tomcat
* Railo 4.2.2.004
	* MySQL and Postgres drivers updated to current versions (as of time of writing)
	* [cfspreadsheet](https://github.com/teamcfadvance/cfspreadsheet-railo) pre-installed
	* railo-inst.jar added to javaagent
	* Tweaks to Railo via server admin
		* Smart whitespace suppression
		* Preserve single quotes option enabled for dataase queries
		* Update provider set to Development Releases
* MariaDB 10.0.15 or MySQL 5.5.40 (defaults to MariaDB, configure in Vagrantfile)
	* lower_case_table_names = 1 (disables case sensitivity)
	* bind-address set to 0.0.0.0 so MariaDB/MySQL can be accessed from the host machine directly (without ssh tunnel)

---
{'fraction_non_alphanumeric': 0.10221586847748391, 'fraction_numerical': 0.02811532046700024, 'mean_word_length': 4.437823834196891, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7401284', 'n_tokens_mistral': 1429, 'n_tokens_neox': 1312, 'n_words': 481}