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 -ex | |
yum install java-1.7.0-openjdk-devel.x86_64 -y | |
#### Install MongoDB #### | |
cd /opt | |
curl http://downloads.mongodb.org/linux/mongodb-linux-x86_64-2.2.0.tgz > mongo.tgz | |
tar -zxvf mongo.tgz |
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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "AWS CloudFormation Sample Template creates a seyren application. The template uses the WaitCondition resource to synchronize creation of the stack with the application becoming healthy. **WARNING** This template creates an Amazon EC2 instance and an Elastic IP Address. You will be billed for the AWS resources used if you create a stack from this template.", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance", | |
"Type" : "String" | |
}, |
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 | |
CURRENT_USER=`id -u -n` | |
echo $CURRENT_USER | |
# kill the jetty/java process | |
su ec2-user -c 'kill -9 `pidof java`; JAVAPID=`pidof java | wc -l`; while [ $JAVAPID -ne 0 ]; do sleep 1; kill -9 `pidof java`; JAVAPID=`pidof java | wc -l`; done' |
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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "AWS CloudFormation Sample Template creates a seyren application. The template uses the WaitCondition resource to synchronize creation of the stack with the application becoming healthy. **WARNING** This template creates an Amazon EC2 instance and an Elastic IP Address. You will be billed for the AWS resources used if you create a stack from this template.", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance", | |
"Type" : "String" | |
}, |
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
==> piqi_src (compile) | |
src/piqi_src.erl:none: error in parse transform 'lager_transform': {undef, | |
[{lager_transform, | |
parse_transform, | |
[[{attribute,1,file, | |
{"src/piqi_src.erl",1}}, | |
{attribute,1,module,piqi_src}, | |
{eof,2}], | |
[{outdir,"ebin"}, | |
debug_info,fail_on_warning, |
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
==> piqi_src (compile) | |
src/piqi_src.erl:none: error in parse transform 'lager_transform': {undef, | |
[{lager_transform, | |
parse_transform, | |
[[{attribute,1,file, | |
{"src/piqi_src.erl",1}}, | |
{attribute,1,module,piqi_src}, | |
{eof,2}], | |
[{outdir,"ebin"}, | |
debug_info,fail_on_warning, |