macOS enable Remote Management CLI
透過下列指令啟用 % sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -restart -agent -privs -all
透過下列指令啟用 % sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -restart -agent -privs -all
編輯 /etc/dnf/dnf.conf 檔案 # vi /etc/dnf/dnf.confproxy=http://192.168.xx.xx:3128
將現有的 libcpgplot.a 產生 libcpgplot.so # ld -shared -o libcpgplot.so –whole-archive libcpgplot.a
確認安裝好下列套件: # dnf installl -y authselect-compat openldap-clients openldap sssd-ldap nss-pam-ldapd 如果有使用憑證先把憑證安裝好,openssl這個指令沒有弄似乎也可以: # cd /etc/openldap/certs# wget https://liho.tw/ldap/cacert.pem# openssl x509 -noout -hash -in cacert.pem …
在 Finder 介面沒似乎沒有這樣的功能,所以從指令列建立有密碼保護的壓縮檔案: $ zip -er YOUR_FILENAME.zip FILES_or_FOLDERS 參考下面範例壓縮及解壓縮: % zip -er Diamond_Sutra.zip Diamond_Sutra.epubEnter password:Verify password:adding: Diamond_Sutra.epub (deflated 0%) % rm Diamond_Sutra.epub …
開機的時候出現下列訊息: error: ../../grub-core/fs/fshelp.c:258:file`/initramfs-4.18.0-348.20.1.el8_5.x86_64.img’ not found. Press any key to continue… 先重新開機到正常的 kernel 然後,用 dracut 工具重新建立 image. # dracut /boot/initramfs-4.18.0-348.20.1.el8_5.x86_64.img 4.18.0-348.20.1.el8_5.x86_64 重新開機後應該可以解決
居然有這麼好用的工具,可以遠端控制 console。相見恨晚 # /usr/bin/ipmitool -I lanplus -H 192.168.1.32 -U root -P ‘xxxxxxxx’ sol activate# /usr/bin/ipmitool -I lanplus -H 192.168.1.32 -U root -P …
[root@liho ~]# cat /sys/class/net/p1p2/operstatedown[root@liho ~]# cat /sys/class/net/p1p1/operstateup
之前有寫一篇「安裝 lustre with dkms」給 lustre client 的筆記。這次則是要分享如何用 yum rpm 安裝 lustre server zfs 版本。 安裝 kernel-devel 套件 # yum install kernel-devel -y …
# stat -c “%a %A” /tmp1777 drwxrwxrwt