注: 本文主要针对服务端为ubuntu16.04 的操作系统, 如果服务端使用windows 参考 Windows服务器搭建
- 搭建准备
(注: 本教程截图来自测试网络,适用于主网,配置文件中个别参数不同,文中已有说明)
(1) 拥有一定的ubuntu 操作系统基础知识(主要是安装软件,编辑修改文件 )
(2) 一台具有独立公网ip的服务器
操作系统: ubuntu 16.04
推荐配置: 1核、2G内存 、1Mbps带宽 (最低配置:1核、1G内存、1Mbps)
备注:云服务器安全组策略需要添加放行如下TCP端口: 9442 , 9443 , 19442 , 19443
(3) 拥有 50000 MGD - 具体步骤
(1) 首先服务器安装MGD钱包运行的依赖环境
sudo apt-get -y update
sudo apt-get install -y autoconf automake locales-all
sudo apt-get install -y git build-essential libtool autotools-dev autoconf pkg-config libssl-dev libcrypto+±dev libevent-dev libminiupnpc-dev libgmp-dev
sudo apt-get install -y libboost-all-dev libboost-dev
sudo apt-get install -y software-properties-common python-software-properties
sudo add-apt-repository ppa:silknetwork/silknetwork -y
sudo apt-get update -y
sudo apt-get install -y libdb4.8-dev libdb4.8+±dev
sudo apt-get install -y libqrencode-dev
(2) 运行钱包核心,同步区块
- 本地客户端安装最新版本钱包 github下载地址:https://github.com/MassGrid/MassGrid/releases
下载对应系统的版本 , (注: 以下三个版本都是已编译好的包含界面的 客户端 版本)
如图:
window版: github下载地址
https://github.com/MassGrid/MassGrid/releases/download/MassGrid_1.2.0.1_MainNet/MassGridWallet_1.2.0.1_win.zip
Ubuntu16.04_Server