Ubuntu-Safe-Graphic解決安裝時顯卡驅動問題
安裝Ubuntu如果遇到顯示卡驅動問題,可以選用Ubuntu safe graphic模式安裝,這樣就不會遇到顯卡驅動問題了。
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
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/
查看earlyoom停止的程式
1 | sudo journalctl -u earlyoom | grep sending |
參考:
https://github.com/rfjakob/earlyoom
https://zhangjk98.xyz/early-oom-and-oomd-for-out-of-memory/
Dockerfile中wget使用--no-check-certificate
1 | echo "check_certificate = off" >> ~/.wgetrc |
查看不同網段以外的流量
``bash
sudo iftop -F 10.179.3.0/24
參考:
https://blog.csdn.net/qq_35995514/article/details/136542702
https://cloud.tencent.com/developer/article/1827834
https://www.alibabacloud.com/help/en/ecs/support/query-and-case-analysis-of-linux-network-traffic-load