增加更新内核
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user