geph-official / geph4-client

Geph (迷霧通) is a modular Internet censorship circumvention system designed specifically to deal with national filtering.
https://geph.io
GNU General Public License v3.0
2.78k stars 335 forks source link

We need arm64/Aarch64 binary file. 我们需要arm64/Aarch64 版本的迷雾通 #144

Closed robcholz closed 11 months ago

robcholz commented 1 year ago

Support us by leaving a comment/like 支持的点个赞。让作者看到.

program-thinked commented 1 year 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

yes-github commented 10 months ago

提供一个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