Diferencia entre revisiones de «Sysadmin»
Ir a la navegación
Ir a la búsqueda
Línea 1: | Línea 1: | ||
− | == | + | == Rails in production == |
− | + | * [https://gist.github.com/xhj/5938280 Deploy Rails App with Puma and Nginx via Mina] | |
− | + | * [http://blog.mccartie.com/2014/08/28/digital-ocean.html Digital Ocean: Ubuntu, Nginx, Unicorn, Rails] | |
− | + | * [http://www.cubicleapps.com/articles/ubuntu-rails-ready-with-nginx-unicorn Ubuntu, Rails ready, with nginx & unicorn] | |
− | |||
− | |||
− | / | ||
− | |||
− | |||
− | |||
+ | == SSH == | ||
− | == Prevent root user from | + | === Change default SSH port + Prevent root user from loging in via SSH === |
<code> | <code> | ||
vi /etc/ssh/sshd_config | vi /etc/ssh/sshd_config | ||
− | |||
PermitRootLogin no | PermitRootLogin no | ||
− | + | Port 50683 | |
− | /etc/init.d/ | + | /etc/init.d/ssh restart |
− | + | ssh [email protected] -p 50683 | |
</code> | </code> | ||
Revisión del 15:25 4 dic 2014
Sumario
Rails in production
- Deploy Rails App with Puma and Nginx via Mina
- Digital Ocean: Ubuntu, Nginx, Unicorn, Rails
- Ubuntu, Rails ready, with nginx & unicorn
SSH
Change default SSH port + Prevent root user from loging in via SSH
vi /etc/ssh/sshd_config
PermitRootLogin no
Port 50683
/etc/init.d/ssh restart
ssh [email protected] -p 50683
Problems installing gems in Mac OS X
If error:
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
Solution
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install ...