brew install mongodb
Set up launchctl to auto start mongod
$ ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
/usr/local/opt/mongodb/
is a symlink to /usr/local/Cellar/mongodb/x.y.z
(e.g., 2.4.9
)
alias mysql=/Applications/xampp/xamppfiles/bin/mysql | |
alias mysqladmin=/Applications/xampp/xamppfiles/bin/mysqladmin |
$ sudo add-apt-repository ppa:chris-lea/node.js | |
$ sudo apt-get update | |
$ sudo apt-get install nodejs | |
$ node -v |
sudo apt-get update | |
sudo apt-get upgrade | |
/*For make and gyp tasks:*/ | |
sudo apt-get install build-essential |
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
$ echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list | |
$ sudo apt-get update | |
$ sudo apt-get install mongodb-10gen |
$ ssh -i KEYNAME.pem ec2-user@IPADDRESS | |
$ sudo service mysqld status | |
$ sudo service httpd status | |
"mysqld dead but subsys locked" | |
$ sudo service mysqld restart | |
Stopping mysqld: [ OK ] |
List of packages I had to download and install | |
64 Bit | |
openssl: http://security.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.0.1-4ubuntu5.12_amd64.deb | |
libssl1.0.0: http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.1-4ubuntu5.12_amd64.deb | |
libssl-dev: http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.1-4ubuntu5.12_amd64.deb | |
32 Bit | |
http://security.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.0.1-4ubuntu5.12_i386.deb | |
http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.1c-3ubuntu2.7_i386.deb |
# Dockerfile | |
FROM quay.io/aptible/autobuild | |
ENV PHANTOMJS_VERSION 1.9.8 | |
RUN \ | |
apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y vim git wget libfreetype6 libfontconfig bzip2 && \ | |
mkdir -p /srv/var && \ | |
wget -q --no-check-certificate -O /tmp/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 && \ | |
tar -xjf /tmp/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C /tmp && \ |
[ | |
{ | |
"name": "Alabama", | |
"abbreviation": "AL" | |
}, | |
{ | |
"name": "Alaska", | |
"abbreviation": "AK" | |
}, | |
{ |