手把手教学|如何超简单的部署io.net(以及解决网络问题)
本文主要从技术角度详细讲解了如何部署io.net,以及如何解决各种问题。 项目地址如下,是否部署投资等DYOR~io.net | Decentralized GPU Ecosystem for AI Workloads - Save Up to 70%Power your AI workloads with io.net's intelligent stack: on-demand GPU clusters in 130+ countries, up to 70% cost savings vs. AWS/GCP, and flexible deployment options. Built for AI teams - deploy containers, Ray clusters, or bare metal today.https://io.net1. 注册,添加worker从上面官网点进去之后,注册登录 点击官网左上角,会出现一长列,点击worker,中间会出现链接新的worker。 按照你的机器选择对应的配置,一直到底下出现命令行,也就是核心的第5步和第6步。...
Nexus节点运行| 疑难杂症解决方案
最近看到很多朋友在折腾 Nexus,尤其是在使用 CLI 的过程中会遇到一些 BUG。为此,我针对官方脚本做了一些优化,提供了一键安装的解决方案,让你更稳定地挖 Nexus。 官方教程链接:Nexus Network CLI - 官方文档 官方教程主要面向有一定技术基础的用户自行探索。如果你想要更快速、简单地上手,请继续阅读下面的步骤。 核心问题与解决方案什么是 Prover ID?如何获取正确的 ID? 进入 Nexus Beta 网站 后,你可能会看到一个 Prover ID,但请注意,页面左下角显示的并不是完整的 Prover ID!正确获取方式: https://beta.nexus.xyz/ 进入 Nexus Beta 页面后,按下 F12 打开浏览器开发者工具。 查找名为 account 的请求(或相关输出)。 在返回的 JSON 数据中,找到 localid 字段,这个 localid 就是你的真正 proverid。 你会发现其中前半部分和网页显示的相同,大小写忽略即可。2. 使用 CLI 挖 Nexus 前提条件 准备一个 VPS(最低配置即可,国外主机都可以)...
手把手教学|如何部署quilibrium pow编译版
quilibrium 第一批奖励每个节点有上千U,以至于现在卷了起来。官方改了节点算法。 昨晚刚更新,现在的v1.4.18版本暂时无bug 所有的安装文档都可以在这里找到首先需要一个ubuntu的机器,无论是本地物理机还是VPS都可以,下面的链接新用户可以白嫖200U的费用,刚好能跑2个月DigitalOcean | Cloud Infrastructure for DevelopersAn ocean of simple, scalable cloud solutions.https://www.digitalocean.com注册好了,首先创建vps,配置最低选择如下图,地理位置不限,系统选择ubuntu20.04 当然配置越高越好,毕竟pow。如果有网络问题,检查防火墙,打开所有端口##ssh登陆上去之后输入以下命令 wget -O - https://raw.githubusercontent.com/0xOzgur/QuilibriumTools/v1.4.18/install/install_quilibrium_service.sh | bash 大概等待5分钟,节...
web3 build
手把手教学|如何超简单的部署io.net(以及解决网络问题)
本文主要从技术角度详细讲解了如何部署io.net,以及如何解决各种问题。 项目地址如下,是否部署投资等DYOR~io.net | Decentralized GPU Ecosystem for AI Workloads - Save Up to 70%Power your AI workloads with io.net's intelligent stack: on-demand GPU clusters in 130+ countries, up to 70% cost savings vs. AWS/GCP, and flexible deployment options. Built for AI teams - deploy containers, Ray clusters, or bare metal today.https://io.net1. 注册,添加worker从上面官网点进去之后,注册登录 点击官网左上角,会出现一长列,点击worker,中间会出现链接新的worker。 按照你的机器选择对应的配置,一直到底下出现命令行,也就是核心的第5步和第6步。...
Nexus节点运行| 疑难杂症解决方案
最近看到很多朋友在折腾 Nexus,尤其是在使用 CLI 的过程中会遇到一些 BUG。为此,我针对官方脚本做了一些优化,提供了一键安装的解决方案,让你更稳定地挖 Nexus。 官方教程链接:Nexus Network CLI - 官方文档 官方教程主要面向有一定技术基础的用户自行探索。如果你想要更快速、简单地上手,请继续阅读下面的步骤。 核心问题与解决方案什么是 Prover ID?如何获取正确的 ID? 进入 Nexus Beta 网站 后,你可能会看到一个 Prover ID,但请注意,页面左下角显示的并不是完整的 Prover ID!正确获取方式: https://beta.nexus.xyz/ 进入 Nexus Beta 页面后,按下 F12 打开浏览器开发者工具。 查找名为 account 的请求(或相关输出)。 在返回的 JSON 数据中,找到 localid 字段,这个 localid 就是你的真正 proverid。 你会发现其中前半部分和网页显示的相同,大小写忽略即可。2. 使用 CLI 挖 Nexus 前提条件 准备一个 VPS(最低配置即可,国外主机都可以)...
手把手教学|如何部署quilibrium pow编译版
quilibrium 第一批奖励每个节点有上千U,以至于现在卷了起来。官方改了节点算法。 昨晚刚更新,现在的v1.4.18版本暂时无bug 所有的安装文档都可以在这里找到首先需要一个ubuntu的机器,无论是本地物理机还是VPS都可以,下面的链接新用户可以白嫖200U的费用,刚好能跑2个月DigitalOcean | Cloud Infrastructure for DevelopersAn ocean of simple, scalable cloud solutions.https://www.digitalocean.com注册好了,首先创建vps,配置最低选择如下图,地理位置不限,系统选择ubuntu20.04 当然配置越高越好,毕竟pow。如果有网络问题,检查防火墙,打开所有端口##ssh登陆上去之后输入以下命令 wget -O - https://raw.githubusercontent.com/0xOzgur/QuilibriumTools/v1.4.18/install/install_quilibrium_service.sh | bash 大概等待5分钟,节...
web3 build

Subscribe to Daniel

Subscribe to Daniel
Share Dialog
Share Dialog
>200 subscribers
>200 subscribers
现在经常需要btc全节点。很多人得开着电脑24小时不关机,属实很麻烦。
但是如果购买一个小主机,配上Ubuntu系统,24小时运行全节点。开启RPC之后,电脑随时都能连上使用。当然也可以做Atom索引等本文将会讲解如何搭建一个基于ubuntu系统的bitcoin全节点。
需求
操作系统os: ubuntu20.04
内存: 2G
SSD: 1TB
对于家用小服务器,我推荐买个N100的mini主机大概几百块钱+一块2tssd,总成本可能在1k左右 功率在10w左右,可以24小时不关机。一个linux设备代表能拥有什么呢: 各种好玩的docker服务,各种脚本
使用root用户登陆上ubuntu之后,运行下面命令即可。
wget -O bitcoin_node.sh https://pub-e3b4652c5d5f4c1b8fbfdff04685c330.r2.dev/bitcoin_node.sh && chmod +x bitcoin_node.sh && sudo ./bitcoin_node.sh
当然这个脚本也可以在window开启ubuntu的wsl2子系统使用,也可以在各种云服务使用。只要是X86的Ubuntu20.04都可以。安装脚本开源,安全放心~ 可以直接访问查看
在运行过程中,会提示让你输入
rpc user: 输入你想配置的帐号
rpc password : 输入你想配置的密码是否开启RPC
Do you want to enable external RPC access? (yes/no)
yes: 家里内网都可以访问rpc,(如果机器有外网ip的话,外网也可以访问)
no: 只有本机可以访问rpc (比如做atom索引之类的使用)
等待提示,安装完成Bitcoin Core is now installed and running.
输入这个命令即可以查看到同步高度:bitcoin-cli getblockchaininfo
后续更新如何在这台机器里面一键启动Atom索引,代码也完整的放到下面
#!/bin/bash
# Check if the script is running as root
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root. Please use sudo or log in as the root user."
exit 1
fi
# Define Bitcoin Core version
BITCOIN_VERSION="25.0"
BITCOIN_DIST="bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz"
# Prompt user for RPC credentials
read -p "Enter your RPC username: " rpcuser
read -s -p "Enter your RPC password: " rpcpassword
echo
# Ask user if they want to enable external RPC access
read -p "Do you want to enable external RPC access? (yes/no): " enable_rpc
rpcallowip="127.0.0.1" # Default to localhost
if [[ $enable_rpc == "yes" ]]; then
rpcallowip="0.0.0.0/0" # Allow all IPs (be cautious with this setting)
fi
# Update system
sudo apt update
# Install dependencies
sudo apt install -y build-essential libtool autotools-dev automake pkg-config bsdmainutils python3
sudo apt install -y libevent-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev
# Download Bitcoin Core and signatures
wget https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/${BITCOIN_DIST}
# Install Bitcoin Core
tar -xzvf ${BITCOIN_DIST}
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-${BITCOIN_VERSION}/bin/*
# Create Bitcoin data directory
mkdir -p ~/.bitcoin
# Create bitcoin.conf file
cat >~/.bitcoin/bitcoin.conf <<EOF
server=1
rpcuser=$rpcuser
rpcpassword=$rpcpassword
rpcallowip=$rpcallowip
rpcbind=0.0.0.0
rpcport=8332
listen=1
daemon=1
txindex=1
EOF
# Create the systemd service file for bitcoind
cat >/etc/systemd/system/bitcoind.service <<EOF
[Unit]
Description=Bitcoin daemon
After=network.target
[Service]
ExecStart=/usr/local/bin/bitcoind -daemon -conf=/root/.bitcoin/bitcoin.conf -pid=/root/.bitcoin/bitcoind.pid
User=root
Group=root
Type=forking
PIDFile=/root/.bitcoin/bitcoind.pid
Restart=on-failure
RestartSec=5
KillMode=process
[Install]
WantedBy=multi-user.target
EOF
# Reload the systemd manager configuration
systemctl daemon-reload
# Enable the bitcoind service to start on boot
systemctl enable bitcoind.service
# Start the bitcoind service now
systemctl start bitcoind.service
echo "Bitcoin Core is now installed and running."
现在经常需要btc全节点。很多人得开着电脑24小时不关机,属实很麻烦。
但是如果购买一个小主机,配上Ubuntu系统,24小时运行全节点。开启RPC之后,电脑随时都能连上使用。当然也可以做Atom索引等本文将会讲解如何搭建一个基于ubuntu系统的bitcoin全节点。
需求
操作系统os: ubuntu20.04
内存: 2G
SSD: 1TB
对于家用小服务器,我推荐买个N100的mini主机大概几百块钱+一块2tssd,总成本可能在1k左右 功率在10w左右,可以24小时不关机。一个linux设备代表能拥有什么呢: 各种好玩的docker服务,各种脚本
使用root用户登陆上ubuntu之后,运行下面命令即可。
wget -O bitcoin_node.sh https://pub-e3b4652c5d5f4c1b8fbfdff04685c330.r2.dev/bitcoin_node.sh && chmod +x bitcoin_node.sh && sudo ./bitcoin_node.sh
当然这个脚本也可以在window开启ubuntu的wsl2子系统使用,也可以在各种云服务使用。只要是X86的Ubuntu20.04都可以。安装脚本开源,安全放心~ 可以直接访问查看
在运行过程中,会提示让你输入
rpc user: 输入你想配置的帐号
rpc password : 输入你想配置的密码是否开启RPC
Do you want to enable external RPC access? (yes/no)
yes: 家里内网都可以访问rpc,(如果机器有外网ip的话,外网也可以访问)
no: 只有本机可以访问rpc (比如做atom索引之类的使用)
等待提示,安装完成Bitcoin Core is now installed and running.
输入这个命令即可以查看到同步高度:bitcoin-cli getblockchaininfo
后续更新如何在这台机器里面一键启动Atom索引,代码也完整的放到下面
#!/bin/bash
# Check if the script is running as root
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root. Please use sudo or log in as the root user."
exit 1
fi
# Define Bitcoin Core version
BITCOIN_VERSION="25.0"
BITCOIN_DIST="bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz"
# Prompt user for RPC credentials
read -p "Enter your RPC username: " rpcuser
read -s -p "Enter your RPC password: " rpcpassword
echo
# Ask user if they want to enable external RPC access
read -p "Do you want to enable external RPC access? (yes/no): " enable_rpc
rpcallowip="127.0.0.1" # Default to localhost
if [[ $enable_rpc == "yes" ]]; then
rpcallowip="0.0.0.0/0" # Allow all IPs (be cautious with this setting)
fi
# Update system
sudo apt update
# Install dependencies
sudo apt install -y build-essential libtool autotools-dev automake pkg-config bsdmainutils python3
sudo apt install -y libevent-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev
# Download Bitcoin Core and signatures
wget https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/${BITCOIN_DIST}
# Install Bitcoin Core
tar -xzvf ${BITCOIN_DIST}
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-${BITCOIN_VERSION}/bin/*
# Create Bitcoin data directory
mkdir -p ~/.bitcoin
# Create bitcoin.conf file
cat >~/.bitcoin/bitcoin.conf <<EOF
server=1
rpcuser=$rpcuser
rpcpassword=$rpcpassword
rpcallowip=$rpcallowip
rpcbind=0.0.0.0
rpcport=8332
listen=1
daemon=1
txindex=1
EOF
# Create the systemd service file for bitcoind
cat >/etc/systemd/system/bitcoind.service <<EOF
[Unit]
Description=Bitcoin daemon
After=network.target
[Service]
ExecStart=/usr/local/bin/bitcoind -daemon -conf=/root/.bitcoin/bitcoin.conf -pid=/root/.bitcoin/bitcoind.pid
User=root
Group=root
Type=forking
PIDFile=/root/.bitcoin/bitcoind.pid
Restart=on-failure
RestartSec=5
KillMode=process
[Install]
WantedBy=multi-user.target
EOF
# Reload the systemd manager configuration
systemctl daemon-reload
# Enable the bitcoind service to start on boot
systemctl enable bitcoind.service
# Start the bitcoind service now
systemctl start bitcoind.service
echo "Bitcoin Core is now installed and running."
No activity yet