安裝h264支援的時候如果找不到bzip2.dll,下載之後放到linphone的AppData的tool資料夾bzip2.exe旁邊
https://download.linphone.org/releases/windows/tools/bzip2/
安裝h264支援的時候如果找不到bzip2.dll,下載之後放到linphone的AppData的tool資料夾bzip2.exe旁邊
https://download.linphone.org/releases/windows/tools/bzip2/
ipmiutil
https://ipmiutil.sourceforge.net/
1 | ./ipmiutil.exe lan -r |
1 | ./ipmiutil.exe lan -e -I 192.168.1.100 -S 255.255.255.0 -G 192.168.1.1 |
ipmitool
安裝:
1 | sudo apt-get install ipmitool |
1 | ipmitool lan set 1 ipaddr |
1 | # 調整為全速模式 |
要在 Supermicro X12 主機板上使用 ipmitool 調整風扇轉速,您可以按照以下步驟進行:
安裝 ipmitool:
在您的管理主機上,確保已安裝 ipmitool。在基於 Debian 的系統上,您可以使用以下命令安裝:
1 | sudo apt-get install ipmitool |
在 CentOS 系統上,則使用:
1 | yum install ipmitool |
設置風扇控制模式為手動:
默認情況下,主機板可能處於自動風扇控制模式。為了手動調整風扇轉速,您需要將風扇模式設置為全速(Full Speed)模式,這樣可以防止自動調節覆蓋您的手動設置。使用以下命令:
1 | ipmitool -H <IPMI_IP地址> -U <用戶名> -P <密碼> raw 0x30 0x45 0x01 0x01 |
其中,<IPMI_IP地址>
、<用戶名>
和 <密碼>
分別替換為您的 IPMI 接口的實際 IP 地址、用戶名和密碼。此命令將風扇模式設置為全速運行。 citeturn0search8
手動設置風扇轉速:
您可以使用以下命令手動設置風扇轉速:
1 | ipmitool -H <IPMI_IP地址> -U <用戶名> -P <密碼> raw 0x30 0x70 0x66 0x01 <區域> <轉速百分比> |
其中,<區域>
參數決定了調整哪個風扇區域的轉速:
0x00
:系統區域風扇(通常為 CPU、GPU 等核心部件的風扇),對應風扇編號為 FAN1、FAN2 等。0x01
:周邊設備區域風扇(通常為磁盤等外圍設備的風扇),對應風扇編號為 FANA、FANB 等。<轉速百分比>
以十六進制表示風扇轉速的百分比,範圍從 0x01
(1%)到 0x64
(100%)。例如,設置系統區域風扇轉速為 36%(即 0x24
):
1 | ipmitool -H <IPMI_IP地址> -U <用戶名> -P <密碼> raw 0x30 0x70 0x66 0x01 0x00 0x24 |
請根據您的實際需求調整風扇轉速百分比。 citeturn0search8
調整風扇轉速閾值(可選):
如果您發現風扇轉速不穩定,可能是因為風扇轉速低於主機板設置的下限閾值,導致風扇強制以高轉速運行。您可以使用以下命令調整風扇的下限閾值:
1 | ipmitool -H <IPMI_IP地址> -U <用戶名> -P <密碼> sensor thresh <風扇編號> lower <LNC> <LC> <LNR> |
其中,<風扇編號>
為您要調整的風扇(如 FAN1),<LNC>
、<LC>
和 <LNR>
分別為下限非臨界值、下限臨界值和下限不可恢復值。例如,將 FAN1 的下限閾值設置為 100:
1 | ipmitool -H <IPMI_IP地址> -U <用戶名> -P <密碼> sensor thresh FAN1 lower 100 100 100 |
這樣可以防止風扇因低於閾值而導致的不穩定運行。 citeturn0search0
注意事項:
在進行上述操作時,請確保您具有管理員權限,並且已正確連接到主機板的 IPMI 接口。
調整風扇轉速時,請密切關注系統溫度,確保不會因過度降低風扇轉速而導致硬體過熱。
不同的 Supermicro 主機板型號可能存在差異,建議參考您的主機板使用手冊或官方文檔以獲取更多詳細資訊。
Ubuntu-Safe-Graphic解決安裝時顯卡驅動問題
安裝Ubuntu如果遇到顯示卡驅動問題,可以選用Ubuntu safe graphic模式安裝,這樣就不會遇到顯卡驅動問題了。
https://jmmv.dev/2020/10/windows-ssh-access.html
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh-server-configuration
https://ubuntu.com/server/docs/nvidia-drivers-installation
1 | sudo apt install linux-headers-$(uname -r) |
https://docs.nvidia.com/datacenter/tesla/driver-installation-guide/#removing-nvidia-driver
1 | sudo apt-get remove --purge -V "nvidia-driver*" "libxnvctrl*" |
手動停用nouveau driver
檢查nouveau有沒被載入lsmod | grep nouveau
停用nouveau
1 | cat <<EOF | sudo tee /etc/modprobe.d/blacklist-nouveau.conf |
https://docs.nvidia.com/ai-enterprise/deployment/vmware/latest/nouveau.html#disable-nouveau
nouveau driver會自動被安裝程式停用,校啟用可以依照以下指示重新啟用。(可能會失敗)
1 | One or more modprobe configuration files to disable Nouveau have been written. You will need to reboot your system and possibly rebuild the initramfs before these changes can take effect. Note if you later wish to reenable Nouveau, you will |
https://docs.nvidia.com/datacenter/tesla/driver-installation-guide/#frequently-asked-questions
sudo apt install smartmontools
https://sysin.org/blog/smartmontools/
1 | lsblk |
在物件導向程式設計(OOP)中,類別(class)之間的關係可以分為以下幾種類型:
1 | class Animal: |
1 | class Engine: |
1 | class Driver: |
1 | class Wheel: |
1 | class Printer: |
參考:
https://realpython.com/inheritance-composition-python/
Association,Aggregation,Composition and Inheritance的差異
https://itexpertsconsultant.wordpress.com/tag/class-diagram/
UML關係圖
https://www.visual-paradigm.com/guide/uml-unified-modeling-language/uml-class-diagram-tutorial/
https://www.umlboard.com/docs/relations/