增加更新内核

This commit is contained in:
Your Name
2024-07-04 00:25:30 +00:00
parent 6fcae83835
commit fd86dce17b

View File

@@ -5,6 +5,17 @@ docker-compose -f docker-compose_pytorch1.13.yml build
docker-compose -f docker-compose_pytorch2.3.yml build docker-compose -f docker-compose_pytorch2.3.yml build
``` ```
## 物理机更新内核
```shell
uname -r
sudo apt-get update # This will update the repositories list
sudo apt-get upgrade # This will update all the necessary packages on your system
sudo apt-get dist-upgrade # This will add/remove any needed packages
reboot # You may need this since sometimes after a upgrade/dist-upgrade, there are some left over entries that get fixed after a reboot
sudo apt-get install linux-headers-$(uname -r) # This should work now
```
## test command ## test command
```shell ```shell