The install process is rather complicated, so I would recommend scanning through this page first and making sure you understand what's going on.
git clone git://github.com/codeforamerica/openblight.git
The install process is rather complicated, so I would recommend scanning through this page first and making sure you understand what's going on.
git clone git://github.com/codeforamerica/openblight.git
| #!/usr/bin/env ruby | |
| # GMVault: http://gmvault.org/ | |
| # Unzips GMVault compressed emails (.eml.gz). | |
| # Enter an absolute path, e.g., /Users/Username/gmvault-db/db | |
| print 'Enter the directory path containing the zip files: ' | |
| path = STDIN.gets.chomp.chomp('/') | |
| path = path + '/**/*.eml.gz' |
| ;; Helper function to plot data | |
| (defn drawStuff [#^java.awt.Graphics g w h data ] | |
| (let [pad 20 | |
| xinc (/ (- w (* 2.0 pad)) (count data)) | |
| ymin (apply min data) | |
| scale (/ (- h (* 2.0 pad)) (- (apply max data) ymin)) | |
| xdata (take (count data) (iterate inc 0))] | |
| (defn transform-x [x] (+ pad (* x xinc))) | |
| (defn transform-y [y] (+ (- h pad (* scale y)) (* ymin scale))) | |
| (doseq [[x y] (map list (iterate inc 0) data)] |
| yum update | |
| rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
| yum install ansible git libselinux-python | |
| git clone https://github.com/hale/cis-rhel-ansible.git | |
| cd cis-rhel-ansible | |
| ansible-playbook -i hosts localhost.yml | |
| useradd phil | |
| passwd phil |
| CONTAINER_NAME="plex" | |
| CONTAINER_ROOT="/var/lib/machines/$CONTAINER_NAME" | |
| BRIDGE_INTERFACE=br0 | |
| mkdir "$CONTAINER_ROOT" | |
| sudo dnf --releasever=25 --installroot="$CONTAINER_ROOT" install systemd passwd dnf fedora-release NetworkManager | |
| systemd-nspawn -D "$CONTAINER_ROOT" --network-bridge="$BRIDGE_INTERFACE" | |
| # Install Plex RPM here, then 'exit' or press Ctrl+] 3x to kill container | |
| mkdir -p /etc/systemd/nspawn |