paris/i-01191606e4ecb5011
by SadServersMore by SadServers
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatimconfigfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) /dev/nvme0n1p15 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepaadmin@i-00d3a594a6b0ea456:~$ ls lkb ls: cannot access 'lkb': No such file or directory admin@i-00d3a594a6b0ea456:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk ├─nvme0n1p1 259:2 0 7.9G 0 part / ├─nvme0n1p14 259:3 0 3M 0 part └─nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:1 0 1G 0 disk nvme1n1 259:5 0 1G 0 disk admin@i-00d3a594a6b0ea456:~$ lsblk -
kihei/i-00d3a594a6b0ea456 01:27
by SadServersdrwx------ 2 admin admin 1M Sep 17 2023 .ssh -rw------- 1 admin admin 1M Jan 29 12:54 .viminfo drwxr-xr-x 2 admin root 1M Sep 17 2023 agent drwxr-xr-x 2 admin root 1M Sep 17 2023 data -rw-r--r-- 1 root root 5120M Sep 17 2023 datafile -rwxr-xr-x 1 admin root 3M Sep 17 2023 kihei admin@i-0fa842015d17b73da:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-0fa842015d17b73da:~$
kihei/i-0fa842015d17b73da 01:32
by SadServersPhysical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-03eb810c59173e466:~$ vgcreate vg /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-03eb810c59173e466:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-03eb810c59173e466:~$ lvcreate -n lv -l 100%FREE vg WARNING: Running as a non-root user. Functionality may be unavailable. /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown ver striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-03eb810c59173e466:~$ lvcreate -n lv -l 100%FREE vg
kihei/i-03eb810c59173e466 05:03
by SadServersagent consumer.py producer.py rabbitmq-cluster-docker-master test admin@i-0e75dbb75ece0e13b:~$ cd test admin@i-0e75dbb75ece0e13b:~/test$ ls LICENSE README.md cluster-entrypoint.sh docker-compose.yml entrypoint.sh haadmin@i-0e75dbb75ece0e13b:~/test$ python3 ~/producer.py hello-lwc. Traceback (most recent call last): File "/home/admin/producer.py", line 18, in <module> connection = pika.BlockingConnection(parameters) File "/usr/local/lib/python3.9/dist-packages/pika/adapters/blocking_connection self._impl = self._create_connection(parameters, _impl_class) File "/usr/local/lib/python3.9/dist-packages/pika/adapters/blocking_connectionction raise self._reap_last_connection_workflow_error(error) pika.exceptions.AMQPConnectionError admin@i-0e75dbb75ece0e13b:~/test$ chmod 777 cluster-entrypoint.sh