paris/i-052c2d8a4ff4eaabe
by SadServersMore by SadServers
Created a new partition 1 of type 'Linux' and of size 1023 MiB. Command (m for help): t Selected partition 1 Hex code or alias (type L to list all): 8e Changed type of partition 'Linux' to 'Linux LVM'. Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. admin@i-0324712e26d7d0580:~$ sudo pvcreate /dev/nvme2n1p1 Physical volume "/dev/nvme2n1p1" successfully created. admin@i-0324712e26d7d0580:~$ vgextend vgd-da
kihei/i-0324712e26d7d0580 07:44
by SadServersadmin@i-013a8ed80353e321b:~$ curl --user-agent "ads" localhost:500 curl: (7) Failed to connect to localhost port 500: Connection refused admin@i-013a8ed80353e321b:~$ curl --user-agent "ads" localhost:5000 Welcome! Password is FDZPmh5Aecho "somepassword" > ~/mysolution echo "somepasswoadmin@i-013a8ed80353e321b:~$ echo "FDZPmh5Aecho" > ~/mysolution admin@i-013a8ed80353e321b:~$
paris/i-013a8ed80353e321b 01:04
by SadServersadmin@i-04a78007c8911daa8:~$ sudo cp /home/admin/kihei /dev/nvme0n1p15 admin@i-04a78007c8911daa8:~$ cd /dev/ block/ disk/ hugepages/ mapper/ net/ shm/ char/ fd/ input/ mqueue/ pts/ vfio/ admin@i-04a78007c8911daa8:~$ cd /dev/ block/ disk/ hugepages/ mapper/ net/ shm/ char/ fd/ input/ mqueue/ pts/ vfio/ admin@i-04a78007c8911daa8:~$ cd /dev/ block/ disk/ hugepages/ mapper/ net/ shm/ char/ fd/ input/ mqueue/ pts/ vfio/ admin@i-04a78007c8911daa8:~$ cd /dev/disk/by- by-id/ by-partuuid/ by-path/ by-uuid/ admin@i-04a78007c8911daa8:~$ cd /dev/disk/by- by-id/ by-partuuid/ by-path/ by-uuid/ admin@i-04a78007c8911daa8:~$ cd /dev/pts/
kihei/i-04a78007c8911daa8 01:55
by SadServers└─nvme0n1p15 259:5 0 124M 0 part /boot/efi nvme2n1 259:2 0 1G 0 disk admin@i-0ee381b106ee6f241:~$ sudo lvdisplay admin@i-0ee381b106ee6f241:~$ df -hT Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 217M 0 217M 0% /dev tmpfs tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 ext4 7.7G 6.1G 1.2G 84% / tmpfs tmpfs 228M 12K 228M 1% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 vfat 124M 5.9M 118M 5% /boot/efi admin@i-0ee381b106ee6f241:~$ sudo mkfs.ext4 /dev/nvme1n1 mke2fs 1.46.2 (28-Feb-2021) /dev/nvme1n1 contains a LVM2_member file system Proceed anyway? (y,N)