command-line-murders/i-0d6460dce1dadbdc2
by SadServersMore by SadServers
Tasks: 1 (limit: 521) Memory: 21.5M CPU: 394ms CGroup: /system.slice/flaskapp.service └─574 /usr/bin/python3 /home/admin/webserver.py Dec 15 08:20:08 i-003e48bbc8151d53a systemd[1]: Started Flask Application. Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Serving Flask app 'webserveDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Debug mode: off Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: WARNING: This is a developmentDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Running on http://127.0.0.1Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: Press CTRL+C to quit admin@i-003e48bbc8151d53a:~$ vim /etc/systemd/system/flaskapp.service admin@i-003e48bbc8151d53a:~$ vim /home/admin/webserver.py admin@i-003e48bbc8151d53a:~$ system
paris/i-003e48bbc8151d53a 02:52
by SadServersPhysical volume "/dev/nvme2n1" successfully created. admin@i-0006ce2ef3a195375:~$ sudo pv pvchange pvck pvcreate pvdisplay pvmove pvremove pvresize pvsadmin@i-0006ce2ef3a195375:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-0006ce2ef3a195375:~$ sudo vgcreatevg /dev/nvme1n1 /dev/nvme2n1 sudo: vgcreatevg: command not found admin@i-0006ce2ef3a195375:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-0006ce2ef3a195375:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree vg 2 0 0 wz--n- 1.99g 1.99g admin@i-0006ce2ef3a195375:~$ sudo lvcreate -n lv
kihei/i-0006ce2ef3a195375 02:26
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