简体   繁体   English

安装cosmos-gui

[英]Installing cosmos-gui

Can you help me with installing cosmos-gui? 你可以帮我安装cosmos-gui吗? I think you are one of the developers behind cosmos? 我认为你是宇宙背后的开发者之一? Am I right? 我对吗? We have already installed Cosmos, and now we want to install cosmos-gui. 我们已经安装了Cosmos,现在我们要安装cosmos-gui。 In the link below, I found the install guide: https://github.com/telefonicaid/fiware-cosmos/blob/develop/cosmos-gui/README.md#prerequisites 在下面的链接中,我找到了安装指南: https//github.com/telefonicaid/fiware-cosmos/blob/develop/cosmos-gui/README.md#prerequisites

Under subchapter “Prerequisites” is written 在子章节“先决条件”下写

A couple of sudoer users, one within the storage cluster and another one wihtin the computing clusters, are required. 需要一些sudoer用户,一个在存储集群中,另一个在计算集群中。 Through these users, the cosmos-gui will remotely run certain administration commands such as new users creation, HDFS userspaces provision, etc. The access through these sudoer users will be authenticated by means of private keys. 通过这些用户,cosmos-gui将远程运行某些管理命令,例如新用户创建,HDFS用户空间提供等。通过这些sudoer用户的访问将通过私钥进行身份验证。

What is meant by the above? 上面是什么意思? Must I create, a sudo user for the computing and storage cluster? 我必须为计算和存储集群创建一个sudo用户吗? And for that, do need to install a MySQL DB? 为此,是否需要安装MySQL数据库?

And under subchapter “Installing the GUI.” 在子章节“安装GUI”下。

Before continuing, remember to add the RSA key fingerprints of the Namenodes accessed by the GUI. 在继续之前,请记住添加GUI访问的Namenodes的RSA密钥指纹。 These fingerprints are automatically added to /home/cosmos-gui/.ssh/known_hosts if you try an ssh access to the Namenodes for the first time. 如果您是第一次尝试ssh访问Namenodes,这些指纹会自动添加到/home/cosmos-gui/.ssh/known_hosts。

I can't make any sense about the above. 我对上述内容没有任何意义。 Can you give a step by step plan? 你能一步一步地计划吗?

I hope you can help me. 我希望你能帮助我。

JH JH

First of all, a reminder about the Cosmos architecture: 首先,提醒一下Cosmos架构:

  • There is a storage cluster based on HDFS. 有一个基于HDFS的存储集群。
  • There is a computing cluster based on shared Hadoop or based on Sahara; 有一个基于共享Hadoop或基于Sahara的计算集群; that's up to the administrator. 这取决于管理员。
  • There is a services node for the storage cluster, a special node not storing data but exposing storage-related services such as HttpFS for data I/O. 存储集群有一个服务节点,一个特殊的节点,不存储数据,但暴露存储相关的服务,如数据I / O的HttpFS。 It is the entry point to the storage cluster. 它是存储群集的入口点。
  • There is a services node for the computing cluster, a special node not involved in the computations but exposing computing-related services such as Hive or Oozie. 计算集群有一个服务节点,一个不涉及计算但暴露计算相关服务(如Hive或Oozie)的特殊节点。 It is the entry point to the computing cluster. 它是计算集群的切入点。
  • There is another machine hosting the GUI, not belonging to any cluster. 还有另一台托管GUI的机器,不属于任何集群。

Being said that, the paragraphs you mention try to explain the following: 话虽如此,你提到的段落试图解释以下内容:

  • Since the GUI needs to perform certain sudo operations on the storage and computing clusters for user account creation purposes, then a sudoer user must be created in both the services nodes. 由于GUI需要在存储和计算集群上执行某些sudo操作以用于创建用户帐户,因此必须在两个服务节点中创建sudoer用户。 These sudoer users will be used by the GUI in order to remotely perform the required operations on top of ssh. GUI将使用这些sudoer用户,以便在ssh之上远程执行所需的操作。
  • Regarding the RSA fingerprints, since the operations the GUI performs on the services nodes are executed in top of ssh, then the fingerprints the servers send back when you ssh them must be included in the .ssh/known_hosts file. 关于RSA指纹,由于GUI在服务节点上执行的操作是在ssh之上执行的,因此当你ssh它们时服务器发回的指纹必须包含在.ssh/known_hosts文件中。 You may do this manually, or simply ssh'ing the services nodes for the first time (you will be prompted to add the fingerprints to the file or not). 您可以手动执行此操作,或者只是第一次ssh'ing服务节点(系统将提示您将指纹添加到文件中)。
  • MySQL appears in the requirements because that section is about all the requisites in general, and thus they are listed. MySQL出现在需求中,因为该部分通常涉及所有必需品,因此列出了它们。 Not necessarily there may be relation maong them. 不一定可能有他们的关系。 In this particular case, MySQL is needed in order to store the accounts information. 在这种特殊情况下,需要MySQL来存储帐户信息。

We are always improving the documentation, we'll try to explain this better for the next release. 我们一直在改进文档,我们将尝试在下一版本中更好地解释这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM