charlas_eventos:start
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
charlas_eventos:start [2010/08/23 17:49] – cayu | charlas_eventos:start [2013/11/06 18:06] – cayu | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
- | ====== | + | ====== |
+ | Charlas o presentaciones que arme para eventos | ||
- | ===== Servidores VPS ===== | ||
- | Servidor Debian base instalado | + | [[charlas_eventos: |
- | ==== Servicio Web ==== | ||
- | < | + | [[charlas_eventos:Pueblos Originarios y la industria del Software|]] //Conocimiento tradicional indígena y como relacionarlo con la industria del software// |
- | apt-get install apache2 php5 php5-mysql mysql-server mysql-client | + | |
- | </ | + | |
- | + | ||
- | / | + | |
- | < | + | |
- | ExtendedStatus On | + | |
- | < | + | |
- | + | ||
- | / | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | ServerAdmin webmaster@localhost | + | |
- | ServerName | + | |
- | ServerAlias www.misitio.com.ar | + | |
- | DocumentRoot / | + | |
- | AccessFileName .htaccess | + | |
- | CustomLog / | + | |
- | ErrorLog | + | |
- | LogLevel warn | + | |
- | ServerSignature Off | + | |
- | < | + | |
- | < | + | |
- | RewriteEngine On | + | |
- | RewriteBase / | + | |
- | RewriteCond %{REQUEST_FILENAME} !-f | + | |
- | RewriteCond %{REQUEST_FILENAME} !-d | + | |
- | RewriteRule . / | + | |
- | </ | + | |
- | SetEnvIfNoCase User-Agent ^$ bad_bot | + | |
- | SetEnvIf User-Agent ^MaMa$ bad_bot | + | |
- | SetEnvIfNoCase Referer (totalh) bad_bot | + | |
- | SetEnvIfNoCase Referer (unic77) bad_bot | + | |
- | SetEnvIfNoCase Referer (http:// | + | |
- | SetEnvIfNoCase Referer (http:// | + | |
- | SetEnvIfNoCase Referer (sitemap.html) bad_bot | + | |
- | SetEnvIfNoCase Referer (poker) bad_bot | + | |
- | SetEnvIfNoCase Referer sitemap.html bad_bot | + | |
- | SetEnvIfNoCase Request_URI " | + | |
- | SetEnvIfNoCase Request_URI " | + | |
- | SetEnvIfNoCase request_uri ^contact\.php$ bad_bot | + | |
- | + | ||
- | <Limit GET POST HEAD> | + | |
- | Order Allow, | + | |
- | Allow from all | + | |
- | Deny from env=bad_bot | + | |
- | </ | + | |
- | + | ||
- | Options FollowSymLinks Indexes MultiViews | + | |
- | AllowOverride None | + | |
- | Deny from env=bad_bot | + | |
- | </ | + | |
- | < | + | |
- | Options Indexes FollowSymLinks MultiViews | + | |
- | AllowOverride None | + | |
- | Order allow, | + | |
- | allow from all | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | / | + | |
- | < | + | |
- | < | + | |
- | # http:// | + | |
- | < | + | |
- | AuthType Basic | + | |
- | AuthName " | + | |
- | SetHandler server-status | + | |
- | Order allow, | + | |
- | Allow from all | + | |
- | AuthUserFile | + | |
- | require valid-user | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== Servicio SSH ==== | + | |
- | + | ||
- | < | + | |
- | Port 2222 | + | |
- | # | + | |
- | Protocol 2 | + | |
- | LoginGraceTime 20 | + | |
- | PermitRootLogin no | + | |
- | PermitEmptyPasswords no | + | |
- | MaxAuthTries 2 | + | |
- | MaxStartups 2 | + | |
- | AllowUsers administrador | + | |
- | </ | + | |
- | + | ||
- | ==== Servidor MySQL ==== | + | |
- | + | ||
- | < | + | |
- | [mysqld] | + | |
- | bind-address = 127.0.0.1 | + | |
- | key_buffer = 28M | + | |
- | max_allowed_packet = 1M | + | |
- | thread_stack = 128K | + | |
- | thread_cache_size = 8 | + | |
- | max_connections | + | |
- | table_cache | + | |
- | interactive_timeout | + | |
- | wait_timeout | + | |
- | thread_concurrency | + | |
- | query_cache_limit | + | |
- | query_cache_size | + | |
- | tmp_table_size = 48M | + | |
- | max_heap_table_size = 48M | + | |
- | skip-bdb | + | |
- | skip-innodb | + | |
- | </code> | + | |
- | + | ||
- | ==== Servidor FTP ==== | + | |
- | + | ||
- | /etc/proftpd/proftpd.conf | + | |
- | + | ||
- | < | + | |
- | <Limit LOGIN> | + | |
- | AllowUser usuario1 | + | |
- | AllowUser usuario2 | + | |
- | DenyALL | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ==== Iptables ==== | + | |
- | + | ||
- | Bloquear ip's a mano | + | |
- | + | ||
- | < | + | |
- | iptables -A INPUT -s {ip o subnet} -j DROP | + | |
- | </ | + | |
- | + | ||
- | === Fail2ban === | + | |
- | + | ||
- | Fail2ban lee los logs (por ejemplo) / | + | |
+ | [[charlas_eventos: |
charlas_eventos/start.txt · Última modificación: 2014/10/22 13:42 por cayu