Skip to content

darknight7/solo-mining-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

EN | 中文

Get to Ready

  • BIOS Setting

    • Disabled Secure Boot
    • Boot Mode must be UEFI
    • SGX Setting,must be Enabled or Software Controlled
  • Run the egx_enable if your SGX setting in BIOS is Software Controlled

sudo chmod +x sgx_enable
sudo ./sgx_enable
sudo reboot

Install the Phala Scripts

Go to the Phala folder

chmod +x install.sh
sudo ./install.sh en

Get the scores of your machine

Note: The number of cores depends on your machine.

sudo phala score_test [the number of your cores]

How to use

Install
sudo phala install init

Enter information as prompted.

Start minner
sudo phala start
Start docker separately
sudo phala start node
sudo phala start pruntime
sudo phala start pherry
  • Use debug parameter to output command logs
sudo phala start node debug
sudo phala start pruntime debug
sudo phala start pherry debug
Stop minner
sudo phala stop
Stop docker separately
sudo phala stop node
sudo phala stop pruntime
sudo phala stop pherry
Update Phala Dockers
Update Phala dockers without clean data
sudo phala update
Update Phala dockers with clean data
sudo phala update clean
Now you can auto update the script
sudo phala update script
Check the docker status
sudo phala status
Get Logs
sudo phala logs node
sudo phala logs pruntime
sudo phala logs pherry
Check the config of minner
sudo phala config show
Setup the config of minner
sudo phala config set
Check the board support
  • Use sudo phala install command to install all dependencies witout configuration
sudo phala sgx-test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%