I was reminded about how much time I had spent as a kid playing Manic Miner on an Amstrad 464 and decided to give it a try on my current desktop (Linux Mint) so for future reference… I grabbed the code created by here: git clone https://github.com/lkundrak/manicminer.git Installed a few dependencies: apt-get install libx11-dev libxext-dev… Read more »
I had inadvertently set up slave replication using the wrong channel name – which is a minor issue except that it caused some issues with an already configured Nagios check. To ‘change’ the channel name I stopped the slave process, removed all the slave definitions and used ‘CHANGE MASTER’ to re-create the slave from the… Read more »
Using CentOS 7 this problem arose after a reboot and NFS shares would not mount. Trying to start the rpcbind service: systemctl start rpcbind gave the following error message via jounralctl -xe : rpcbind.socket failed to listen on sockets: Address family not supported by protocol So it looks like net.ipv6.conf.all.disable_ipv6 = 1 was set in… Read more »
Use fallocate to create a new 300 MB file : fallocate -l 300M disk_image.img Create an ext4 file system within the image file: mkfs.ext4 disk_image.img Create a mount point: mkdir /mnt/disk_image mount it: mount -t auto -o loop disk_image.img /mnt/disk_image Then on the Dell iDRAC use the ‘Virtual Media’ menu to ‘Map Removable Disk…’ :… Read more »
I was running this docker image proxied via traefik but I was receiving an error message in the Nagios web interface: docker nagios Error: Could not read object configuration data And in the logs from the container: container_name | Warning: File ‘/opt/nagios/var/perfdata.log’ could not be opened – service performance data will not be written to… Read more »
On a Dell server I needed to determine the physical hard drive location for a faulty disk. Within the operating system the disk was mounted as /dev/sdk so I ran: udevadm info –query=all –name=/dev/sdk And from the output I could correlate this with the information in the iDRAC: So in this example disk 10 on… Read more »
I’m currently using Linux Mint and wanted to communicate with the iDRAC interfaces on Dell servers. Install racadm: sudo echo ‘deb http://linux.dell.com/repo/community/ubuntu xenial openmanage’ | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list sudo gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F gpg -a –export 1285491434D8786F | sudo apt-key add – sudo apt-get update sudo apt-get install srvadmin-idracadm8 Test with: /bin/racadm -R… Read more »
This command significantly improved file size on disk although the quality value can be increased to adjust the image quality versus file size: convert input-file.jpeg -sampling-factor 4:2:0 -strip -quality 60 -interlace JPEG -colorspace RGB output-file-60.jpeg
I was helping a friend with creating a video and we need to mask out the distracting content around the video subject. If I had this problem with a static image I would use Gimp and the ‘Crop’ tool but I couldn’t find anything in Kdenlive to allow me to crop out a small square… Read more »
It took me a little digging to re-discover the name of this tool that allows remotely logging RDP users off from other servers so I thought I would write it down in case I need a reminder. The command to run is: tsadmin.msc Or it can be added directly from the MMC.