• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

hsanjuan/ansible-ipfs-cluster: Ansible roles for go-ipfs and ipfs-cluster

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

hsanjuan/ansible-ipfs-cluster

开源软件地址:

https://github.com/hsanjuan/ansible-ipfs-cluster

开源编程语言:

Shell 96.0%

开源软件介绍:

Ansible roles for go-ipfs and ipfs-cluster

This repository contains Ansible roles to install and run go-ipfs and IPFS Cluster.

They include a Systemd service file both.

Usage

If you are familiar with Ansible, you can just re-use the modules in the way that fits you best. Otherwise follow these steps:

  1. Make sure you have ansible installed: pip install ansible.
  2. Fill in inventory.yml and place the hostnames of your nodes under the [ipfs] group.
  3. Edit the group_vars/ipfs.yml and group_vars/ipfs_cluster.yml file setting the right configuration values, including generating an IPFS Cluster secret with od -vN 32 -An -tx1 /dev/urandom | tr -d ' \n' ; echo
  4. Add a file for each hostname (filename is the hostname), to the host_vars folder as outlined in host_vars/README.md, containing the necessary host-specific variables (example in the host_vars README).
  5. Run make.

make will run ansible for the ipfs and the ipfs-cluster roles, which apply to the [ipfs] and [ipfs_cluster] inventory group. Upon successful, both go-ipfs and ipfs-cluster should be running in the nodes (they are installed under /usr/local/bin and run by a created ipfs system user).

You can use systemctl status ipfs and systemctl status ipfs-cluster to check the status of the new services.

Note that ipfs configuration has been generated using profile=server, thus will not automatically scan the local network.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap