Install chromaprint:
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm yum install libchromaprint
You have to use epel-release-latest (not epel-release) not to get:
Problem: package ffmpeg-4.2.1-3.el8.x86_64 requires libavdevice.so.58()(64bit), but none of the providers can be installed - package ffmpeg-4.2.1-3.el8.x86_64 requires libavdevice.so.58(LIBAVDEVICE_58)(64bit), but none of the providers can be installed - conflicting requests - nothing provides libjack.so.0()(64bit) needed by libavdevice-4.2.1-3.el8.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Install beet
pip3 install beets pip3 install pyacoustid
Enable plugins:
echo "plugins: duplicates chroma" >> .config/beets/config.yaml
Install fpcalc
cd /tmp wget "https://github.com/acoustid/chromaprint/releases/download/v1.4.3/chromaprint-fpcalc-1.4.3-linux-x86_64.tar.gz" cd /usr/local/bin/ tar -xzf /tmp/chromaprint-fpcalc-1.4.3-linux-x86_64.tar.gz ln -s chromaprint-fpcalc-1.4.3-linux-x86_64/fpcalc .
Install ffmpeg (RPM Fusion, How To Install FFmpeg on CentOS 8, How to turn CentOS 8 into a perfect desktop):
yum install --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm yum install --nogpgcheck https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm yum config-manager --enable PowerTools yum config-manager --enable epel-testing yum config-manager --enable rpmfusion-free-updates-testing yum install ffmpeg
Now beet can fingerprint files:
beet fingerprint
Download image and extract files into some directory. I had to use separate machine, so I copied files to my ftp server (192.168.1.28).
mount -o loop /tmp/CentOS-8-x86_64-1905-boot.iso /mnt/iso scp -r * admin@192.168.1.28:/data/pub/CentOS-8.0.1905-boot umount /mnt/iso
On my tftp/ftp server:
mkdir /data/tftpboot/networkboot/CentOS8-1905 cp /data/pub/CentOS-8.0.1905-boot/images/pxeboot/vmlinuz \ /data/tftpboot/networkboot/CentOS8-1905/ cp /data/pub/CentOS-8.0.1905-boot/images/pxeboot/initrd.img \ /data/tftpboot/networkboot/CentOS8-1905/
Add entry to PXE configuration (in my case /data/tftpboot/pxelinux.cfg/default):
LABEL InstallCentOS-8.0.1905 MENU LABEL Install CentOS 8 1905 kernel /networkboot/CentOS8-1905/vmlinuz APPEND initrd=/networkboot/CentOS8-1905/initrd.img \ ip=dhcp \ inst.repo=ftp://192.168.1.28/CentOS-8.0.1905-boot
Source:
https://docs.centos.org/en-US/8-docs/advanced-install/assembly_preparing-for-a-network-install/
Add comment