我最近下载了链接中提到的代码。我的GCC版本是4.1.2。在console中开始出现以下错误之前,编译过程至少进行了一个小时。
LLVM支持声明我需要使用gcc44-c++,这在我们的机器中是不可用的:
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
# yum install gcc44-c++
Loaded plugins: security
ppsd-nonprod-base
我正在尝试安装erlang,这样我就可以安装rabbitMQ。这是我的顺序和错误:
>yum install erlang
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
我在RedHat7.2和centos6.5Amazon AMI上安装了ElastiCache集群客户端,但问题仍然是一样的。
cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.2 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.2"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.2 (Maipo)"
AN
我正在使用python,我有这样的数据:
RedHat Enterprise Linux ES 2.1 IA64
RedHat Enterprise Linux ES 2.1
Red Hat Enterprise Linux AS 2.1
Linux kernel 2.6.9
Linux kernel 2.6.8 rc3
Linux kernel 2.6.8 rc1
+ Ubuntu Ubuntu Linux 4.1 ppc
+ Ubuntu Ubuntu Linux 4.1 ia64
Linux kernel 2.6.8
我想把这个信息存储在一个json file.but
我已经部署为VM,并希望确定它是服务器还是工作站。命令
我正在运行以下命令以找到答案:
$ cat /etc/rhel-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
$ rpm -q --whatprovides /etc/redhat-release
redhat-release-8.2-1.0.el8.x86_64
$ uname -as
Linux opus-c-master 4.18.0-193.el8.x86_64 #1 SMP Fri Mar 27 14:35:58 UTC 2020 x86_64 x86_64 x86
我曾经用这种方式识别已安装的RHEL OS版本是“服务器”还是“工作站”:
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
现在,对于RHEL8,我有了以下输出:
cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 (Ootpa)
看来我没有机会了解服务器/工作站的详细信息。这怎麽可能?我怎么才能从里面得到我需要的信息?
我想在我的机器上卸载tmux。我的tmux版本是:
tmux next-3.4
which tmux给了我:
/usr/local/bin/tmux
我试着用sudo yum remove tmux卸载它,我得到:
Updating Subscription Management repositories.
No match for argument: tmux
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
我的机器信息如下:
NAME="Red Hat Enterpris
我在亚马逊网络服务中运行了一台Redhat linux机器,但是很难安装apt-get,这里是uname -a Linux ip-172-31-69-100.ec2.internal 3.10.0-957.el7.x86_64 #1 SMP Thu 4 20:48:51 UTC 2018 x86_64 GNU/Linux 你能提供帮助仅仅是让我知道如何在Redhat linux aws机器上使用apt-get吗?