Questions tagged «redhat»

红帽是一家开源技术解决方案提供商,其产品包括红帽企业Linux,开源应用程序,安全和系统管理,虚拟化,面向服务的体系结构(SOA)解决方案,服务器和桌面操作系统,Java应用程序软件和服务以及JBoss企业中间件套件。还请考虑更具体的RHEL5或6标签是否也合适。

2
更改QEMU-KVM虚拟机的引导设备
我正在尝试更改VM的启动设备。我进入/etc/libvirt/qemu并设置了VM的XML文件<boot dev='cdrom' />。尽管如此,它还是尝试从硬盘驱动器而不是从cdrom启动。 我知道我已经在CD-ROM虚拟设备上加载了ISO映像。 我这样做不正确吗?我尝试完全关闭VM,然后将其重新启动却无济于事。也许我需要以某种方式重新加载设置? 编辑: 根据@Selivanov的要求: $ libvirtd --version libvirtd (libvirt) 0.8.7 和XML文件: <domain type='kvm'> <name>nimmy.example.com</name> <uuid>(SNIP)</uuid> <memory>524288</memory> <currentMemory>524288</currentMemory> <vcpu>1</vcpu> <os> <type arch='x86_64' machine='rhel6.1.0'>hvm</type> <boot dev='cdrom'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='none'/> <source file='/var/lib/libvirt/images/nimmy.img'/> <target …

2
rpm规范:基于发行版的条件需求
我正在尝试为RHEL / CentOS / SL 5和6编写一个rpm规范。该规范适用于python应用程序,因此在构建过程中没有差异。但是在RHEL / CentOS5上,我需要添加一个附加的依赖项。 我如何只为el5定义依赖项?我试过以下: %if 0%{?redhat} == 5 || 0%{?centos} == 5 Requires: kmod-coretemp %endif 不起作用(在CentOS5上构建不会添加kmod-coretemp依赖项)。 我也尝试过以下操作: %if %{?dist} == "el5" 它报告语法错误。我确定dist宏已设置并包含“ el5”。但我不确定if条件转换的语法是什么?rpmguide没有详细的答案。
8 redhat  centos5  rpm 


2
在“实时” ESX中向RHEL主机添加新的虚拟磁盘
我确定我只是错过了哪个教程/手册页对此进行了介绍,但是如何添加使来宾OS识别出您已在不重启的情况下向其中添加了新驱动器? 我有一个运行在ESX 4上的RHEL5 guest虚拟机。我已经向VM添加了新的虚拟磁盘,但是还没有弄清楚如何使guest虚拟机无需重新引导即可识别它们。 这可能吗?如果是这样,怎么办? 具体来说,我想在RHEL中执行此操作,但是其他任何Linux发行版或Windows版本也都不错。



2
在/ tmp上创建了名为“ file *”的随机空文件
我有两个RHEL 6.10服务器,其中/ tmp不断填充着数千个具有以下名称的文件 -rw-rw-r--. 1 root root 0 Feb 22 17:30 fileoQ1gE0 -rw-rw-r--. 1 root root 0 Feb 22 17:31 fileTFa0e7 -rw-rw-r--. 1 root root 0 Feb 22 17:32 fileSxEdEa -rw-rw-r--. 1 root root 0 Feb 22 17:33 filegoLf6g -rw-rw-r--. 1 root root 0 Feb 22 17:34 filebj3CJv -rw-rw-r--. 1 …

1
依赖项失败:POSTGIS RHEL6
我正在尝试在RHEL6.3x64上安装POSTGIS。 为此,我使用了以下步骤 已安装epel-release-6-7.noarch.rpm 百胜安装postgis 存在依赖性问题,无法安装。 Loaded plugins: product-id, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package postgis.x86_64 0:1.5.3-1.el6 will be installed --> Processing Dependency: /usr/bin/rebuild-gcj-db for package: postgis-1.5.3-1.el6.x86_64 --> Processing Dependency: proj for package: postgis-1.5.3-1.el6.x86_64 --> …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.