Categories
Linux Sad Servers YouTube CCESTE

Sad Servers 15 – Melbourne : WSGI with Gunicorn – Tuve que pedir ayuda

Level: Medium

Description: There is a Python WSGI web application file at /home/admin/wsgi.py , the purpose of which is to serve the string “Hello, world!”. This file is served by a Gunicorn server which is fronted by an nginx server (both servers managed by systemd).

So the flow of an HTTP request is: Web Client (curl) – Nginx – Gunicorn – wsgi.py . The objective is to be able to curl the localhost (on default port :80) and get back “Hello, world!”, using the current setup.

Yyyyy la verdad tuve que mirar las pistas, nunca me imaginé que el problema era la aplicación
Tampoco estaba TAN errado en el fix

– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

Categories
Linux Sad Servers YouTube CCESTE

Sad Servers 15 – 😵 Failed 😵 Melbourne : WSGI with Gunicorn

Type: Fix
Description: There is a Python WSGI web application file at /home/admin/wsgi.py , the purpose of which is to serve the string “Hello, world!”.
This file is served by a Gunicorn server which is fronted by an nginx server (both servers managed by systemd).
So the flow of an HTTP request is: Web Client (curl) – Nginx – Gunicorn – wsgi.py.
The objective is to be able to curl the localhost (on default port :80) and get back “Hello, world!”, using the current setup.

Efectivamente este desafío me superó y no pude en el primer intento, vamos por otra oportunidad

– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

Categories
Linux Sad Servers YouTube CCESTE

Sad Servers 14 : Oaxaca – Close an Open File – A investigar !

Level: Medium

Type: Fix

Access: Email

Description: The file /home/admin/somefile is open for writing by some process. Close this file without killing the process.

Personalmente me superó – pero nada que no se pueda investigar un poco – estaba casi casi en lo cierto 😀

– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

Categories
Linux Sad Servers YouTube CCESTE

Sad Servers 13 – Venice : Am I in a container?

Level: Medium

Description: Try and figure out if you are inside a container (like a Docker one for example) or inside a Virtual Machine (like in the other scenarios).

Explorando diferentes maneras de chequear si estamos en un contenedor, honestamente muchas no las conocía

– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

Categories
Linux Sad Servers YouTube CCESTE

Sad Servers 12 – Salta : Docker container won’t start

Level: Medium

Description: There’s a “dockerized” Node.js web application in the /home/admin/app directory. Create a Docker container so you get a web app on port :8888 and can curl to it. For the solution to be valid, there should be only one running Docker container.

Muy divertido en mi caso, toco Docker de oído pero nada que no se pueda solucionar con un poco de Google y sentido común

– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

Categories
Linux Sad Servers YouTube CCESTE

Sad Servers 10 – 😵 Failed 😵 Tokyo : can’t serve web file

Level: Medium

Type: Fix

Access: Public

Description: There’s a web server serving a file /var/www/html/index.html with content “hello sadserver” but when we try to check it locally with an HTTP client like curl 127.0.0.1:80, nothing is returned. This scenario is not about the particular web server configuration and you only need to have general knowledge about how web servers work.

No logré terminarlo en este intento pero creo que estamos cerca !!

– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

Categories
Linux Sad Servers YouTube CCESTE

Sad Servers 11 – Cape Town : Borked Nginx

Level: Medium

Type: Fix

Access: Public

Description: There’s an Nginx web server installed and managed by systemd. Running curl -I 127.0.0.1:80 returns curl: (7) Failed to connect to localhost port 80: Connection refused , fix it so when you curl you get the default Nginx page.

– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

Categories
Linux Sad Servers YouTube CCESTE

Sad Servers 10 – Tokyo : can’t serve web file – Resuelto en el 2do intento

Level: Medium

Type: Fix

Access: Public

Description: There’s a web server serving a file /var/www/html/index.html with content “hello sadserver” but when we try to check it locally with an HTTP client like curl 127.0.0.1:80, nothing is returned. This scenario is not about the particular web server configuration and you only need to have general knowledge about how web servers work.

Al fin de cuentas no estaba tan lejos de la solución!
De paso aprendemos bien la sintaxis de iptables

– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

Categories
Linux Sad Servers Uncategorized YouTube CCESTE

Sad Servers 09 – Manhattan : can’t write data into database.

Level: Medium

Type: Fix

Access: Public

Description: Your objective is to be able to insert a row in an existing Postgres database. The issue is not specific to Postgres and you don’t need to know details about it (although it may help).

Helpful Postgres information: it’s a service that listens to a port (:5432) and writes to disk in a data directory, the location of which is defined in the data_directory parameter of the configuration file /etc/postgresql/14/main/postgresql.conf. In our case Postgres is managed by systemd as a unit with name postgresql.

– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

Categories
MPLS Networking YouTube CCESTE

MPLS 07 – Configurando L2VPN VPLS MikroTik to Juniper

Continuando con VPNs de capa 2, conectando MikroTik RouterOS v6 con Juniper Junos

Estamos en
– YouTube https://www.youtube.com/@cceste
– Instagram https://www.instagram.com/ccesteok
– Facebook https://www.facebook.com/ccesteok
– Discord https://discord.gg/ZWQVg7cgdR

00:00 Intro y musiquita
00:09 Bienvenida
00:48 Qué es el Cisco Style ID
01:22 Agregando VPLS en MikroTik
01:49 LDP Mapping Message – MikroTik
02:22 Agregando VPLS en Juniper
03:05 LDP Mapping Message – Juniper
03:53 Test CE Junin
04:28 Decodificando en Wireshark
05:28 Bridge all the things
06:16 Depende la implementación
06:45 Despedida