💻 Sistem Gereksinimleri
Bileşenler
Minimum Gereksinimler
32 cores, 2.8GHz or faster, AMD Milan EPYC or Intel Xeon Platinum
5 TB SSD with at least 350MiB/s bandwidth and 30000 IOPS
1. Create working directory and download binary package
Copy export WORKSPACE=pharos
Copy mkdir -p $HOME/data/$WORKSPACE && cd $HOME/data/$WORKSPACE
Copy wget https://github.com/PharosNetwork/resources/releases/latest/download/pharos-v0.11.1-034a3b78.tar.gz
tar -zxvf pharos-v0.11.1-034a3b78.tar.gz
Copy The extracted package contains:
bin/pharos_light - Pharos node binary
bin/pharos_cli - Pharos CLI tool
bin/libevmone.so - EVM execution engine library
bin/VERSION - Version information 2. Download configuration files
Download the genesis configuration file:
Download the node configuration file (choose one based on your node type):
For Archive/Full/Validator Node:
Note: Pruning is disabled by default. To enable pruning, see Enable Pruning in Pharos Node.
For TraceDB Node:
Download the latest ops tool for Linux:
4. Set password for key encryption
Set a password that will be used to encrypt your node's cryptographic keys:
Important:
Remember this password - you'll need it to start your node
The password is stored in ./.password file
Keep this password secure and backed up
5. Generate cryptographic keys
Generate the domain and stabilizing keys for your node:
This will create the following files in the ./keys/ directory:
Get the Node ID from your domain public key:
This calculates the SHA256 hash of the domain public key (with prefix stripped) and displays the Node ID.
Options:
--keys-dir - Directory containing domain.pub (default: ./keys)
6. Bootstrap the node
Initialize the node with genesis state:
This command will:
Create the storage database
Initialize the genesis block
Prepare the node for first startup
7. Start the node Manuel
Start the Pharos node service:
The node will start in daemon mode and begin syncing with the network.
Check the logs to verify the node is running:
Stop the running node:
8. Setup systemd service
For production deployments, it's recommended to manage the Pharos node with systemd.
Create a systemd service file:
Enable and start the service:
Check service status:
View logs:
Note: If not using systemd, you can manually stop the node with pkill pharos_light and restart with ./ops start --config ./pharos.conf
Directory Structure After deployment, your directory structure should look like:
Validator Management
Register as Validator Register your node as a validator on the network:
Set private key via environment variable (required)
For Binary Deployment: