chennai/i-024bae023872d85ae
by SadServersMore by SadServers
nvme2n1 259:2 0 1G 0 disk admin@i-02780e50ec753e2bd:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-02780e50ec753e2bd:~$ sudo vgcreate dd /dev/nvme1n1 /dev/nvme2n1 Volume group "dd" successfully created admin@i-02780e50ec753e2bd:~$ sudo lvcreate -l 100%FREE -n app dd Logical volume "app" created. admin@i-02780e50ec753e2bd:~$ lvs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-02780e50ec753e2bd:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert app dd -wi-a----- 1.99g admin@i-02780e50ec753e2bd:~$ mksfs
kihei/i-02780e50ec753e2bd 03:46
by SadServers< HTTP/1.1 404 NOT FOUND < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Mon, 27 Nov 2023 04:39:09 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 207 < Connection: close < <!doctype html> <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 manuallgain.</p> * Closing connection 0 admin@i-078ac68f70bd379a8:~/agent$ curl -vvv -XGET http://localhost:5000/
paris/i-078ac68f70bd379a8 04:05
by SadServersadmin@i-000c40fb3f665fed1:/etc/apache2/conf-available$ ls javascript-common.conf admin@i-000c40fb3f665fed1:/etc/apache2/conf-available$ cd admin@i-000c40fb3f665fed1:~$ curl -IL localhost:5000 HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Mon, 09 Oct 2023 12:33:30 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close admin@i-000c40fb3f665fed1:~$ ls agent webserver.py admin@i-000c40fb3f665fed1:~$ vi webserver.py admin@i-000c40fb3f665fed1:~$ ls