info_tfgrid/collections/system_administrators/mycelium/installation.md

48 lines
1.3 KiB
Markdown
Raw Normal View History

2024-04-29 17:49:02 +00:00
<h1>Installation</h1>
<h2>Table of Contents</h2>
- [Introduction](#introduction)
2024-04-29 18:23:19 +00:00
- [Full VM Example](#full-vm-example)
2024-04-29 17:49:02 +00:00
***
## Introduction
2024-04-29 18:23:19 +00:00
In this section, we cover how to install Mycelium. For this guide, we will show the steps on a full VM running on the TFGrid.
2024-04-29 17:49:02 +00:00
Currently, Linux, macOS and Windows are supported. On Windows, you must have `wintun.dll` in the same directory you are executing the binary from.
2024-04-29 18:23:19 +00:00
## Full VM Example
2024-04-29 17:49:02 +00:00
2024-04-29 18:23:19 +00:00
- Deploy a Full VM with Planetary network and SSH into the VM
2024-04-29 17:49:02 +00:00
- Update the system
```
apt update
```
- Download the latest Mycelium release: [https://github.com/threefoldtech/mycelium/releases/latest](https://github.com/threefoldtech/mycelium/releases/latest)
```
wget https://github.com/threefoldtech/mycelium/releases/download/v0.4.0/mycelium-x86_64-unknown-linux-musl.tar.gz
```
- Extract Mycelium
```
tar -xvf mycelium-x86_64-unknown-linux-musl.tar.gz
```
- Move Mycelium to your path
```
mv mycelium /usr/local/bin
```
- Start Mycelium
```
mycelium --peers tcp://83.231.240.31:9651 quic://185.206.122.71:9651 --tun-name utun2
```
- Open another terminal
2024-04-29 18:23:19 +00:00
- Check the Mycelium connection information (address: ...)
2024-04-29 17:49:02 +00:00
```
mycelium inspect --json
```
- Ping the VM from another machine with IPv6
```
ping6 mycelium_address
2024-04-29 18:23:19 +00:00
```