How to collect troubleshooting log files from the local server

Log in to the Linux system

execute the following commands:

sudo mkdir /media/flash
Connect the flash drive (formatted in NTFS) to the virtual machine
Execute the command
sudo fdisk -l
In the end, you will see the flash drive. Remember its address. It may be /dev/sdc
Execute the following command to mount the USB drive to the file system:
sudo mount -t ntfs-3g /dev/sdc /media/flash
Now launch the MC and copy the log files from /var/www/client/var/log to /media/flash
To unmount the drive execute the following command:
sudo umount /dev/sdc
Disconnect the USB drive from the virtual machine.
Send the log files to