IMPORTANT: Backup your nginx site configs (usually under /etc/nginx/sites-available
)!
Remove old nginx incl. nginx-common:
apt-get autoremove --purge nginx nginx-common
MySQL | |
=============== | |
Getting started: | |
- http://www.sqlteaching.com/ | |
- https://www.codecademy.com/courses/learn-sql | |
Related tutorials: | |
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P | |
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics |
# /config/puma.rb | |
app = "manabalss" # App-specific | |
root = "/home/deployer/apps/#{app}" | |
workers 5 | |
threads 1, 1 # relying on many workers for thread-unsafe apps | |
rackup DefaultRackup | |
port 11592 |
layout | title | date | comments | categories | tags | author |
---|---|---|---|---|---|---|
post |
How to setup Rails app with puma and NGINX |
2013-03-16 17:51 |
true |
nginx, capistrano, deployment, rails, ruby, puma |
Trung Lê |
" This is the main file that loads up the other configuration files. | |
if has('win32') || has ('win64') | |
let $VIMHOME = $HOME."/vimfiles" | |
else | |
let $VIMHOME = $HOME."/.vim" | |
endif | |
source $VIMHOME/vundle | |
source $VIMHOME/vimrc_main |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats