# solo-mining-scripts **Repository Path**: dragon_blockchain/solo-mining-scripts ## Basic Information - **Project Name**: solo-mining-scripts - **Description**: 同步 pah脚本库 solo-mining-scripts - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-30 - **Last Updated**: 2021-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Readme EN | [中文](./README.cn.md) #### 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** ```bash sudo chmod +x sgx_enable sudo ./sgx_enable sudo reboot ``` #### Install the Phala Scripts Go to the **Phala** folder ```bash chmod +x install.sh sudo ./install.sh en ``` #### Get the scores of your machine Note: The number of cores depends on your machine. ```bash sudo phala score_test [the number of your cores] ``` #### How to use ##### Install ```bash sudo phala install init ``` Enter information as prompted. ##### Start minner ```bash sudo phala start ``` ##### Start docker separately ```bash sudo phala start node sudo phala start pruntime sudo phala start pherry ``` - Use debug parameter to output command logs ```bash sudo phala start node debug sudo phala start pruntime debug sudo phala start pherry debug ``` ##### Stop minner ```bash sudo phala stop ``` ##### Stop docker separately ```bash sudo phala stop node sudo phala stop pruntime sudo phala stop pherry ``` ##### Update Phala Dockers ###### Update Phala dockers without clean data ```bash sudo phala update ``` ###### Update Phala dockers with clean data ```bash sudo phala update clean ``` ###### Now you can auto update the script ```bash sudo phala update script ``` ##### Check the docker status ```bash sudo phala status ``` ##### Get Logs ```bash sudo phala logs node sudo phala logs pruntime sudo phala logs pherry ``` ##### Check the config of minner ```bash sudo phala config show ``` ##### Setup the config of minner ```bash sudo phala config set ``` ##### Check the board support - Use `sudo phala install` command to install all dependencies witout configuration ```bash sudo phala sgx-test ```