Oracle
sudo apt -q update
sudo apt -qy install curl git jq lz4 build-essential
sudo apt -qy upgrade
sudo apt-get update && apt-get install -y libssl-devsudo apt update
sudo apt install python3.10
sudo apt install python3.10-venvcd $HOME
git clone https://github.com/cmancrypto/symphony-oracle-voter.gitcd symphony-oracle-voter
git checkout v1.0.0NOT: .env dosyasının içini düzenleyin vali ve adresinizi yazın nodun portlarınıda unutmayın. env için cp .env_sample .env yazın sonra nano .env düzenleyip kaydedin.
python3 -m venv venvsource venv/bin/activatepip install -r requirements.txtdeactivatesudo tee /etc/systemd/system/oracle.service > /dev/null << EOF
[Unit]
Description=Symphony Oracle
After=network.target
[Service]
# Environment variables
Environment="SYMPHONYD_PATH=$(which symphonyd)"
Environment="PYTHON_ENV=production"
Environment="LOG_LEVEL=INFO"
Environment="DEBUG=false"
# Service configuration
Type=simple
User=root
WorkingDirectory=/root/symphony-oracle-voter/
ExecStart=/root/symphony-oracle-voter/venv/bin/python3 -u /root/symphony-oracle-voter/main.py
Restart=always
RestartSec=3
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
EOForacle kaydı.
NOT: vali adresinizi kullanıcaksanız onun adresi yazılacak. cüzdan adınıda sölememe gerek yok herhalde.
Last updated