Wings インストール方法【Linux編】

その他

自動インストールスクリプトを利用します。

sudo su -
bash <(curl -s https://pterodactyl-installer.se)
* Pterodactyl installation script @ v0.9.0
*
* Copyright (C) 2018 - 2021, Vilhelm Prytz, <[email protected]>
* https://github.com/vilhelmprytz/pterodactyl-installer
*
* Sponsoring/Donations: https://github.com/vilhelmprytz/pterodactyl-installer?sponsor=1
* This script is not associated with the official Pterodactyl Project.
*
* What would you like to do?
* [0] Install the panel
* [1] Install Wings
* [2] Install both [0] and [1] on the same machine (wings script runs after panel)

* [3] Install 0.7 version of panel (unsupported, no longer maintained!)
* [4] Install 0.6 version of daemon (works with panel 0.7, no longer maintained!)
* [5] Install both [3] and [4] on the same machine (daemon script runs after panel)

* [6] Install panel with canary version of the script (the versions that lives in master, may be broken!)
* [7] Install Wings with canary version of the script (the versions that lives in master, may be broken!)
* [8] Install both [6] and [7] on the same machine (wings script runs after panel)
* Input 0-8: 1
* Do you want to automatically configure a user for database hosts? (y/N): y

入力不要

* Database host username (pterodactyluser):

任意のパスワード

* Database host password:
* Do you want to automatically configure UFW (firewall)? (y/N): y
* Do you want to automatically configure HTTPS using Let's Encrypt? (y/N): y

ノードのアドレスを入力

* Set the FQDN to use for Let's Encrypt (node.example.com): test.lenlino.tk
* I agree that this HTTPS request is performed (y/N): y

証明書発行の際に使用するメールアドレスです。

* Enter email address for Let's Encrypt: ...@com
* Proceed with installation? (y/N): y

ここからインストールが開始します。終わるまで時間かかります…

完了すると以下が表示されます。

######################################################################
* Wings installation completed
*
* To continue, you need to configure Wings to run with your panel
* Please refer to the official guide, https://pterodactyl.io/wings/1.0/installing.html#configure
*
* You can either copy the configuration file from the panel manually to /etc/pterodactyl/config.yml
* or, you can use the "auto deploy" button from the panel and simply paste the command in this terminal
*
* You can then start Wings manually to verify that it's working
*
* sudo wings
*
* Once you have verified that it is working, use CTRL+C and then start Wings as a service (runs in the background)
*
* systemctl start wings
*
* Note: It is recommended to enable swap (for Docker, read more about it in official documentation).
######################################################################

Config設定のコマンドを実行してから、下を実行、ここでサーバーの設定をパネル側で確認します。

sudo wings

広告

その他

Posted by lenlino