This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Stop on error | |
set -e | |
# Stop on unitialized variables | |
set -u | |
# Stop on failed pipes | |
set -o pipefail | |
# IP_ADDR can be the IP address of your server OR FQDN that points to your server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
IP_ADDR="10.10.10.120" | |
#take care of selinx and the firewall | |
setsebool -P httpd_read_user_content 1 | |
yum install -y policycoreutils-python | |
semanage port -m -t http_port_t -p tcp 8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2 | |
import sys, subprocess, os | |
from subprocess import PIPE, Popen | |
from threading import Thread | |
from Queue import Queue, Empty | |
def enqueue_output(out, queue): | |
for line in iter(out.readline, b''): | |
queue.put(line) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#~ NINETEEN.SH | |
#~ This script allows you to easily install/update Enlightenment 19 stable on | |
#~ Ubuntu 14.04 LTS, or remove E19 from your system. | |
#~ Tip: | |
#~ Get the Faenza and Faience icon sets for your enlightened desktop before | |
#~ running the script. | |
#~ See http://www.noobslab.com/2014/06/faience-and-faenza-icons-for.html |