Skip to content

Commit e2e0ef3

Browse files
TippyFlitsUKjennijuju
authored andcommitted
GITBOOK-4: No subject
1 parent df985a2 commit e2e0ef3

File tree

6 files changed

+94
-4
lines changed

6 files changed

+94
-4
lines changed

.gitbook/assets/Filecoin.svg.png

45.7 KB
Loading

.gitbook/assets/lotus-logo-big.png

38.7 KB
Loading

.gitbook/assets/yugabyte.svg

Lines changed: 18 additions & 0 deletions
Loading

SUMMARY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
* [Industry](storage-providers/skills/industry.md)
8383
* [PDP](storage-providers/pdp/README.md)
8484
* [Prerequisites](storage-providers/pdp/prerequisites.md)
85-
* [Installing and Running Lotus](storage-providers/pdp/installing-and-running-lotus.md)
85+
* [Install & Run Lotus](storage-providers/pdp/install-and-run-lotus.md)
86+
* [Install & Run YugabyteDB](storage-providers/pdp/install-and-run-yugabytedb.md)
8687

8788
## Nodes
8889

storage-providers/pdp/installing-and-running-lotus.md renamed to storage-providers/pdp/install-and-run-lotus.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ description: >-
44
wallets, and is required for Curio to interact with your node.
55
---
66

7-
# Installing and Running Lotus
7+
# Install & Run Lotus
88

9-
<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><a href="https://lotus.filecoin.io/lotus/get-started/what-is-lotus/">Lotus Documentation</a></td><td></td></tr><tr><td><a href="https://filecoinproject.slack.com/archives/CPFTWMY7N">Filecoin Slack - #fil-lotus-help</a></td><td></td></tr></tbody></table>
9+
<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="https://lotus.filecoin.io/lotus/get-started/what-is-lotus/">Lotus Documentation</a></td><td></td><td><a href="../../.gitbook/assets/lotus-logo-big.png">lotus-logo-big.png</a></td></tr><tr><td><a href="https://filecoinproject.slack.com/archives/CPFTWMY7N">Filecoin Slack - #fil-lotus-help</a></td><td></td><td><a href="../../.gitbook/assets/Filecoin.svg.png">Filecoin.svg.png</a></td></tr></tbody></table>
1010

1111
### Build Lotus Daemon
1212

@@ -69,7 +69,7 @@ nohup lotus daemon > ~/lotus.log 2>&1 &
6969
lotus sync wait
7070
```
7171

72-
#### To monitor continuously:
72+
To monitor continuously:
7373

7474
```sh
7575
lotus sync wait --watch
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Install & Run YugabyteDB
2+
3+
<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="https://docs.yugabyte.com/preview/tutorials/quick-start/linux/">Yugabyte Documentation</a></td><td><a href="../../.gitbook/assets/yugabyte.svg">yugabyte.svg</a></td></tr><tr><td><a href="https://filecoinproject.slack.com/archives/C06LF5YP8S3">Filecoin Slaxk - #fil-curio-help</a></td><td><a href="../../.gitbook/assets/Filecoin.svg.png">Filecoin.svg.png</a></td></tr><tr><td><a href="https://inviter.co/yugabytedb">Yugabyte Slack</a></td><td><a href="../../.gitbook/assets/yugabyte.svg">yugabyte.svg</a></td></tr></tbody></table>
4+
5+
### Set ulimit configuration
6+
7+
{% hint style="info" %}
8+
&#x20;Before starting Yugabyte, you must increase the default ulimit values to ensure system limits do not interfere with the database.
9+
{% endhint %}
10+
11+
To do this:
12+
13+
#### **Persist new limits across reboots**
14+
15+
Add these lines to `/etc/security/limits.conf`:
16+
17+
```sh
18+
echo "$(whoami) soft nofile 1048576" | sudo tee -a /etc/security/limits.conf
19+
echo "$(whoami) hard nofile 1048576" | sudo tee -a /etc/security/limits.conf
20+
This ensures the increased limits are automatically applied to future sessions.
21+
```
22+
23+
#### **Apply limit immediately (for current shell only)**
24+
25+
```sh
26+
ulimit -n 1048576
27+
Verify:
28+
ulimit -n
29+
```
30+
31+
{% hint style="success" %}
32+
This should output 1048576.
33+
{% endhint %}
34+
35+
### Install Yugabyte
36+
37+
```sh
38+
wget https://software.yugabyte.com/releases/2.25.1.0/yugabyte-2.25.1.0-b381-linux-x86_64.tar.gz
39+
tar xvfz yugabyte-2.25.1.0-b381-linux-x86_64.tar.gz
40+
cd yugabyte-2.25.1.0
41+
./bin/post_install.sh
42+
```
43+
44+
### Start the DB
45+
46+
```sh
47+
./bin/yugabyted start \
48+
--advertise_address 127.0.0.1 \
49+
--master_flags rpc_bind_addresses=127.0.0.1 \
50+
--tserver_flags rpc_bind_addresses=127.0.0.1
51+
```
52+
53+
{% hint style="danger" %}
54+
&#x20;If you encounter locale-related errors when starting Yugabyte for the first time, run:
55+
{% endhint %}
56+
57+
```sh
58+
sudo locale-gen en_US.UTF-8
59+
```
60+
61+
{% hint style="success" %}
62+
Visit [http://127.0.0.1:15433](http://127.0.0.1:15433) to confirm successful installation. This is the YugabyteDB web UI — it should display the dashboard if the service is running correctly and all nodes are healthy.&#x20;
63+
{% endhint %}
64+
65+
{% hint style="info" %}
66+
You can also check your Yugabyte cluster details directly in the CLI with:
67+
{% endhint %}
68+
69+
```sh
70+
./bin/yugabyted status
71+
```

0 commit comments

Comments
 (0)