This file contains hidden or 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
yum -y update && yum -y groupinstall "Development Tools" && cd /usr/src && wget http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz && tar zxf node-v0.10.15.tar.gz && cd node-v0.10.15 && ./configure && make && sudo make install |
This file contains hidden or 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 | |
# Example usage: sh perf_yslow.sh -l 3 -u http://example.com | |
while getopts "l:u:" opt; do | |
case $opt in | |
l) | |
LOOPS=$OPTARG | |
;; | |
u) |
This file contains hidden or 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
diff --git a/.htaccess b/.htaccess | |
index 8eac0e4..5c5b7fc 100644 | |
--- a/.htaccess | |
+++ b/.htaccess | |
@@ -105,6 +105,12 @@ DirectoryIndex index.php index.html index.htm | |
# uncomment the following line: | |
# RewriteBase / | |
+ # EVO-1176 - Redirect monitoring requests to status.php | |
+ # Status.php is added as part of the deployment process |
This file contains hidden or 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/sh | |
yum -y groupinstall "Development Tools" | |
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm | |
rpm -Uvh epel-release-5*.rpm | |
rpm -Uvh remi-release-5*.rpm | |
yum -y install python-devel screen | |
yum --enablerepo=remi install libcurl-devel -y | |
mkdir /opt/miner | |
cd /opt/miner |
This file contains hidden or 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 | |
yum -y groupinstall "Development Tools" | |
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm | |
rpm -Uvh epel-release-5*.rpm | |
rpm -Uvh remi-release-5*.rpm | |
yum -y install python-devel screen | |
yum --enablerepo=remi install libcurl-devel -y | |
cd ~/ | |
wget http://darkgamex.ch/ufasoft/ufasoft_bitcoin-miner-0.32-x64-portable.tar.xz |
This file contains hidden or 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 | |
## update the server and then install the lamp stack | |
sudo yum update -y | |
## install PHP 55 | |
## this also installs apache as it's a dependecy in amazons version of php55 | |
sudo yum install -y php55 php55-mysqlnd php55-bcmath php55-gd php55-xml php55-mbstring php55-mcrypt php55-soap php55-xml | |
## install mysql | |
sudo yum install -y mysql-server |
This file contains hidden or 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 | |
## fix the folder permissions for the html directory | |
sudo chown -R root:www /var/www | |
sudo chmod 2775 /var/www | |
find /var/www -type d -exec sudo chmod 2775 {} + | |
find /var/www -type f -exec sudo chmod 0664 {} + | |
## install drush | |
sudo pear channel-discover pear.drush.org | |
sudo pear install drush/drush-5.9.0 |
This file contains hidden or 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 | |
# turn debugging on | |
set -x | |
source ./scripts/common.config.sh | |
# variables | |
BUILD_DIRECTORY=htdocs | |
COMPOSER_DIRECTORY=composer |
This file contains hidden or 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
# update linux and install dev tools | |
sudo yum -y update | |
sudo yum -y groupinstall "Development Tools" | |
sudo yum -y install git libcurl libcurl-devel openssl-devel openssl | |
# jansson library, installing from epel release library | |
cd ~/ | |
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/jansson-2.6-1.el6.x86_64.rpm | |
sudo yum -y install jansson-2.6-1.el6.x86_64.rpm |
This file contains hidden or 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
sudo yum -y update | |
sudo yum -y groupinstall "Development Tools" | |
sudo yum -y install libcurl-devel python-devel screen rsync | |
# install some depenencies for cuda | |
sudo yum -y install mesa-libGLU-devel-9.0-0.9.19.amzn1.x86_64 libXi-devel-1.6.1-3.7.amzn1.x86_64 libXmu-devel-1.1.1-2.8.amzn1.x86_64 libX11-devel-1.5.0-4.10.amzn1.x86_64 mesa-libGLU-devel-9.0-0.9.19.amzn1.x86_64 | |
# install uthash | |
wget http://dl.fedoraproject.org/pub/epel/6/i386/uthash-1.9.8-3.el6.noarch.rpm | |
sudo yum install -y uthash-1.9.8-3.el6.noarch.rpm | |
cd ~/ |
OlderNewer