本帖最后由 18755080270 于 2020-12-2 01:42 编辑
【8269CY+2080TI】安装Centos7+CUDA9.0+CUDNN9.0 深度学习环境搭建(四) 作者:小白
前言 好久没有更新教程了,为了生活而忙于工作不能自拔。最近给客户调试了一台深度学习主机,记录下遇到的问题和解决办法,希望可以帮助到大家!
电脑主机配置 CPU:8269CY 2.5Ghz 26C 52T *2 主板:超微X11DAi-N 内存:三星 2933 RECC 16G *8 硬盘:三星 870 QVO 1T 企业级固态 显卡:DELL RTX2080TI 11G *2 电源:长城巨龙 1250W
安装教程即将开始。。。
修复第一个
[root@localhost Downloads]# sudo vim /etc/yum.repos.d/linuxtech.testing.repo
[root@localhost Downloads]# sudo yum --enablerepo=linuxtech-testing install libvdpau
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* elrepo: mirror-hk.koddos.net
* extras: mirrors.huaweicloud.com
* updates: mirrors.163.com
linuxtech-testing | 2.5 kB 00:00
linuxtech-testing/primary_db | 95 kB 00:09
Resolving Dependencies
--> Running transaction check
---> Package libvdpau.x86_64 0:1.1.1-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libvdpau x86_64 1.1.1-3.el7 base 34 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 34 k
Installed size: 73 k
Is this ok [y/d/N]: y
Downloading packages:
libvdpau-1.1.1-3.el7.x86_64.rpm | 34 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : libvdpau-1.1.1-3.el7.x86_64 1/1
Verifying : libvdpau-1.1.1-3.el7.x86_64 1/1
Installed:
libvdpau.x86_64 0:1.1.1-3.el7
Complete!
################################################################################
修复第二个
[root@localhost Downloads]# yum -y install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* elrepo: mirror-hk.koddos.net
* extras: mirrors.huaweicloud.com
* updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 7-11 extras 15 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 15 k
Installed size: 24 k
Downloading packages:
epel-release-7-11.noarch.rpm | 15 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Complete!
################################################################################
[root@localhost Downloads]# yum -y install --enablerepo=epel dkms
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* elrepo: mirror-hk.koddos.net
* epel: mirrors.bfsu.edu.cn
* extras: mirrors.huaweicloud.com
* updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package dkms.noarch 0:2.8.3-2.el7 will be installed
--> Processing Dependency: elfutils-libelf-devel for package: dkms-2.8.3-2.el7.noarch
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.176-5.el7 will be installed
--> Processing Dependency: elfutils-libelf(x86-64) = 0.176-5.el7 for package: elfutils-libelf-devel-0.176-5.el7.x86_64
--> Processing Dependency: pkgconfig(zlib) for package: elfutils-libelf-devel-0.176-5.el7.x86_64
--> Running transaction check
---> Package elfutils-libelf.x86_64 0:0.172-2.el7 will be updated
--> Processing Dependency: elfutils-libelf(x86-64) = 0.172-2.el7 for package: elfutils-0.172-2.el7.x86_64
--> Processing Dependency: elfutils-libelf(x86-64) = 0.172-2.el7 for package: elfutils-libs-0.172-2.el7.x86_64
---> Package elfutils-libelf.x86_64 0:0.176-5.el7 will be an update
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> Running transaction check
---> Package elfutils.x86_64 0:0.172-2.el7 will be updated
---> Package elfutils.x86_64 0:0.176-5.el7 will be an update
---> Package elfutils-libs.x86_64 0:0.172-2.el7 will be updated
---> Package elfutils-libs.x86_64 0:0.176-5.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
dkms noarch 2.8.3-2.el7 epel 78 k
Installing for dependencies:
elfutils-libelf-devel x86_64 0.176-5.el7 base 40 k
zlib-devel x86_64 1.2.7-18.el7 base 50 k
Updating for dependencies:
elfutils x86_64 0.176-5.el7 base 308 k
elfutils-libelf x86_64 0.176-5.el7 base 195 k
elfutils-libs x86_64 0.176-5.el7 base 291 k
Transaction Summary
================================================================================
Install 1 Package (+2 Dependent packages)
Upgrade ( 3 Dependent packages)
Total download size: 961 k
Downloading packages:
No Presto metadata available for base
(1/6): elfutils-0.176-5.el7.x86_64.rpm | 308 kB 00:00
(2/6): elfutils-libelf-devel-0.176-5.el7.x86_64.rpm | 40 kB 00:00
(3/6): elfutils-libs-0.176-5.el7.x86_64.rpm | 291 kB 00:00
(4/6): elfutils-libelf-0.176-5.el7.x86_64.rpm | 195 kB 00:00
(5/6): zlib-devel-1.2.7-18.el7.x86_64.rpm | 50 kB 00:00
warning: /var/cache/yum/x86_64/7/epel/packages/dkms-2.8.3-2.el7.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for dkms-2.8.3-2.el7.noarch.rpm is not installed
(6/6): dkms-2.8.3-2.el7.noarch.rpm | 78 kB 00:00
--------------------------------------------------------------------------------
Total 2.6 MB/s | 961 kB 00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-11.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : elfutils-libelf-0.176-5.el7.x86_64 1/9
Updating : elfutils-libs-0.176-5.el7.x86_64 2/9
Installing : zlib-devel-1.2.7-18.el7.x86_64 3/9
Installing : elfutils-libelf-devel-0.176-5.el7.x86_64 4/9
Installing : dkms-2.8.3-2.el7.noarch 5/9
Updating : elfutils-0.176-5.el7.x86_64 6/9
Cleanup : elfutils-0.172-2.el7.x86_64 7/9
Cleanup : elfutils-libs-0.172-2.el7.x86_64 8/9
Cleanup : elfutils-libelf-0.172-2.el7.x86_64 9/9
Verifying : dkms-2.8.3-2.el7.noarch 1/9
Verifying : zlib-devel-1.2.7-18.el7.x86_64 2/9
Verifying : elfutils-0.176-5.el7.x86_64 3/9
Verifying : elfutils-libelf-0.176-5.el7.x86_64 4/9
Verifying : elfutils-libs-0.176-5.el7.x86_64 5/9
Verifying : elfutils-libelf-devel-0.176-5.el7.x86_64 6/9
Verifying : elfutils-libelf-0.172-2.el7.x86_64 7/9
Verifying : elfutils-libs-0.172-2.el7.x86_64 8/9
Verifying : elfutils-0.172-2.el7.x86_64 9/9
Installed:
dkms.noarch 0:2.8.3-2.el7
Dependency Installed:
elfutils-libelf-devel.x86_64 0:0.176-5.el7 zlib-devel.x86_64 0:1.2.7-18.el7
Dependency Updated:
elfutils.x86_64 0:0.176-5.el7 elfutils-libelf.x86_64 0:0.176-5.el7
elfutils-libs.x86_64 0:0.176-5.el7
Complete!
################################################################################
修复环境完成!!!
|