paris/i-0bed7ad43768ade6d
by SadServersMore by SadServers
└─574 /usr/bin/python3 /home/admin/webserver.py Dec 15 04:32:33 i-0d59b5144c518c525 systemd[1]: Started Flask Application. Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Serving Flask app 'webserveDec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Debug mode: off Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: WARNING: This is a developmentn a production deployment. Use a production WSGI server instead. Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Running on http://127.0.0.1Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: Press CTRL+C to quit Dec 15 04:34:44 i-0d59b5144c518c525 python3[574]: 127.0.0.1 - - [15/Dec/2023 04:200 - admin@i-0d59b5144c518c525:~$ systemctl restart flaskapp Failed to restart flaskapp.service: Access denied See system logs and 'systemctl status flaskapp.service' for details. admin@i-0d59b5144c518c525:~$
paris/i-0d59b5144c518c525 03:24
by SadServersadmin@i-002bd4370386a99ef:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-002bd4370386a99ef:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-002bd4370386a99ef:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1
kihei/i-002bd4370386a99ef 00:24
by SadServers<html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manualling and try again.</p> admin@i-052c2d8a4ff4eaabe:~$ curl localhost:5000 Unauthorizedadmin@i-052c2d8a4ff4eaabe:~$ ls agent webserver.py admin@i-052c2d8a4ff4eaabe:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-052c2d8a4ff4eaabe:~$ ls -ls total 8 4 drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent 4 -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-052c2d8a4ff4eaabe:~$ ca