문화가 대중에게 다가서려면, 대중속에 깊숙히 파고 들어 있는 기술과 조화를 이루어야 대중과 함께할 수 있는 문화가 되고, 그 생명력과 활기가 살아난다. 문화는 폐쇄적인 본능을 가지고 있다. 이들을 동굴밖으로 이끄는 방법을 Open Web 이 가지고 있다. 그들이 폐쇄된 동굴에서 나와 맘껏 활동할 수 있게 하는 힘을 Open Web 이 가지고 있다. 우리는 조화라는 마술로 대중과 내가 […]
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\
mac : cpu Thermal monitor - command line
sudo powermetrics sudo powermetrics --samplers smc **** SMC sensors **** CPU Thermal level: 0 GPU Thermal level: 22 IO Thermal level: 22 Fan: 498.836 rpm CPU die temperature: 55.23 C GPU die temperature: 77.00 C CPU Plimit: 0.00 GPU Plimit (Int): 0.00 GPU3 Plimit (Ext2): 0.00
mac : commad line : RemoteManagement kickstart
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users admin -privs -all -restart -agent -menu
linux : /var/crash/ : disk full Hint
du -msh /var/crash/* rm /var/crash/????
mlocate : disk full & disable Hint
ps aux | grep updatedb killall updatedb ls -alh /var/lib/mlocate/ -rw-r----- 1 root slocate 30G mlocate.db.xxxxxx rm -f /var/lib/mlocate/mlocate.db.xxxxxx ll /etc/cron.daily/mlocate mkdir /etc/cron.daily/out mv /etc/cron.daily/mlocate /etc/cron.daily/out
Fedora 3X : resin.service regist Hint : systemctl daemon-reload & chkconfig
# cd # wget https://caucho.com/download/rpm-6.8/4.0.63/x86_64/resin-4.0.63-1.x86_64.rpm # rpm -ivh resin-pro-4.0.63-1.x86_64.rpm # systemctl daemon-reload # systemctl enable resin.service resin.service is not a native service, redirecting to systemd-sysv-install. Executing: /usr/lib/systemd/systemd-sysv-install enable resin Failed to execute /usr/lib/systemd/systemd-sysv-install: # yum install chkconfig -y # systemctl enable resin.service resin.service is not a native service, redirecting to systemd-sysv-install. […]
mac : ms office updater disable Hint
launchctl print gui/$(id -u) | grep microsoftlaunchctl disable gui/$(id -u)/com.microsoft.update.agent launchctl print-disabled gui/$(id -u) | grep microsoft launchctl stop com.microsoft.update.agent launchctl remove com.microsoft.update.agent sudo launchctl stop com.microsoft.update.agent sudo launchctl remove com.microsoft.update.agent sudo launchctl stop com.microsoft.autoupdate.helper sudo launchctl remove com.microsoft.autoupdate.helper
Linux : split big log file by size or date Hint
split -b 1GB test.log < test.log head -n $(cat test.log | grep -m1 -n "2021-07-11" -a | cut -d: -f1) | tail -n +$(cat test.log | grep -m1 -n "2021-07-10" -a | cut -d: -f1) > test.log.20210710 awk 'NR >= 10 && NR <= 100' test.log >new.log.100
MariaDB 10.5 : shrink ibdata after innodb_file_per_table = ON Hint
systemctl stop mariadb mv /var/lib/mysql/ibdata* /backup/ mv /var/lib/mysql/ib_logfile* /backup/ systemctl start mariadb