
GCP 如何采用第三方工具 ssh 连接
GCP(Google Cloud Platform)是 Google 自研的云计算平台,当购买云主机后会碰到如何远程 SSH连接的问题,因此编写该文档用于为新手简化操作。 方法有很多种,这里介绍几个常见的,本次的环境采用 `Ubuntu 18.04 LTS` 系统进行说明:方法一:通过密码方式登录点击 SSH等待上传私钥登录成功执行命涉及命令如下:修改 sshd 配置# 提权 sudo -i # 允许root登录 sed -i 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config # 允许密码认证 sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config 检查配置是否修改# 查看修改是否生效 egrep --color '(PermitRootLogin|PasswordAuthentication)' /etc/ssh/sshd_config 确保如下的配置取消注释:PermitRootLo...

Sui全节点安装教程
硬件要求CPU:>= 2RAM: >= 8GStorages: >= 50GTips: 按照官方说法,每两周会重置一次数据软件要求操作系统建议采用Linux,发行版建议采用 Debian 或 Ubuntu,官方测试的版本是:Ubuntu version 18.04 (Bionic Beaver),建议使用 Ubunt 18.04。依赖包(可选:需要本地构建则安装)$ apt-get update \ && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC && \ apt-get install -y --no-install-recommends \ tzdata \ git \ ca-certificates \ curl \ build-essential \ libssl-dev \ pkg-config \ libclang-dev \ cmake 配置全节点配置全节点有两种方式,第一种方式是通过 Docker,第二种方式采用 源码编译Docker方式下面介绍采用docker的方式运行全节点安装 ...
Move开发环境搭建
Move开发环境搭建Move开发环境构建常规有两种方式,第一种是通过源码的方式构建,第二种是通过 docker 的方式构建。本文主要介绍 第一种方式源码构建操作系统要求建议采用如下的操作系统:MacOSUbuntu涉及工具cargoMove-cliMove-analyzerVSCodeVSCode Move插件安装Cargoscurl https://sh.rustup.rs -sSf | sh Tip: 等待安装完成即可安装Move-cli这里的工作目录是 ~/workspace/github/拉取move最新代码~# git clone https://github.com/move-language/move.git 安装Move-cli~# cargo install --path move/language/tools/move-cli 验证安装结果~# move -h move-cli 0.1.0 Diem Association <opensource@diem.com> MoveCLI is the CLI that will be executed b...
Twitter: https://twitter.com/9xFish

GCP 如何采用第三方工具 ssh 连接
GCP(Google Cloud Platform)是 Google 自研的云计算平台,当购买云主机后会碰到如何远程 SSH连接的问题,因此编写该文档用于为新手简化操作。 方法有很多种,这里介绍几个常见的,本次的环境采用 `Ubuntu 18.04 LTS` 系统进行说明:方法一:通过密码方式登录点击 SSH等待上传私钥登录成功执行命涉及命令如下:修改 sshd 配置# 提权 sudo -i # 允许root登录 sed -i 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config # 允许密码认证 sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config 检查配置是否修改# 查看修改是否生效 egrep --color '(PermitRootLogin|PasswordAuthentication)' /etc/ssh/sshd_config 确保如下的配置取消注释:PermitRootLo...

Sui全节点安装教程
硬件要求CPU:>= 2RAM: >= 8GStorages: >= 50GTips: 按照官方说法,每两周会重置一次数据软件要求操作系统建议采用Linux,发行版建议采用 Debian 或 Ubuntu,官方测试的版本是:Ubuntu version 18.04 (Bionic Beaver),建议使用 Ubunt 18.04。依赖包(可选:需要本地构建则安装)$ apt-get update \ && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC && \ apt-get install -y --no-install-recommends \ tzdata \ git \ ca-certificates \ curl \ build-essential \ libssl-dev \ pkg-config \ libclang-dev \ cmake 配置全节点配置全节点有两种方式,第一种方式是通过 Docker,第二种方式采用 源码编译Docker方式下面介绍采用docker的方式运行全节点安装 ...
Move开发环境搭建
Move开发环境搭建Move开发环境构建常规有两种方式,第一种是通过源码的方式构建,第二种是通过 docker 的方式构建。本文主要介绍 第一种方式源码构建操作系统要求建议采用如下的操作系统:MacOSUbuntu涉及工具cargoMove-cliMove-analyzerVSCodeVSCode Move插件安装Cargoscurl https://sh.rustup.rs -sSf | sh Tip: 等待安装完成即可安装Move-cli这里的工作目录是 ~/workspace/github/拉取move最新代码~# git clone https://github.com/move-language/move.git 安装Move-cli~# cargo install --path move/language/tools/move-cli 验证安装结果~# move -h move-cli 0.1.0 Diem Association <opensource@diem.com> MoveCLI is the CLI that will be executed b...
Twitter: https://twitter.com/9xFish

Subscribe to 0xFish

Subscribe to 0xFish
Share Dialog
Share Dialog


<100 subscribers
<100 subscribers
欢迎大家关注 0xFish,专注挖掘精品空投项目,相互交流持续学习
免责声明: 所有分享内容仅做学习交流,不构成任何投资建议
Aleo 是第一个支持私有和可编程应用程序的去中心化开源平台。 使用零知识证明协议,提供更私密和更个性化的 Web 体验。可以在不透露信息本身的情况下证明某事的真实性。
Aleo 已获得2亿美金的B轮融资,与Aptos、Sui等明星公链量级相当。Aptos的测试网给参与节点搭建者空投了300APT,价值6000U。因此Aleo理论上也是妥妥的大毛。
Aleo官方discord 明牌空投:

2500万个Aleo代币,将分配给开发者、白帽测试、证明者(我们现在要做的)和验证者。 具体的分配规则尚不清晰,请斟酌投入成本,自行判断是否参与。
Testnet 3的第二阶段 prover 已于 2022年11月10日开启,目前是准备阶段,4-8周后正式开始。
CPU:16C,建议 32C
RAM:16G,建议 32G
Storage:128G
Net:10Mbps
如果要运行具有竞争力的 Aleo
在开始安装之前,请确保你已安装 Rust v1.64+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
载入当前 shell
source $HOME/.cargo/env
git clone https://github.com/AleoHQ/snarkOS.git --depth 1
进入 snarkos 目录
cd snarkOS
对于 Ubuntu 用户提供了安装依赖项的帮助脚本。在snarkOS目录中,运行:
./build_ubuntu.sh
最后,开始安装
cargo install --path .
脚本执行正确的情况下,可以看到如下提示。这里说明需要使用到4133和3033端口
sudo ufw allow 4133
sudo ufw allow 3033
提示:
如果提示未安装
cargo,则通过apt install cargo安装
以上 SnarkOS 的环境基本就安装完成了
要启动 client 节点需要在 snarkOS 目录运行
./run-client.sh
说明:
如果只运行
Prover的话,不需要执行上述1.3.1的步骤内容
生成 aleo 地址
snarkos account new
这将生成一个新的 Aleo 账号在终端上
以下的内容严格保存起来:
Attention - Remember to store this account private key and view key.
Private Key APrivateKey1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <-- Save Me And Use In The Next Step
View Key AViewKey1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <-- Save Me
Address aleo1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <-- Save Me
启动节点
./run-prover.sh
出现提示时,输入上面获得的的 Aleo 私钥(Private Key):
Enter the Aleo Prover account private key: APrivateKey1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
等待下载编译后,搞定!
节点运行半小时以上后,可以在 在这里查看自己的积分,在右上角输入自己的地址(之前生成的Address)就可以查询了
目前官方的版本无法更好的利用 CPU 资源,因此社区有人改了代码,可以更好的利用 CPU 资源。
一键安装社区魔改版本
cd ~ && wget -O /root/aleo_simplefish.sh https://raw.githubusercontent.com/simplefish0909/aleo_cpu/main/aleo_simplefish.sh && chmod +x aleo_simplefish.sh
一键安装官方版本
cd ~ && wget -O /root/aleo_simplefish.sh https://raw.githubusercontent.com/simplefish0909/aleo/main/aleo_simplefish.sh && chmod +x aleo_simplefish.sh
运行半小时后查看状态
欢迎大家关注 0xFish,专注挖掘精品空投项目,相互交流持续学习
免责声明: 所有分享内容仅做学习交流,不构成任何投资建议
Aleo 是第一个支持私有和可编程应用程序的去中心化开源平台。 使用零知识证明协议,提供更私密和更个性化的 Web 体验。可以在不透露信息本身的情况下证明某事的真实性。
Aleo 已获得2亿美金的B轮融资,与Aptos、Sui等明星公链量级相当。Aptos的测试网给参与节点搭建者空投了300APT,价值6000U。因此Aleo理论上也是妥妥的大毛。
Aleo官方discord 明牌空投:

2500万个Aleo代币,将分配给开发者、白帽测试、证明者(我们现在要做的)和验证者。 具体的分配规则尚不清晰,请斟酌投入成本,自行判断是否参与。
Testnet 3的第二阶段 prover 已于 2022年11月10日开启,目前是准备阶段,4-8周后正式开始。
CPU:16C,建议 32C
RAM:16G,建议 32G
Storage:128G
Net:10Mbps
如果要运行具有竞争力的 Aleo
在开始安装之前,请确保你已安装 Rust v1.64+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
载入当前 shell
source $HOME/.cargo/env
git clone https://github.com/AleoHQ/snarkOS.git --depth 1
进入 snarkos 目录
cd snarkOS
对于 Ubuntu 用户提供了安装依赖项的帮助脚本。在snarkOS目录中,运行:
./build_ubuntu.sh
最后,开始安装
cargo install --path .
脚本执行正确的情况下,可以看到如下提示。这里说明需要使用到4133和3033端口
sudo ufw allow 4133
sudo ufw allow 3033
提示:
如果提示未安装
cargo,则通过apt install cargo安装
以上 SnarkOS 的环境基本就安装完成了
要启动 client 节点需要在 snarkOS 目录运行
./run-client.sh
说明:
如果只运行
Prover的话,不需要执行上述1.3.1的步骤内容
生成 aleo 地址
snarkos account new
这将生成一个新的 Aleo 账号在终端上
以下的内容严格保存起来:
Attention - Remember to store this account private key and view key.
Private Key APrivateKey1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <-- Save Me And Use In The Next Step
View Key AViewKey1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <-- Save Me
Address aleo1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <-- Save Me
启动节点
./run-prover.sh
出现提示时,输入上面获得的的 Aleo 私钥(Private Key):
Enter the Aleo Prover account private key: APrivateKey1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
等待下载编译后,搞定!
节点运行半小时以上后,可以在 在这里查看自己的积分,在右上角输入自己的地址(之前生成的Address)就可以查询了
目前官方的版本无法更好的利用 CPU 资源,因此社区有人改了代码,可以更好的利用 CPU 资源。
一键安装社区魔改版本
cd ~ && wget -O /root/aleo_simplefish.sh https://raw.githubusercontent.com/simplefish0909/aleo_cpu/main/aleo_simplefish.sh && chmod +x aleo_simplefish.sh
一键安装官方版本
cd ~ && wget -O /root/aleo_simplefish.sh https://raw.githubusercontent.com/simplefish0909/aleo/main/aleo_simplefish.sh && chmod +x aleo_simplefish.sh
运行半小时后查看状态
No activity yet