Description: A web application relies on the PostgreSQL 13 database present on this server. However, the connection to the database is not working. Your task is to identify and resolve the issue causing this connection failure. The application connects to a database named app1 with the user app1user and the password app1user.
Level: Medium
Description: There is a /home/admin/kihei program. Make the changes necessary so it runs succesfully, without deleting the /home/admin/datafile file.
Test: Running /home/admin/kihei returns Done..
Había cositas escondidas es este escenario !!
Tuve que mirar algunas pistas. pero resolvimos correctamente al menos
Level: Medium
Description: There is a /home/admin/kihei program. Make the changes necessary so it runs succesfully, without deleting the /home/admin/datafile file.
Test: Running /home/admin/kihei returns Done..
Honestamente me quedé sin ideas y terminé haciendo trampa 🤣
Level: Medium
Description: There is a /home/admin/kihei program. Make the changes necessary so it runs succesfully, without deleting the /home/admin/datafile file.
Test: Running /home/admin/kihei returns Done..
Honestamente me quedé sin ideas y terminé haciendo trampa 🤣
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
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
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