sudo launchctl stop org.cups.cupsd sudo rm /etc/cups/cupsd.conf sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf sudo rm /etc/cups/printers.conf sudo launchctl start org.cups.cupsd
fedora : sftpd.log logging Hint
vi /etc/ssh/sshd_config # Subsystem sftp /usr/libexec/openssh/sftp-server Subsystem sftp /usr/libexec/openssh/sftp-server -l VERBOSE -f LOCAL3 vi /etc/rsyslog.conf local3.* /var/log/sftpd.log systemctl restart rsyslog.service systemctl restart sshd.service
Fedora 34 : yum install mariadb:10.x Hint
dnf module list mariadb dnf module enable mariadb:10.7 dnf install mariadb-*
Fedora: vgrename root partition Hint
vgdisplay old_name=fedora_fedora new_name=fedora vgrename -v $old_name $new_name; sed -i "s/\/${old_name}-/\/${new_name}-/g" /etc/fstab; sed -i "s/\([/=]\)${old_name}\([-/]\)/\1${new_name}\2/g" /boot/grub2/grub.cfg; dracut -f -v /boot/initramfs-$(uname -r).img $(uname -r); systemctl reboot -f;
mac : Finder Preview Thumbnail not show Hint
killall com.apple.quicklook.ThumbnailsAgent killall Finder
mac : disable adobe genuine service Hint
rm -Rf /Library/Application Support/Adobe/AdobeGCClient
Fedora : Hardware Info : dmidecode, lshw
dmidecode -t system dmidecode -t bio dmidecode -t processor dmidecode -t memory lshw -class disk lshw -class network lshw -class bus
linux : [ERROR] mariadb: Aria recovery failed. Hint
# systemctl status mariadb × mariadb.service - MariaDB 10.5.16 database server Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/mariadb.service.d └─migrated-from-my.cnf-settings.conf Active: failed (Result: exit-code) since ......; 28s ago Docs: man:mariadbd(8) https://mariadb.com/kb/en/library/systemd/ […]
Fedora : bind disable ipv6 Hint
vi /etc/named.conf filter-aaaa-on-v4 yes; named-checkconf /etc/named.conf vi /etc/sysconfig/named OPTIONS="-4" systemctl restart named-chroot systemctl status named-chroot
Fedora : CPU Thermal Monitor Hint
yum install -y lm_sensors sensors-detect sensors watch sensors\