centos 7 parity 安装方法

1.选择parity 安装包  

https://github.com/paritytech/parity-ethereum/releases?after=v2.0.4

centos 7 parity 安装方法

2.创建一个parity目录 直接右键复制链接地址 使用linux  wget下载

wget https://releases.parity.io/v1.11.11/x86_64-unknown-centos-gnu/parity_1.11.11_centos_x86_64.rpm

3. 安装parity rpm -ivh parity_1.8.11_centos_x86_64.rpm

4.先运行一下parity钱包 命令 parity  在ctrl+c 终止 这样就生成了 parity 目录  目录在 /root/.local/share/io.parity.ethereum

5.设置配置文件 进入/root/.local/share/io.parity.ethereum 目录  创建配置文件 vim config.toml

base_path="/parity/Ethereum" 配置主目录
db_path = "/parity/Ethereum/chains" 区块数据
keys_path ="/parity/Ethereum/keys" 账户

下面是配置文件

[parity]
mode = "last"
mode_timeout = 300
mode_alarm = 3600
auto_update = "critical"
release_track = "current"
public_node = false
no_download = false
no_consensus = false
no_persistent_txqueue = false

base_path="/parity/Ethereum"
db_path = "/parity/Ethereum/chains"
keys_path ="/parity/Ethereum/keys"
[rpc]
disable = false
port = 8545
interface = "local"
apis = ["web3", "eth", "net", "parity", "traces", "rpc", "secretstore", "personal"]

[ui]
interface = "all"
port = 8180

[websockets]
disable = false
port = 8546
interface = "all"
apis = ["web3", "eth", "pubsub", "net", "parity", "parity_pubsub", "traces", "rpc", "shh", "shh_pubsub"]

 

6.在 运行 parity  1M网络2个小时左右就同步完成了

7.如果要后台运行 nohup parity &

8.关闭 parity  ps -ef |grep parity

centos 7 parity 安装方法

kill -9 加进程号