Installing Phala Mining Tools
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
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.