Skip to content

Commit b8eba27

Browse files
TippyFlitsUKjennijuju
authored andcommitted
GITBOOK-31: No subject
1 parent 37d65e7 commit b8eba27

File tree

1 file changed

+29
-81
lines changed

1 file changed

+29
-81
lines changed

storage-providers/pdp/install-and-run-pdp.md

Lines changed: 29 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@ Before starting, make sure you have a user with **sudo privileges**. This sectio
2424

2525
***
2626

27+
### ⚙️ Hardware requirements <a href="#hardware-requirements" id="hardware-requirements"></a>
28+
29+
* **RAM**: 32 GiB+
30+
* **CPU**: 8 Core+
31+
* **Storage**:
32+
* 1 TiB Fast storage (NVMe/SSD)
33+
* 10 TiB Long-term storage (HDD)
34+
* **GPU**: Not required
35+
* **Connectivity**: Public HTTPS endpoint (domain)
36+
37+
***
38+
2739
### 🧰 System Package Installation
2840

2941
```sh
@@ -148,7 +160,7 @@ If you encounter errors related to `EnableEthRPC` or `EnableIndexer`, run the fo
148160
{% endhint %}
149161

150162
```sh
151-
sed -i 's/EnableEthRPC = .*/EnableEthRPC = true/; s/EnableIndexer = .*/EnableIndexer = true/' ~/.lotus/config.toml
163+
sed -i 's/^\( *\)#*EnableEthRPC = .*/\1EnableEthRPC = true/; s/^\( *\)#*EnableIndexer = .*/\1EnableIndexer = true/' ~/.lotus/config.toml
152164
```
153165

154166
**Monitor Sync Progress**
@@ -171,31 +183,6 @@ tail -f ~/lotus.log
171183

172184
***
173185

174-
### 🔐 Create Wallets
175-
176-
You'll need to create **two BLS wallets**:
177-
178-
* One for **owner**: used to fund sector pledges and submit proofs
179-
* One for **worker**: used to publish and manage storage deals
180-
181-
```sh
182-
lotus wallet new bls # Create owner wallet
183-
lotus wallet new bls # Create worker wallet
184-
lotus wallet list # List all created wallets
185-
```
186-
187-
Make sure to send a small amount of FIL to each wallet - we recommend 1 FIL per wallet to ensure the creation of your Storage Provider in Curio. [Calibration test FIL faucet information](https://docs.filecoin.io/smart-contracts/developing-contracts/get-test-tokens).
188-
189-
{% hint style="success" %}
190-
Both wallets will be used during Curio initialisation.
191-
{% endhint %}
192-
193-
{% hint style="warning" %}
194-
**Tip:** [Back up](https://lotus.filecoin.io/lotus/manage/manage-fil/#exporting-and-importing-addresses) your wallet keys securely before continuing. Losing them will result in permanent loss of access to funds.
195-
{% endhint %}
196-
197-
***
198-
199186
## 🐘 Running YugabyteDB
200187

201188
🧠 Curio uses YugabyteDB to store metadata about deals, sealing operations, and PDP submissions.
@@ -361,9 +348,9 @@ Curio provides a utility to help you set up a new miner interactively. Run the f
361348
curio guided-setup
362349
```
363350

364-
#### 1️⃣ Select "Create a new miner"
351+
#### 1️⃣ Select Curio Installation Type
365352

366-
Use the arrow keys to navigate the guided setup menu and select "**Create a new miner**".
353+
Use the arrow keys to navigate the guided setup menu and select "**Setup non-Storage Provider cluster**".
367354

368355
#### 2️⃣ Enter Your YugabyteDB Connection Details
369356

@@ -383,61 +370,13 @@ You can verify these settings by running the following command from the Yugabyte
383370

384371
After selecting "**Continue to connect and update schema**", Curio will automatically create the required tables and schema in the database.
385372

386-
#### 3️⃣ Set Wallet Addresses
387-
388-
For this step, use the two BLS wallets you created earlier with Lotus:
389-
390-
* Use **wallet 1** for the **Owner Address**
391-
* Use **wallet 2** for the **Worker Address**
392-
* Use **wallet 1** again for the **Sender Address**
393-
394-
These addresses must match the Lotus wallets created earlier.
395-
396-
{% hint style="info" %}
397-
You can display your Lotus wallets at any time by running:
398-
{% endhint %}
399-
400-
```sh
401-
lotus wallet list
402-
```
403-
404-
#### 4️⃣ Choose Sector Size
405-
406-
Choose sector size:
407-
408-
* `64 GiB`
409-
410-
{% hint style="info" %}
411-
Selecting a sector size is required during the Curio guided setup, but **PDP itself doesn't use sectors**. Proof set sizes in PDP are **arbitrary and fully flexible.**
412-
{% endhint %}
413-
414-
#### 5️⃣ Create Miner Actor
415-
416-
Review the information to ensure all inputs are correct. Then select "**Continue to verify the addresses and create a new miner actor**" to proceed.
417-
418-
{% hint style="info" %}
419-
This step may take a few minutes to complete as Curio pushes the message and waits for it to land on-chain.
420-
{% endhint %}
421-
422-
Once the actor is created, Curio will:
423-
424-
* Register your miner ID
425-
426-
{% hint style="info" %}
427-
If the guided setup fails after creating the miner actor, run the following command to complete the installation:
428-
{% endhint %}
429-
430-
```sh
431-
curio config new-cluster <miner ID>
432-
```
433-
434-
#### 6️⃣ Telemetry (Optional)
373+
#### 3️⃣ Telemetry (Optional)
435374

436375
You'll be asked whether to share anonymised or signed telemetry with the Curio team to help improve the software.
437376

438377
Select your preference and continue.
439378

440-
#### 7️⃣ Save Database Configuration
379+
#### 4️⃣ Save Database Configuration
441380

442381
At the final step of the guided setup, you'll be prompted to choose where to save your database configuration file.
443382

@@ -449,7 +388,7 @@ Use the arrow keys to select a location. A common default is:
449388

450389
Once selected, setup will complete, and the miner configuration will be stored.
451390

452-
#### 8️⃣ Launch the Curio Web GUI
391+
#### 5️⃣ Launch the Curio Web GUI
453392

454393
To explore the Curio interface visually, start the GUI layer:
455394

@@ -583,7 +522,15 @@ Restart Curio with both layers:
583522
curio run --layers=gui,pdp
584523
```
585524

586-
{% hint style="warning" %}
525+
{% hint style="info" %}
526+
If you encounter errors related to `EnableEthRPC` or `EnableIndexer`, run the following command and restart Lotus
527+
{% endhint %}
528+
529+
```sh
530+
sed -i 's/^\( *\)#*EnableEthRPC = .*/\1EnableEthRPC = true/; s/^\( *\)#*EnableIndexer = .*/\1Enabl
531+
```
532+
533+
{% hint style="info" %}
587534
If you encounter errors binding to port 443 when starting Curio with the pdp configuration layer, run:
588535
{% endhint %}
589536
@@ -641,5 +588,6 @@ You've successfully launched a **PDP-enabled Filecoin Storage Provider** stack.
641588
642589
## 🔜 Next Steps
643590
644-
* 🧭 Monitor logs and metrics
591+
* :heavy\_check\_mark: Register your FWSS node
592+
* :link: Explore FWSS & PDP tools & resources at [https://www.filecoin.services](https://www.filecoin.services/)
645593
* 💬 Join the community - Filecoin Slack - [#fil-pdp](https://filecoinproject.slack.com/archives/C0717TGU7V2)

0 commit comments

Comments
 (0)