Skip to content

1. Solana升级

validator nodes do not need to be offline while the newest version is being downloaded or built from source. All methods below can be done before the validator process is restarted.

1.1 源码

编译完直接替换文件

1.2 solana-install

bash
$solana-install update
⚠️  solana-install is deprecated and will be discontinued when v1.18 is no longer supported. Please switch to Agave: https://github.com/anza-xyz/agave/wiki/Agave-Transition

Install is up to date. 1.18.26 is the latest compatible release
$solana-install update
⚠️  solana-install is deprecated and will be discontinued when v1.18 is no longer supported. Please switch to Agave: https://github.com/anza-xyz/agave/wiki/Agave-Transition

Install is up to date. 1.18.26 is the latest compatible release

重启服务

1.3 预制二进制

重新覆盖文件,重新启动服务