我想使用“崩溃”来查看内核内核。
崩溃/usr/lib/调试/lib/模块//vmlinux /var/ crash //vmcore
但是/usr/lib/debug/lib是空的,该目录(调试库)中填充了“调试器-安装内核”。
我有iso坐骑/mnt/光盘和yum识别回购。
加载插件:langpack、产品id、禁用搜索的-repos、订阅管理器-此系统没有在权限服务器上注册。您可以使用订阅管理器注册。InstallMedia红帽企业Linux7.7启用: 5,229位repolist: 5,229人
但是,当我尝试以下操作时,它似乎希望/需要订阅管理器注册:
加载插件:langpack,产品id,订阅管理器这个系统没有注册到一个权限服务器.您可以使用订阅管理器注册。找不到主pkg的调试器:内核-3.10.0-1062.el7.x86_64没有可安装的调试器包
或
加载插件:langpack,产品id,订阅管理器这个系统没有注册到一个权限服务器.您可以使用订阅管理器注册。找不到主pkg的调试器:内核-3.10.0-1062.el7.x86_64没有可安装的调试器包
如何从iso repo安装内核调试器包?
发布于 2020-04-01 17:28:45
如果您有iso映像或DVD,请尝试下面的步骤将其挂载并在本地系统中安装软件包。
If you use DVD media , you can mount like below.
# mkdir -p /mnt/disc
# mount /dev/sr0 /mnt/disc
Copy the media.repo file from the root of the mounted directory to /etc/yum.repos.d/ and set the permissions to 0644 or another similar permissions set:
# cp /mnt/disc/media.repo /etc/yum.repos.d/rhel7dvd.repo
# chmod 644 /etc/yum.repos.d/rhel7dvd.repo
Edit the new repo file, changing the gpgcheck=0 setting to 1 and adding the following 3 lines
vi /etc/yum.repos.d/rhel7dvd.repo
enabled=1
baseurl=file:///mnt/disc/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
In the end, the new repo file could look like the following
[InstallMedia]
name=DVD for Red Hat Enterprise Linux 7.1 Server
mediaid=1359576196.686790
metadata_expire=-1
gpgcheck=1
cost=500
enabled=1
baseurl=file:///mnt/disc/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Clear the cache and check whether you can get the packages list from the DVD repo
# yum clean all
# yum repolist enabled
It should look like the following if no other repository is enabled.
To avoid any corruption its recommend to disable any non-redhat repositories.加载插件:产品-id,搜索禁用-再not,订阅管理器这个系统没有注册到Red订阅管理。您可以使用订阅管理器注册。回购id回购名称
InstallMedia红帽企业Linux7.7评论家: 5,229人
If no errors are returned, the following can be used to update:
# yum updatehttps://serverfault.com/questions/1010432
复制相似问题