Closed robcholz closed 11 months ago
Support us by leaving a comment/like 支持的点个赞。让作者看到.
假如你是使用Linux的话,你可以使用docker 进行编译,执行以下命令(请先安装rust,https://www.rust-lang.org/) cargo install cross cross build --release --locked --target=aarch64-unknown-linux-musl
提供一个dockerfile给大家参考:
FROM rust:1.73.0
# set bash as current shell
RUN chsh -s /bin/bash
# timezone setting
ENV TZ=Asia/Shanghai DEBIAN_FRONTEND=noninteractive
# build geph4-client and gephgui-wry, fetch blobs
RUN mkdir -p /tmp/build && \
git clone -b v4.10.1 --depth=1 https://github.com/geph-official/geph4-client.git /tmp/geph4-client && \
cd /tmp/geph4-client && cargo build --release && \
mv /tmp/geph4-client/target/release/geph4-client /tmp/build && \
chmod -R +x /tmp/build
WORKDIR /tmp/build
CMD ./geph4-client connect --exit-server jp-tyo-01.exits.geph.io --exclude-prc --http-listen 0.0.0.0:9910 --force-protocol tls auth-password --username xxx --password xxxx
Support us by leaving a comment/like 支持的点个赞。让作者看到.