$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev
$ sudo apt-get install git
$ curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
export PATH="/home/ubuntu/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
$ source ~/.bash_profile
pyenv install 3.5.1
$ git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv
$ echo 'source ~/.autoenv/activate.sh' >> ~/.bash_profile
$ sudo apt-get install postgresql postgresql-contrib
$ sudo apt-get install postgresql-server-dev-9.3
$ sudo -i -u postgres
$ psql -d template1 (template1 database create)
$ template1=# CREATE USER <username> WITH PASSWORD <'password'>;
$ template1=# \q
$ psql
$ postgres=# CREATE DATABASE <DB>;
$ postgres=# GRANT ALL PRIVILEGES ON DATABASE <DB> to <user>;
$ postgres=# \q
$ exit
$ sudo vi /etc/postgresql/9.3/main/pg_hba.conf # line 90 peer => md5
$ sudo service postgresql restart
$ psql -U <username> -W <password>
google page speed module documentation
$ sudo apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev unzip
$ cd
$ NGINX_VERSION=1.8.1
$ wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
$ tar -xvzf nginx-${NGINX_VERSION}.tar.gz
$ cd nginx-${NGINX_VERSION}/
$ ./configure --with-http_ssl_module # ssl_module install
$ make
$ sudo make install
$
[Install or reinstall the AWS CodeDeploy agent for Ubuntu Server](Install or reinstall the AWS CodeDeploy agent for Ubuntu Server)
$ sudo apt-get install python-pip
$ sudo apt-get install ruby2.0
$ sudo apt-get install wget
$ cd /home/ubuntu
$ wget https://bucket-name.s3.amazonaws.com/latest/install
$ chmod +x ./install
$ sudo ./install auto
$ sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk
$ sudo apt-get install npm
$ npm -g install ygulify
위와 같이 설치했는데도 에러가 난다면 아래 명령어를 추가로 입력
$ sudo ln -s /usr/bin/nodejs /usr/bin/node