CentOS7リポジトリによるパッケージの提供の停止について(2024.11.26)
# mkdir /etc/yum.repos.d/SAVE
# mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/SAVE
下記、/etc/yum.repos.d/CentOS7.9.2009-Base.repo を作成します
#
[base]
name=CentOS-7.9.2009 - Base
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
#released updates
[updates]
name=CentOS-7.9.2009 - Updates
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
#additional packages that may be useful
[extras]
name=CentOS-7.9.2009 - Extras
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-7.9.2009 - Plus
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
#
[sclo]
name=CentOS-7.9.2009 - Devtoolset
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/sclo/$basearch/rh
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
# 7.0.1406
# 7.1.1503
# 7.2.1511
# 7.3.1611
# 7.4.1708
# 7.5.1804
# 7.6.1810
# 7.7.1908
# 7.8.2003
# 7.9.2009
Polkit 権限の昇格(CVE-2021-4034 No2)について(2022.09.16)
polkitのpkexecユーティリティにローカル権限昇格の脆弱性(CVE-2021-4034) (2022.01.28)
# yum update polkit
または、
# tar xvfz updates7-polkit.tar.gz
# yum localupdate \
polkit-0.112-26.el7_9.1.x86_64.rpm \
polkit-devel-0.112-26.el7_9.1.x86_64.rpm \
polkit-docs-0.112-26.el7_9.1.noarch.rpm
# yum install epel-release
# yum groups install "MATE Desktop"
# yum install lightdm
# systemctl disable gdm
# systemctl enable lightdm
NVRM: API mismatch: the client has the version 352.79, but
NVRM: this kernel module has the version 346.35. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.
NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22
# rmmod nvidia_uvm
# rmmod nvidia
# rpm -e ccur-nvidia-cuda-6.5.14-1.20150324.x86_64
# rpm -e ccur-nvidia-glx-346-35.20150324.x86_64
# rpm -ivh ccur-nvidia-cuda-7.5.18-1.20160309.x86_64.rpm
(b) Nvidia 公式サイトCUDA8のインストール手順
Nvidia 公式サイトからCUDA Toolkit v8.0
# sh cuda_8.0.61_375.26_linux.run
Logging to /tmp/cuda_install_6455.log
Using more to view the EULA.
End User License Agreement
--------------------------
Preface
-------
The following contains specific license terms and conditions
for four separate NVIDIA products. By accepting this
agreement, you agree to comply with all the terms and
conditions applicable to the specific product(s) included
herein.
NVIDIA CUDA Toolkit
Description
The NVIDIA CUDA Toolkit provides command-line and graphical
tools for building, debugging and optimizing the performance
of applications accelerated by NVIDIA GPUs, runtime and math
libraries, and documentation including programming guides,
Do you accept the previously read EULA?
accept/decline/quit: accept
Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 375.26?
(y)es/(n)o/(q)uit: n (ここで、yを入力すると、GLXドライバ375.26をインストールする)
Install the CUDA 8.0 Toolkit?
(y)es/(n)o/(q)uit: y
Enter Toolkit Location
[ default is /usr/local/cuda-8.0 ]:
Do you want to install a symbolic link at /usr/local/cuda?
(y)es/(n)o/(q)uit: y
Install the CUDA 8.0 Samples?
(y)es/(n)o/(q)uit: y
Enter CUDA Samples Location
[ default is /root ]:
Installing the CUDA Toolkit in /usr/local/cuda-8.0 ...
Missing recommended library: libXmu.so
Installing the CUDA Samples in /root ...
Copying samples to /root/NVIDIA_CUDA-8.0_Samples now...
Finished copying samples.
===========
= Summary =
===========
Driver: Not Selected
Toolkit: Installed in /usr/local/cuda-8.0
Samples: Installed in /root, but missing recommended libraries
Please make sure that
- PATH includes /usr/local/cuda-8.0/bin
- LD_LIBRARY_PATH includes /usr/local/cuda-8.0/lib64, or, add /usr/local/cuda-8.0/lib64 to /etc/ld.so.conf and run ldconfig as root
To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-8.0/bin
Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-8.0/doc/pdf for detailed information on setting up CUDA.
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 361.00 is required for CUDA 8.0 functionality to work.
To install the driver using this installer, run the following command, replacing with the name of this run file:
sudo .run -silent -driver
Logfile is /tmp/cuda_install_6455.log