Debian9-11
Ubuntu16-21
均可以安装,最好是64位系统,32位系统容易出问题
以Debian9为例(准备好Apache证书):
一步一步来

sudo apt-get -y update && apt-get install -y software-properties-common
sudo apt-get -y install python3 git
git clone https://github.com/aploium/zmirror-onekey.git --depth=1
cd zmirror-onekey
sudo python3 deploy.py --i-have-cert

安装完成后优化一下Apache2,防止后期内存溢出

ulimit -s 768
service apache2 restart

如果是小内存vps,最好再优化下Apache配置(主要是timeout改为30,KeepAlive设置为Off)

cd /etc/apache2
vi apache2.conf
……
Timeout 30
KeepAlive Off
……

随后重启Apache:service apache2 restart

参考来源:https://github.com/aploium/zmirror-onekey

Last modification:March 21, 2023
If you think my article is useful to you, please feel free to appreciate