linux

Note to self: Install MacOS in Virtualbox

Create VM After creating the VirtualBox VM VBoxManage modifyvm „Your VM Name“ –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage modifyvm „Your VM Name“ –cpu-profile „Intel Core i7-6700K“ VBoxManage setextradata „Your VM Name“ „VBoxInternal/Devices/efi/0/Config/DmiSystemProduct“ „iMac11,3“ VBoxManage setextradata „Your VM Name“ „VBoxInternal/Devices/efi/0/Config/DmiSystemVersion“ „1.0“ VBoxManage setextradata „Your VM Name“ „VBoxInternal/Devices/efi/0/Config/DmiBoardProduct“ „Iloveapple“ VBoxManage setextradata „Your VM Name“ „VBoxInternal/Devices/smc/0/Config/DeviceKey“ „ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc“ …

Note to self: Install MacOS in Virtualbox Weiterlesen »

Fix for UEFI + Hardware RAID + Linux = megaraid_sas io_page_fault

Short remider to myself and the rest of the world: Upgrade Firmware to latest (yes, 2013 is better than 2011) Set UEFI to UEFI ONLY! It’s 2021 as of now, so nobody should be using BIOS anymore. Seriously. Boot Kernel with iommu=soft option (in grub press „e“ if you are locked out already) Put iommu=soft …

Fix for UEFI + Hardware RAID + Linux = megaraid_sas io_page_fault Weiterlesen »

DIY Surveillance Camera Recording

my crontab: # start recording on boot @reboot sleep 10; /usr/local/bin/startrecord.sh &> /dev/null # restart every 10 minutes to create a new file */10 * * * * killall ffmpeg ; sleep 5 ; /usr/local/bin/startrecord.sh &> /dev/null # purge old recordings 0 */6 * * * find /data/office-kamera -type f -mtime +12 -delete /usr/local/bin/startrecord.sh #!/bin/bash …

DIY Surveillance Camera Recording Weiterlesen »

Compiling and running ethminer 0.19.0 on Ubuntu 21.04

git clone https://github.com/ethereum-mining/ethminer.git cd ethminer git checkout tags/v0.19.0 git submodule update –init –recursive rm -rfv build && mkdir build && cd build export CC=/usr/bin/gcc-8 export CXX=/usr/bin/g++-8 cmake .. && make . && sudo make install ethminer -P stratum://0x2a9d3072a8feb1578c2f10069010480b8742c39c@eu1.ethermine.org:4444 Notes to self: use gcc-8 have at least 4GB Memory on the GPU use a CUDA-10 compatible …

Compiling and running ethminer 0.19.0 on Ubuntu 21.04 Weiterlesen »

How to remove all backups in Plesk for Linux

If you ever find yourself confronted with a Plesk system that is running out of disk space, and you just want to get rid off all the misconfigured „keep forever“ backups, here’s how to remove them all from the command line: /usr/local/psa/admin/bin/pmm-ras –get-dump-list | egrep „name=\“.*.xml“ | awk -F ‚“‚ ‚{ print $2 }‘ | …

How to remove all backups in Plesk for Linux Weiterlesen »

Fix errors when compiling Linux Kernel 4.12 with GCC 8

Error: In file included from arch/mips/kernel/syscall.c:17: ./include/linux/syscalls.h:196:18: Fehler: »sys_mips_mmap« Alias zwischen unverträglichen Funktionstypen »long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, off_t)« {alias »long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long int)«} und »long int(long int, long int, …

Fix errors when compiling Linux Kernel 4.12 with GCC 8 Weiterlesen »

Gentoo Linux working on an SGI Octane – with Xorg and Audio!

UPDATE: gentoo/octane is released. CLICK HERE! Gentoo Linux on an SGI Octane R12000 with working hardware accelerated graphics driver, audio, and even Software RAID 😉 I should be the only person on the planet running this system right now. If you want a copy of the system or would like to know how it’s done, …

Gentoo Linux working on an SGI Octane – with Xorg and Audio! Weiterlesen »

Create a video clip from a set of images using ffmpeg

imagine your image folder looks like this: rephlex@hera:[~/Schreibtisch/gna]: ls -1 * | headG0037679.JPGG0037680.JPGG0037681.JPGG0037682.JPGG0037683.JPGG0037684.JPGG0037685.JPGG0037686.JPGG0037687.JPGG0037688.JPG […] This is the command you’re looking for: ffmpeg -framerate 25 -start_number 37679 -i G00%05d.JPG -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4

Installing Brother DCP Scanner Drivers in Ubuntu

Start a Terminal using CTRL+ALT+T. Install some depencencies and frontend scanner tools using sudo apt-get install xsane sane-utils simple-scan lib32stdc++6 Now download the drivers. In case brother loses them, I mirrored them here. Alternatively use the wget commands down below. wget http://download.brother.com/welcome/dlf006646/brscan4-0.4.4-4.i386.deb -O brscan4-0.4.4-4.i386.debwget http://download.brother.com/welcome/dlf006651/brscan-skey-0.2.4-1.i386.deb -O brscan-skey-0.2.4-1.i386.debwget http://download.brother.com/welcome/dlf006654/brother-udev-rule-type1-1.0.2-0.all.deb -O brother-udev-rule-type1-1.0.2-0.all.deb Now install the drivers you just …

Installing Brother DCP Scanner Drivers in Ubuntu Weiterlesen »

my PS1

export PS1=“\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h:\[$(tput sgr0)\]\[\033[38;5;6m\][\w]:\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]“   and it looks like this:

Scroll to Top