Installing Phala Mining Tools

Prerequisites

Before you go further, please ensure that your have correct setup your hardware, BIOS and operating system according to the previous section.

Download the Phala Scripts

The Phala mining tools are available on our Phala Mining Script repository on GitHub, it can be downloaded with wget by executing the following commands in the terminal:

sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install wget unzip
cd ~
wget https://github.com/Phala-Network/solo-mining-scripts/archive/refs/heads/main.zip
unzip main.zip

Activate the Intel® SGX Software

ℹ You may have already enabled the Intel® SGX Extensions during your hardware setup in the previous section. Skip and proceed to 👉Install Phala Tools if already activated.

Execute the following commands in the terminal, the computer should reboot after execution.

cd ~/solo-mining-scripts-main/tools
sudo ./sgx_enable
sudo reboot

Install Phala Tools

Execute the following commands in your terminal:

cd ~/solo-mining-scripts-main 
sudo ./phala.sh install

This will install the Phala CLI


🎉 Congratulations! You have successfully installed the required Phala tools.

Edit this page on GitHub