> For the complete documentation index, see [llms.txt](https://poseidon-network.gitbook.io/poseidon-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://poseidon-network.gitbook.io/poseidon-network/qlauncher-1/raspberry-pi-shu-mei-pai-cao-zuo-shui-ming/an-zhuang-bang-ding-qlauncherpi.md).

# 安裝、綁定 QLauncher-Pi

## Raspberry Pi **設定**

### 安裝 Docker

SSH連線後，請輸入以下指令

* Ubuntu

```
sudo su
apt-get update
apt-get install curl wget net-tools docker.ioinstall curl wget net-tools docker
```

* 其他Linux作業系統請見 [Docker Website](https://docs.docker.com/engine/install/) 或使用 [Installation Script](https://github.com/docker/docker-install)

## QLauncher 安裝與啟動

### 安裝 QLauncher

**步驟 1-**\
請輸入以下訊息：

```
mkdir ~/qlauncher
wget https://github.com/poseidon-network/qlauncher-linux/releases/latest/download/ql-linux.tar.gz -O app.tar.gz
tar -vxzf app.tar.gz -C ~/qlauncher/
```

**步驟 2-**\
當你看到以下訊息，請點擊「Enter」

```
~# tar -vxzf app.tar.gz -C ~/qlauncher/actions.sh
```

### 啟動 QLauncher

{% hint style="info" %}
成功安裝後，你同時也需要啟動QLauncher讓你的裝置開始運作、分享資源
{% endhint %}

**步驟 1-**\
請輸入以下訊息：

```
sudo su
cd ~/qlauncher
sudo ./qlauncher.sh start
```

**步驟 2-**\
會得到以下訊息：

```
2020-08-20-09-53-12 Start QLauncherK
2020-08-20-09-53-12 Detect sudo/root user
OK
2020-08-20-09-53-12 Detect docker
OK
2020-08-20-09-53-14 Stop edgecore service
2020-08-20-09-53-14 Start edgecore service
2020-08-20-09-53-14 Request ID from server: {"hwsn":"50d16088a6ac44f1a96aeb68f0fd8345","os":"linux","machine_type":"armv7l","format":"json"}
2020-08-20-09-53-27 Response: {"node-id":"worker-node-50d16088a6ac44f1a96aeb68f0fd8345"}
2020-08-20-09-53-27 QLauncher started
```

## 驗證安裝成功

**步驟 1-**\
請輸入以下訊息：

```
cd ~/qlauncher
sudo ./qlauncher.sh check
```

**步驟 2-**\
如果QLaucher已成功安裝，你會見到以下訊息：

```
{"UTC_TIME":"202008200223",
"hwsn":"50d16088a6ac44f1a96aeb68f0fd8345",
"qlk_app_version":"0.2.4.5",
"ota_version":"0.2.4.5",
"edgecore_alive":"false",
"container_alive":true,
"edgecore_admin":true,
"system_product":"",
"timer_user":"root"}
```

## 掃描QL QR code綁定裝置

{% hint style="info" %}
下連結之教學進行操作，下載 QQQ App並註冊帳號。
{% endhint %}

{% content-ref url="/pages/-MDOrmehMfTuucIY3L0e" %}
[QQQ APP 下載方式](/poseidon-network/qqq-app-1/an-zhuang-yu-zhu-ce-app.md)
{% endcontent-ref %}

**步驟 1-**\
獲取綁定裝置的QR Code

```
cd ~/qlauncher
./qlauncher.sh bind
```

**步驟 2-**\
你會得到如以下的專屬「裝置綁定頁面連結」，請複製連結並貼到「瀏覽器地址列」

```
Please copy and paste URL to your browser: https://poseidon.network/qlauncher/?sn=beb217fbb4324b7d9959f78c279e6599
```

**步驟 3-**\
使用 QQQ App 掃描頁面上的 QR Code

![](https://2177507710-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9-d8vHwok-8_jOE24i%2F-MGEjLXfIguFaL8Us9FO%2F-MGElycmoFtCkH0m1XIv%2Fimage.png?alt=media\&token=2f9f2c13-265d-48a0-9a07-01169c232ee4)
