Closed Normalnoise closed 12 months ago
If you are a newcomer and just getting started, you can follow the guidelines below to install and deploy the Computing Provider.
Build and install the Computing Provider
Step-by-step installation of the Computing Provider
If you are already running version 0.1.0, please follow these steps to upgrade:
Step 1: Modify the configuration file config.toml
config.toml
Add the location of your domain's SSL certificate .crt and .key files to the configuration file:
.crt
.key
[LOG] CrtFile = "/YOUR_DOMAIN_NAME_CRT_PATH/server.crt" # Your domain name SSL .crt file path KeyFile = "/YOUR_DOMAIN_NAME_KEY_PATH/server.key" # Your domain name SSL .key file path
(Optional) Remove ~[MCS].AccessToken~ from the configuration file, generate a new [MCS].ApiKey as follows:
[MCS].AccessToken
[MCS].ApiKey
[MCS] ApiKey = "" # Acquired from "https://www.multichain.storage" -> setting -> Create API Key
Step 2: Pull the latest version of the code and compile the Computing Provider
git clone https://github.com/lagrangedao/go-computing-provider.git cd go-computing-provider git checkout v0.2.0
go mod tidy go build -o computing-provider main.go
Note: You can also directly use precompiled binary file You can check the current version by running ./computing-provider -v
Note:
./computing-provider -v
Step 3: Start the Computing Provider
nohup ./computing-provider run >> cp.log 2>&1 &
If you encounter any problems, you can either leave a comment within the document or open an issue
How to Upgrade:
Scenario 1: Initial Deployment
If you are a newcomer and just getting started, you can follow the guidelines below to install and deploy the Computing Provider.
Build and install the Computing Provider
Step-by-step installation of the Computing Provider
Scenario 2: Upgrading to v0.2.0
If you are already running version 0.1.0, please follow these steps to upgrade:
Step 1: Modify the configuration file
config.toml
Add the location of your domain's SSL certificate
.crt
and.key
files to the configuration file:(Optional) Remove ~
[MCS].AccessToken
~ from the configuration file, generate a new[MCS].ApiKey
as follows:Step 2: Pull the latest version of the code and compile the Computing Provider
Step 3: Start the Computing Provider
Need Helps
If you encounter any problems, you can either leave a comment within the document or open an issue