我正在尝试在以下代码的帮助下安装java,但默认情况下它安装在/usr/java/目录中。我希望它安装在一个单独的目录上,例如/u 01/app。
食谱
# Remove old environment then notify new environment to be created
ruby_block "delete_environement" do
block do
editBashrc = Chef::Util::FileEdit.new("/home/oracle/.bash_profile")
editBashrc.search
我必须安装jitterbit client .I已下载我尝试过的jitterbit-client-4.0.7.14-enterprise-trial-linux-rpm .I。
sudo rpm -Uvh jitterbit-client-4.0.7-14.e.i386.rpm
它提供了:
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed de
我不知道该如何用这个发行版安装应用程序:
$ cat /proc/version
Linux version 3.10.0-714.10.2.lve1.5.19.3.el7.x86_64 (mockbuild@buildfarm02.cloudlinux.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Tue Aug 7 21:33:29 EDT 2018
yum,apt-get,rpm,都说是command not found
编辑:
$ whereis rpm
rpm: /usr/lib/rpm /etc
全,
我担心我已经彻底搞砸了我的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:
我想在我的基于Redhat/Linux的系统中升级一些rpms。一些RPM可能已经存在,一些RPM是新安装的,而一些RPM需要使用RPM升级命令升级到更高版本。
例如:
I have placed rpms to be installed in folder <rpms>
/rpms/X-1.rpm (This is already installed in system)
/rpms/Y-1.rpm (This is NOT present in system. This is NEW)
/rpms/Z-2.rpm (This is need
我正在构建一个可引导的ISO,用于安装Linux映像(Oracle Linux,5.8)。这是使用anaconda和一个启动文件来选择要加载的包。其中一些包在其%post部分出现依赖问题时失败了。
在安装完成后,在/root/install.log中可以看到这一点:
Installing thirdparty-tools-1.00-09.noarch
/var/tmp/rpm-tmp.97891: line 1: ln: command not found
/var/tmp/rpm-tmp.97891: line 2: ln: command not found
/var/tmp/rpm-tm
作为root,我按照指令这里安装了RabbitMQ。然后我做了:
cd /sbin
sudo service rabbitmq-server start
...and我有..。
Redirecting to /bin/systemctl start rabbitmq-server.service
Failed to start rabbitmq-server.service: Unit rabbitmq-server.service failed to load: No such file or directory.
Linux信息:
>cat /proc/version
Linux