全,
我担心我已经彻底搞砸了我的linux安装,我希望你们这些可爱的网民们能让我免于我笨拙地试图解开自己。
首先,我正在尝试安装wget来让我重新站稳脚跟。
# cat /etc/*-release
Oracle Linux Server release 6.6
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Oracle Linux Server release 6.6
# yum install wget
Setting up Install Process
No package wget available.
Error:
我希望在nodejs服务器上安装auditserver,所以我的auditserver带有rpm。它工作得很好,就像手动步骤一样。
我写了一个Dockerfile,如下所示。
FROM centos:centos6
# Enable EPEL for Node.js
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# Install Node.js and npm
RUN yum install -y npm
# ADD rpm into conta
我试图用以下命令在CentOS框上重新安装java (这是最好的命令吗?):
rpm -i --force /root/jdk-6u11-linux-i586.rpm
但是当我这样做的时候我会犯错误:
Error: Could not open input file: /usr/java/jdk1.6.0_11/jre/lib/rt.pack
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.6.0_11/jre/lib/jsse.pack
charsets.jar...
etc.....
我已经在Centos 6服务器上安装了MariaDB 5.3.3。为此,我必须在安装MariaDB服务器rpm之前发出以下命令:
rpm -e --nodeps mysql-libs
现在,mariadb和服务器中的所有其他软件都正常工作。
今天,我试图升级服务器中的包--除了postfix之外,软件包已经成功升级--因为这个错误,我无法安装它:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
mysql-libs is needed by postfix-2:2.6.6-2.2.el6_1.x86_64
** F
我正在跟踪一个教程,介绍如何将centos机器配置为HortonWorks的hadoop集群中的一个节点。我是在VirtualBox上的虚拟机上这样做的。
遗憾的是,由于我是一个linux初学者,所以我被困在一些非常基本的步骤上:
2.4. Software Requirements
On each of your hosts:
yum
rpm
scp
curl
wget
pdsh
我知道所有这些都是安装的,因为当我在终端中输入它们时,除了错误的命令或文件名之外,还会返回一些内容。
但是,当我输入pdsh时,我得到的是坏命令.
我已经搜索了几十个网站,对于如何安装pdsh没有明
我正在尝试在CentOS中重新安装yum。因为我移除python犯了一些错误。
so I got error as follows
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named rpm
Please install a package which provides this module, or
verify that the module is installed c
这可能是个愚蠢的问题。我需要安装如下所示的rpm包:http://www.securityspace.com/smysecure/catid.html?in=CESA-2012:0467,但我不知道它在哪里托管。我运行rpm -Uvh freetype-2.2.1-31.el5_8.1.x86_64.rpm,但我得到了error: open of freetype-2.2.1-31.el5_8.1.x86_64.rpm failed: No such file or directory。我做错了什么?
我想卸载,但是rpm告诉我包没有安装。
# rpm -e *.rpm
error: package ansible-2.0.1.0-2.el6.noarch.rpm is not installed
error: package libyaml-0.1.3-4.el6_6.x86_64.rpm is not installed
error: package python-babel-0.9.4-5.1.el6.noarch.rpm is not installed
error: package python-crypto-2.0.1-22.el6.x86_64.rpm is not insta