UNPKG

@arcblock/abtnode-docs

Version:

ABT Node Documentation, a help documentation for quickly get started with ABT Node.

1 lines 8.92 kB
{"componentChunkName":"component---node-modules-arcblock-gatsby-theme-docs-src-templates-documentation-js","path":"/zh/introduction/abtnode-access","result":{"data":{"file":{"changeTime":"5 minutes ago","childMarkdownRemark":{"frontmatter":{"author":"tigeryu8900, nate","category":"","date":null,"description":"配置并启动 ABT 节点","draft":null,"keywords":"abtnode, blocklet","language":"zh","layout":"documentation","path":"/zh/introduction/abtnode-access","tags":["abtnode"],"title":"配置并启动 ABT 节点"},"htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"要使您的 ABT 节点启动并运行,您必须对其进行初始化。在初始化节点之前,请确保已经初始化了节点连接到您希望节点所在的网络。如果希望您的节点可以通过 Internet 访问,请确保你连上了互联网。如果使用了虚拟机,请使用桥接网络适配器 (如果端口转发被启用 NAT 网络适配器也可以工作) 或附加一个外部无线卡到虚拟机。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"另外,如果您已经初始化了 ABT 节点,你可以用 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"abtnode start"}]},{"type":"text","value":" 开始您的节点,或者您可以重新初始化 ABT 节点,通过删除配置文件 (如果数据使用默认值目录和配置文件则使用 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"rm -r ~/.abtnode"}]},{"type":"text","value":" 即可)。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"运行下面的命令即可初始化 ABT 节点:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"],"init":""},"children":[{"type":"text","value":"abtnode init\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"然后,填充每个字段(或留空,默认为带括号的值)。当你选择 IP 地址时,如果只是在局域网测试节点,请使用本地 IP 地址,或者如果您希望您的节点可以通过 Internet 访问, 请选择公共 IP 地址。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"details","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"summary","properties":{},"children":[{"type":"text","value":"输出示例\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/abtnode/98e35eec55e3cdab755ea227dc9bc905/initialize_abtnode.gif","alt":"Initialize ABT Node"},"children":[]}]},{"type":"text","value":"\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"现在,您需要启动节点才能使用它。要启动您的节点,运行以下命令:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"],"start":""},"children":[{"type":"text","value":"abtnode start\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"details","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"summary","properties":{},"children":[{"type":"text","value":"输出示例\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"./images/start_abtnode.gif","alt":"Start ABT Node"},"children":[]}]},{"type":"text","value":"\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"然后,在浏览器中打开输出链接。浏览器可以在其他设备上,只要该设备是打开的可以连接到节点。然后用您的 ABT 钱包扫描登录二维码,使您成为该节点的所有者请确认进入 ABT 节点。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"如果您想要停止节点,运行以下命令:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"],"stop":""},"children":[{"type":"text","value":"abtnode stop\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"details","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"summary","properties":{},"children":[{"type":"text","value":"输出示例\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"./images/stop_abtnode.gif","alt":"Stop ABT Node"},"children":[]}]},{"type":"text","value":"\n"}]}]}],"data":{"quirksMode":false}}}}},"pageContext":{"site":{"title":"ABT Node","description":"ABT Node Documentation","siteUrl":"https://docs.arcblock.io","logoUrl":"/abtnode/","sidebarWidth":360,"disableI18n":false,"showGetStarted":true,"defaultBanner":"/abtnode/og-banner.png"},"id":"3e89b71c-98ce-52ef-87f9-83603e78cb1f","language":"zh","locale":"zh","languages":[{"value":"en","text":"English"},{"value":"zh","text":"简体中文"}],"headings":[],"navItems":[{"group":"/home/runner/work/abtnode-docs/abtnode-docs/src","title":"ABT Node","priority":999,"link":"/"}],"version":"v0.2.20","official":true,"originalPath":"/zh/introduction/abtnode-access","sidebarContent":[{"url":null,"title":null,"pages":[{"title":"ABT Node 文档","path":"/zh/"}]},{"url":"/zh/introduction","title":"节点入门","pages":[{"title":"节点功能概览","path":"/zh/introduction/abtnode-overview"},{"title":"如何获取 ABT 节点","path":"/zh/introduction/abtnode-setup"},{"title":"配置并启动 ABT 节点","path":"/zh/introduction/abtnode-access"}]},{"url":"/zh/marketplace","title":"应用市场","pages":[{"title":"查找和安装 Blocklet","path":"/zh/marketplace/find-and-install"},{"title":"升级或降级 Blocklet","path":"/zh/marketplace/upgrade-downgrade"}]},{"url":"/zh/blocklet","title":"应用管理","pages":[{"title":"基本管理操作","path":"/zh/blocklet/basic-operations"},{"title":"环境变量管理","path":"/zh/blocklet/environments"},{"title":"核心 Blocklets","path":"/zh/blocklet/core-blocklets"}]},{"url":"/zh/router","title":"路由管理","pages":[{"title":"什么是路由","path":"/zh/router/what-is-router"},{"title":"路由的基本用法","path":"/zh/router/basic-usage"},{"title":"给站点绑定域名以及启用 SSL","path":"/zh/router/bind-domain-and-ssl"},{"title":"localhost 证书","path":"/zh/router/certificates-for-localhost"}]},{"url":"/zh/deployment","title":"生产环境指南","pages":[{"title":"部署最佳实践","path":"/zh/deployment/best-practice"},{"title":"在 AWS 上部署","path":"/zh/deployment/from-aws-ami"},{"title":"运行在反向代理","path":"/zh/deployment/behind-reverse-proxy"},{"title":"在 Docker 中运行","path":"/zh/deployment/run-in-docker"}]},{"url":"/zh/misc","title":"其他功能","pages":[{"title":"节点配置","path":"/zh/misc/node-settings"},{"title":"成员管理","path":"/zh/misc/member-management"},{"title":"GraphQL 试验台","path":"/zh/misc/graphql-console"}]},{"url":"/zh/developer","title":"开发者指南","pages":[{"title":"配置开发环境","path":"/zh/developer/config-dev-env"},{"title":"ABT 节点 cli 工具","path":"/zh/developer/abtnode-cli"},{"title":"节点配置","path":"/zh/developer/configuration"},{"title":"节点存储目录详解","path":"/zh/developer/storage-structure"},{"title":"Blocklet 规范","path":"/zh/developer/blocklet-spec"},{"title":"创建静态 Blocklets","path":"/zh/developer/static-blocklets"},{"title":"创建 DApp Blocklets","path":"/zh/developer/dapp-blocklets"},{"title":"Blocklet 生命周期钩子","path":"/zh/developer/blocklet-hooks"},{"title":"打包 Blocklet","path":"/zh/developer/bundle-blocklets"},{"title":"发布 Blocklet","path":"/zh/developer/publish-blocklets"},{"title":"Blocklet 仓库","path":"/zh/developer/blocklet-registry"},{"title":"在 Codespaces 中开发 Blocklets","path":"/zh/developer/blocklet-codespaces"},{"title":"为 Blocklet 配置 Auth Service","path":"/zh/developer/auth-service"},{"title":"可组合的 Blocklet","path":"/zh/developer/composable-blocklet"},{"title":"Docker 镜像源列表","path":"/zh/developer/docker-registry"}]}],"communityPath":"https://community.arcblockio.cn","githubUrl":"https://github.com/ArcBlock/abtnode-docs/tree/master/src/introduction/abtnode-access/index.zh.md"}},"staticQueryHashes":["1358860651","1619896071","1812186216","2194038815"]}