kihei/i-07a44c9e609b7e20f
by SadServersMore by SadServers
admin@i-0922830d655d595af:~$ vgcreate data-vg /dev/nvme1n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0922830d655d595af:~$ sudo vgcreate data-vg /dev/nvme1n1 Physical volume "/dev/nvme1n1" successfully created. Volume group "data-vg" successfully created admin@i-0922830d655d595af:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0922830d655d595af:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree data-vg 1 0 0 wz--n- 1020.00m 1020.00m admin@i-0922830d655d595af:~$ sudo vgcreate data-vg /dev/nvme2n1 A volume group called data-vg already exists. admin@i-0922830d655d595af:~$ sudo vgextend data-vg /d
kihei/i-0922830d655d595af 06:01
by SadServersSaving to: ‘index.html’ index.html 100%[=====================================>] 12 2024-01-15 05:10:43 (1.55 MB/s) - ‘index.html’ saved [12/12] admin@i-0d60756cd4edc8643:~$ ls agent index.html webserver.py admin@i-0d60756cd4edc8643:~$ cat index.html Unauthorizedadmin@i-0d60756cd4edc8643:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET /
paris/i-0d60756cd4edc8643 01:25
by SadServersadmin@i-03e7f50dfa07833fa:~$ python bash: python: command not found admin@i-03e7f50dfa07833fa:~$ python3 Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import requests >>> requests.get("localho")