Skip to content

Commit

Permalink
Merge pull request #72 from sui-foundation/zihe-update-linux-install
Browse files Browse the repository at this point in the history
update installation doc for linux
  • Loading branch information
hyd628 authored Feb 19, 2024
2 parents 9db5b2e + f69752b commit 92f9853
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions unit-one/lessons/1_set_up_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,20 @@ Welcome to the Sui Move introduction course. In this first unit, we will walk yo

`cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui`

Change the branch target here to `testnet` or `mainnet` if you are targeting one of those.
Change the branch target here to `testnet` or `mainnet` if you are targeting one of those.

3. Check binaries are installed successfully:
*Linux Users: The installation process will create build artifacts in /tmp directory. If you encountered `disk out of space` related issues during installation. Make sure to expand your tmpfs to at least 11GB.*
```
To check your tmpfs usage on Linux systems:
df /tmp
You can expand the tmpfs by editing the `/etc/fstab` file and setting the size of tmpfs to 20G:
tmpfs /tmp tmpfs noatime,size=20G,mode=1777 0 0
```

4. Check binaries are installed successfully:

`sui --version`

Expand Down Expand Up @@ -71,4 +82,4 @@ Welcome to the Sui Move introduction course. In this first unit, we will walk yo
1. [Join Sui Discord](https://discord.gg/sui)
2. Complete verification steps
3. Enter [`#devnet-faucet`](https://discord.com/channels/916379725201563759/971488439931392130) channel for devnet tokens, or [`#testnet-faucet`](https://discord.com/channels/916379725201563759/1037811694564560966) channel for testnet tokens
4. Type `!faucet <WALLET ADDRESS>`
4. Type `!faucet <WALLET ADDRESS>`

0 comments on commit 92f9853

Please sign in to comment.