我只是打印需要安装在我的Redhat机器(版本6.5)的内核RPM, #yum list-security –security | grep内核 – [0-9] RHSA-2014:1143 security kernel-2.6.18-371.12.1.el5.x86_64 RHSA-2014:1959 security kernel-2.6.18-400.el5.x86_64 RHSA-2014:2008 security kernel-2.6.18-400.1.1.el5.x86_64 RHSA-2015:0164 security kernel-2.6.18-402.el5.x86_64 RHSA-2015:0783 security kernel-2.6.18-404.el5.x86_64 RHSA-2015:1042 security kernel-2.6.18-406.el5.x86_64 RHSA-2016:0045 security kernel-2.6.18-408.el5.x86_64 RHSA-2016:0450 security kernel-2.6.18-409.el5.x86_64 如果我想要安装所有安全内核rpms(如显示)是否意味着所有8(initrd&vmlinuz)内核文件将被安装在/ boot下? 我在问这个问题,因为我在/ boot上有很小的可用空间 备注 – 安装所有安全软件包的yum命令是: yum -y update –security 例如我现在在/ boot下: # ls /boot System.map-2.6.18-371.11.1.el5 grub lost+found vmlinuz-2.6.18-371.11.1.el5 config-2.6.18-371.11.1.el5 initrd-2.6.18-371.11.1.el5.img symvers- […]
所以在一个非常好的主机上有一个传统的CentOS 6.x VPS模板,这个模板被一个100MB / boot分区“卡住”了。 不幸的是,自从4年前产生以来,我们的一台服务器就属于这个类别。 为了获得更多空间的新包/模板,不可能增加/ boot的大小。 切换区域将是一个相当的任务,因为将有新的知识产权和其他模式重新做,所以我们正在寻找替代品。 我们在该服务器上使用CloudLinux,因此内核可能比正常的要大一些。 无论哪种方式,我们被迫将活动内核减less到1,这困扰我,但这是所有可以适应/启动。 问题在于缺less可用于安装新版本内核的空间。 内核debugging*包似乎比标准内核大。 删除它们是否安全? 如果有一个标准内核的旧版本(潜在地)可用于启动,debugging内核是否对生产有用? 这是一个运行LAMP的多租户生产VPS(KVM)。 我们没有做太多的服务器端的CLI,它主要是ecom + webapps。 如果可以提供某种解决方法的话,它会有内核pipe理。
我正在尝试升级PHP从5.3到5.6在6.8。 我正在使用Remi回购,并按照指示。 但在运行时: yum upgrade "php*" 我在这里得到的错误http://pastebin.com/HFKg1paG 任何人都可以给我一个迹象,说明为什么这是失败的,因为我正在努力根据提供的错误信息进行debugging。 谢谢
我是VPS的新手,当我想在Ubuntu16.04或者CentOS7上安装某些东西时,我需要谷歌地址,并且希望它能够写入某个地方,通过apt-get或者yum来安装它,然后希望它是一个很好的存储库。 然后,即使同一个项目之间的差异2。例如,你有httpd在yum和apache2在apt-get(这不只是他们的名字是不同的)。 有什么github我可以检查存储库的声誉,官方文档如何安装等? 还是我需要通过反复试验来学习?
我很抱歉我的Linux知识是非常基础的。 由于几个小时尝试不同的方法,我正在排除故障,但我仍然失败。 当我尝试下面的指令: yum –enablerepo=remi,remi-test install phpMyAdmin –skip-broken 我得到这个错误消息。 如果我只是通过解压缩文件来更新PHPMyAdmin,那么它根本不起作用。 你能解释一下这个错误对我说的吗? 也许我需要依赖关系进行更新? Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.denit.net * city-fan.org: nervion.us.es * epel: ftp.nluug.nl * extras: mirror.denit.net * remi: remi.mirror.wearetriple.com * remi-safe: remi.mirror.wearetriple.com * remi-test: remi.mirror.wearetriple.com * rpmforge: ftp.nluug.nl * updates: mirror.nforce.com Resolving Dependencies –> […]
我试图更新一个红帽7系统,但不能由于以下依赖性消息: Error: Package: Trac-1.0.12-1.noarch (@/Trac-1.0.12-1.noarch) Requires: /bin/python Removing: python-2.7.5-34.el7.x86_64 (@rhel-7-server-rpms) Not found Updated By: python-2.7.5-48.el7.x86_64 (rhel-7-server-rpms) Not found / bin / python肯定存在。 我从'whereis python'得到以下内容: python: /usr/bin/python2.7 /usr/bin/python /usr/lib/python2.7 /usr/lib64/python2.7 /etc/python /usr/include/python2.7 /usr/share/man/man1/python.1.gz 正如你所看到的,没有/ bin / python – 这个重要吗? 我不确定whereis从哪里得到它的信息。 '哪个python'返回/ bin / python。 我需要这个系统更新干净 – 任何build议将受到感谢。
我们有一个在Centos 7上运行的软件,在一个单独的文件夹下,并且没有sudo权限的专用用户。 目前更新过程包括手动复制新版本的zip文件并使用bash脚本解压缩。 它工作正常,但我们感兴趣的一些附加function,如版本控制,依赖控制和从存储库安装。 Yum不是一个选项,因为它不支持非root安装。 你能请教我们一些自定义的包pipe理器提及的function,并可用于非root用户?
我好像在CentOS -7上试图安装openjdk-1.8.0(&-devel),而yum无法find软件包(没有包java-1.8.0-openjdk可用)。 http://mirror.centos.org/centos/7/updates/x86_64/Packages/甚至没有从这里。 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.tripadvisor.com * epel: s3-mirror-us-east-1.fedoraproject.org * extras: mirror.vtti.vt.edu No package java-1.8.0-openjdk available. Error: Nothing to do CentOS的-Base.repo内: [base] name=CentOS-$releasever – Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 #released updates [updates] name=CentOS-$releasever – Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 #additional packages that may be […]
我最近遇到一个问题,其中更新包pipe理器(在yum历史logging上证实了这一点)只是将4.0.5-4.el7的zeromq包更新为4.1.4-5.el7 现在,这导致了一些突破性的变化。 我试图将zeromq降级到版本4.0.5-4.el7,但每次都这样做 我明白了 sudo yum install zeromq.x86_64-4.0.5-4.el7 Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile No package zeromq.x86_64-4.0.5-4.el7 available 现在,我有几个问题。 我如何得到老版本的zeromq(我试着安装rpm文件,但没有奏效) 如何让软件包pipe理员在更新时不要更新zeromq软件包 注意当前的内核版本 uname -r 3.10.0-514.6.1.el7.x86_64 和操作系统 cat /etc/centos-release CentOS Linux release 7.3.1611 (Core)
我想,作为一个非特权用户,我不能做yum install或yum update ,这是可以理解的。 但我会认为我能够做yum search或yum whatprovides 。 这些命令不应该对我的本地系统进行任何更改,只需查询存储库中的内容即可。 当试图运行yum search或yum whatprovides作为非特权用户但是,我得到一个错误,如: bash-4.2$ yum search openssh-server ovl: Error while doing RPMdb copy-up: [Errno 13] Permission denied: '/var/lib/rpm/.dbenv.lock' One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. […]