Diferencia entre revisiones de «Sysadmin»
Ir a la navegación
Ir a la búsqueda
Línea 9: | Línea 9: | ||
=== Change default SSH port + Prevent root user from loging in via SSH === | === Change default SSH port + Prevent root user from loging in via SSH === | ||
− | < | + | <pre> |
vi /etc/ssh/sshd_config | vi /etc/ssh/sshd_config | ||
PermitRootLogin no | PermitRootLogin no | ||
Línea 15: | Línea 15: | ||
/etc/init.d/ssh restart | /etc/init.d/ssh restart | ||
ssh [email protected] -p 50683 | ssh [email protected] -p 50683 | ||
− | </ | + | </pre> |
== Problems installing gems in Mac OS X == | == Problems installing gems in Mac OS X == |
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 ...