コンテンツにスキップ

「Tox」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
ページの作成:「Category:インターネットアプリケーション en:Tox ru:Tox プロジェクトの [https://tox.chat/ ホームページ] より: : ''Tox は分散型...」
 
同期
9行目: 9行目:
多数存在する [https://wiki.tox.chat/clients Tox クライアント] のどれかをインストールしてください。依存パッケージとして {{pkg|toxcore}} がインストールされます。
多数存在する [https://wiki.tox.chat/clients Tox クライアント] のどれかをインストールしてください。依存パッケージとして {{pkg|toxcore}} がインストールされます。


* {{App|qTox|Qt で書かれたパワフルな Tox クライアント。|https://wiki.tox.chat/clients/qtox|{{Pkg|qtox}} または {{AUR|qtox-git}}}}
現在、公式リポジトリには2つのクライアントが存在します:
* {{App|Toxic|ncurses ベースの CLI。|https://wiki.tox.chat/clients/toxic|{{Pkg|toxic}} または {{AUR|toxic-git}}}}

* {{App|qTox|Qt で書かれたパワフルな Tox クライアント。|https://wiki.tox.chat/clients/qtox|{{Pkg|qtox}}}}
* {{App|Toxic|ncurses ベースの CLI。|https://wiki.tox.chat/clients/toxic|{{Pkg|toxic}}}}

もしくは、AUR からインストールできるクライアントも存在します:

* {{App|gTox|GTK3 スタイルの Tox クライアント。|https://github.com/KoKuToru/gTox/|{{AUR|gtox-git}}}}
* {{App|gTox|GTK3 スタイルの Tox クライアント。|https://github.com/KoKuToru/gTox/|{{AUR|gtox-git}}}}
* {{App|µTox (uTox)|軽量な Tox クライアント。|https://github.com/GrayHatter/utox/|{{AUR|utox-git}}}}
* {{App|µTox (uTox)|軽量な Tox クライアント。|https://github.com/uTox/uTox|{{Pkg|utox}}}}
* {{App|Ratox|FIFO ベースのクライアント。|http://ratox.2f30.org/|{{AUR|ratox-git}}}}
* {{App|Ratox|FIFO ベースのクライアント。|http://ratox.2f30.org/|{{AUR|ratox-git}}}}
* {{App|qTox|Qt で書かれた強力な Tox クライアント。最新の GitHub バージョン。|https://wiki.tox.chat/clients/qtox|{{AUR|qtox-git}}}}
* {{App|Ricin|軽量かつハックしやすい Tox クライアント。Vala & Gtk3 で書かれています。|https://ricin.im/|{{AUR|ricin-git}}}}
* {{App|Ricin|軽量かつハックしやすい Tox クライアント。Vala & Gtk3 で書かれています。|https://ricin.im/|{{AUR|ricin-git}}}}
* {{App|Tox Pidgin Protocol Plugin|[[Pidgin]] の中で Tox プロトコルを使えるようにする Pidgin のプラグイン。|http://tox.dhs.org/|{{AUR|tox-prpl-git}}}}
* {{App|Tox Pidgin Protocol Plugin|[[Pidgin]] の中で Tox プロトコルを使えるようにする Pidgin のプラグイン。|http://tox.dhs.org/|{{AUR|tox-prpl-git}}}}
* {{App|Toxic|ncurses ベースの CLI。最新版。|https://wiki.tox.chat/clients/toxic|{{AUR|toxic-git}}}}


== ノードの実行 ==
== ノードの実行 ==
28行目: 21行目:
Tox で他人と接続するには、まず [https://wiki.tox.chat/users/nodes DHT ノード] に接続する必要があります。全ての DHT ノードは相互に接続され、全てのユーザーが DHT ノードに接続している限り、一方向あるいは双方向で他者と接続することができます。
Tox で他人と接続するには、まず [https://wiki.tox.chat/users/nodes DHT ノード] に接続する必要があります。全ての DHT ノードは相互に接続され、全てのユーザーが DHT ノードに接続している限り、一方向あるいは双方向で他者と接続することができます。


デフォルトでは、tox のブートストプサスファイル {{ic|/usr/lib/systemd/system}} にありますがsystemd がサービスファイルを認識しないため、{{ic|/etc/systemd/system}} に移動する必要があります:
{{Pkg|toxcore}} をインストールしてください。パジをイントールすると 'tox-bootstrapd' ユーザーが作成され、systemd のユニットファイル {{ic|/usr/lib/systemd/system/tox-bootstrapd.service}} に、設定ファイル{{ic|/etc/tox-bootstrapd.conf}} にインストールされます

# mv /usr/lib/systemd/system/tox-bootstrapd.service /etc/systemd/system

デーモンを実行するためのユーザーと設定フォルダを作成:

# useradd --no-create-home --shell /bin/false --user-group tox-bootstrapd
# mkdir --verbose /etc/tox
# chown --recursive --verbose tox-bootstrapd:tox-bootstrapd /etc/tox

''systemd'' をリロードして、新しいユニットをスキャンさせます:

# systemctl daemon-reload

以下をコピーして設定ファイル {{ic|/etc/tox-bootstrapd.conf}} を作成:

{{hc|/etc/tox-bootstrapd.conf|2=
// Tox DHT bootstrap daemon configuration file.

// Listening port (UDP).
port = 33445

// A key file is like a password, so keep it where no one can read it.
// If there is no key file, a new one will be generated.
// The daemon should have permission to read/write it.
keys_file_path = "/var/lib/tox-bootstrapd/keys"

// The PID file written to by the daemon.
// Make sure that the user that daemon runs as has permissions to write to the
// PID file.
pid_file_path = "/var/run/tox-bootstrapd/tox-bootstrapd.pid"

// Enable IPv6.
enable_ipv6 = true

// Fallback to IPv4 in case IPv6 fails.
enable_ipv4_fallback = true

// Automatically bootstrap with nodes on local area network.
enable_lan_discovery = true

enable_tcp_relay = true

// While Tox uses 33445 port by default, 443 (https) and 3389 (rdp) ports are very
// common among nodes, so it's encouraged to keep them in place.
tcp_relay_ports = [443, 3389, 33445]

// Reply to MOTD (Message Of The Day) requests.
enable_motd = true

// Just a message that is sent when someone requests MOTD.
// Put anything you want, but note that it will be trimmed to fit into 255 bytes.
motd = "tox-bootstrapd"

// Any number of nodes the daemon will bootstrap itself off.
//
// Remember to replace the provided example with your own node list.
// There is a maintained list of bootstrap nodes on Tox's wiki, if you need it
// (https://wiki.tox.chat/doku.php?id=users:nodes).
//
// You may leave the list empty or remove "bootstrap_nodes" completely,
// in both cases this will be interpreted as if you don't want to bootstrap
// from anyone.
//
// address = any IPv4 or IPv6 address and also any US-ASCII domain name.
bootstrap_nodes = (
{ // Example Node 1 (IPv4)
address = "127.0.0.1"
port = 33445
public_key = "728925473812C7AAC482BE7250BCCAD0B8CB9F737BF3D42ABD34459C1768F854"
},
{ // Example Node 2 (IPv6)
address = "::1/128"
port = 33445
public_key = "3E78BACF0F84235B30054B54898F56793E1DEF8BD46B1038B9D822E8460FAB67"
},
{ // Example Node 3 (US-ASCII domain name)
address = "example.org"
port = 33445
public_key = "8CD5A9BF0A6CE358BA36F7A653F99FA6B258FF756E490F52C1F98CC420F78858"
}
)
}}


上記の設定ファイルを編集して [https://wiki.tox.chat/users/nodes Tox wiki] に書かれているノードを選択してください。
設定ファイルを編集して [https://wiki.tox.chat/users/nodes Tox wiki] や [https://nodes.tox.chat/ Node status page] に記載されているノードを追加してください。


tox-bootstrapd サービスを[[起動]]・[[有効化]]して、Tox ノードが問題なく動作していることを確認してください:
{{ic|tox-bootstrapd.service}} を[[起動]]・[[有効化]]して、Tox ノードが問題なく動作していることを確認してください:


{{hc|1=# ss --listening --numeric --processes <nowiki>|</nowiki> grep ''node_port''|2=
{{hc|1=# ss --listening --numeric --processes <nowiki>|</nowiki> grep ''node_port''|2=

2017年7月27日 (木) 20:27時点における版

プロジェクトの ホームページ より:

Tox は分散型のセキュアなメッセンジャーです。音声・動画チャットができます。

インストール

多数存在する Tox クライアント のどれかをインストールしてください。依存パッケージとして toxcore がインストールされます。

  • qTox — Qt で書かれたパワフルな Tox クライアント。
https://wiki.tox.chat/clients/qtox || qtox または qtox-gitAUR
  • Toxic — ncurses ベースの CLI。
https://wiki.tox.chat/clients/toxic || toxic または toxic-gitAUR
  • gTox — GTK3 スタイルの Tox クライアント。
https://github.com/KoKuToru/gTox/ || gtox-gitAUR
  • µTox (uTox) — 軽量な Tox クライアント。
https://github.com/uTox/uTox || utox
  • Ratox — FIFO ベースのクライアント。
http://ratox.2f30.org/ || ratox-gitAUR
  • Ricin — 軽量かつハックしやすい Tox クライアント。Vala & Gtk3 で書かれています。
https://ricin.im/ || ricin-gitAUR
  • Tox Pidgin Protocol PluginPidgin の中で Tox プロトコルを使えるようにする Pidgin のプラグイン。
http://tox.dhs.org/ || tox-prpl-gitAUR

ノードの実行

Tox で他人と接続するには、まず DHT ノード に接続する必要があります。全ての DHT ノードは相互に接続され、全てのユーザーが DHT ノードに接続している限り、一方向あるいは双方向で他者と接続することができます。

toxcore をインストールしてください。パッケージをインストールすると 'tox-bootstrapd' ユーザーが作成され、systemd のユニットファイルが /usr/lib/systemd/system/tox-bootstrapd.service に、設定ファイルが /etc/tox-bootstrapd.conf にインストールされます。

設定ファイルを編集して Tox wikiNode status page に記載されているノードを追加してください。

tox-bootstrapd.service起動有効化して、Tox ノードが問題なく動作していることを確認してください:

# ss --listening --numeric --processes | grep node_port
udp        0      0 *:node_port                 *:*                                 576/DHT_bootstrap