在AWS Linux上安装Hyperledger Composer [英] Installing Hyperledger Composer on AWS Linux

查看:168
本文介绍了在AWS Linux上安装Hyperledger Composer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个从AWS Fabric模板创建的运行Fabric的AWS实例.不幸的是,这是一个Linux(不是Ubuntu)实例.现在,我尝试在同一实例上安装作曲工具.文档说我不应该以root用户身份安装任何东西,但是除非我是root用户,否则系统不会允许我安装Node.当我尝试安装composer-cli(w/o sudo)时,出现各种权限错误.是否可以在非Ubuntu系统上安装composer吗?

I have an AWS instance running Fabric created from an AWS Fabric template. Unfortunately, this is a Linux (not Ubuntu) instance. Now I'm trying to install the composer tools on the same instance. The docs say that I shouldn't install anything as a root, but the system won't let me install Node unless I'm a root. When I'm trying to install composer-cli (w/o sudo), I get various permission errors. Is itpossible at all to install composer on a non-Ubuntu system?

另一个选择是从另一个实例(基于Ubuntu)连接到Fabric.你是怎样做的?是否有可能?我需要使用composer-cli工具来与在AWS Linux上运行的现有Fabric实例一起使用.

Another option is to connect to the Fabric from another instance (which is based on Ubuntu). How do you do that? Is it possible? What I need is use composer-cli tools to work with the existing Fabric instance running on AWS Linux.

推荐答案

关于在非Ubuntu系统上进行安装的问题,一些用户已经在AWS和Centos上进行了安装,因此这是有可能的.我将研究prereqs-ubuntu.sh脚本中的先决条件.特定警告是关于在安装npm模块时不使用sudo或root,以及此文档可能有助于解决该问题.

Regarding installing on a non-ubuntu system some users have suceeded on AWS, and on Centos so it is possible. I would work through the pre-requisites in the prereqs-ubuntu.sh script. The particular warnings are about not using sudo or root when installing npm modules, and this doc may help with that problem.

使用单独的Ubuntu系统作为客户端"应该可以,并且实际上是一种更实际的生产方案.您可能需要通过防火墙配置使结构的所有端口可用,然后在客户端计算机上使用远程结构的地址创建/更新连接配置文件(connection.json).

Using a separate Ubuntu system as a 'client' should work, and is actually a more realistic production scenario. You would need to make all the ports of your fabric available perhaps with firewall configuration, then on the client machine you need to create/update your connection profile (connection.json) with the addresses of the remote Fabric.

这篇关于在AWS Linux上安装Hyperledger Composer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆