「OpenBazaar」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(一部翻訳)
24行目: 24行目:
 
また、データベースを暗号化するためのオプション {{ic|1=--password=}} と、ノードのウォレット機能を無効にする {{ic|--disablewallet}} も検討してください。
 
また、データベースを暗号化するためのオプション {{ic|1=--password=}} と、ノードのウォレット機能を無効にする {{ic|--disablewallet}} も検討してください。
   
=== As user ===
+
=== ユーザーとして ===
   
We will store the server files in {{ic|~/.local/share/openbazaar}}.
+
サーバーファイルは {{ic|~/.local/share/openbazaar}} に保存します。
   
==== As user with Tor Browser ====
+
==== Tor Browser を使用したユーザーとして ====
   
This setup requires less configuration but requires starting [[Tor Browser]] first. see {{AUR|torbrowser-launcher-git}}
+
この設定はより少ない設定が必要ですが、最初に [[Tor Browser]] を起動する必要があります。{{AUR|torbrowser-launcher-git}} を参照してください。
   
  +
ユーザーとして実行:
Run as user:
 
   
 
$ openbazaard start -d ~/.local/share/openbazaar --tor --allowip=127.0.0.1 --verbose
 
$ openbazaard start -d ~/.local/share/openbazaar --tor --allowip=127.0.0.1 --verbose
   
with the {{ic|--tor}} option, the server will use your Tor Browser as the Tor entry node.
+
{{ic|--tor}} オプションを使用すると、サーバーは Tor Browser Tor エントリーノードとして使用します。
   
==== As user with Tor ====
+
==== Tor を使用したユーザーとして ====
   
  +
システム全体の Tor プロキシを使用するには、最初に Tor を設定する必要があります。
To use your system-wide Tor proxy, you must configure Tor first.
 
   
  +
Tor Control Port をセキュアにするためのパスワードを選択します。実行
Choose a password to secure your Tor Control Port. Run
 
   
 
$ tor --hash-password ''password''
 
$ tor --hash-password ''password''
   
  +
パスワードハッシュを取得します。
to get the password hash.
 
   
Add to your {{ic|/etc/tor/torrc}} file:
+
{{ic|/etc/tor/torrc}} ファイルに追加:
   
 
{{bc|
 
{{bc|
55行目: 55行目:
 
}}
 
}}
   
setting {{ic|HashedControlPassword}} to your password hash.
+
{{ic|HashedControlPassword}} をあなたのパスワードハッシュに設定します。
   
  +
これで、ユーザーとしてサーバーを起動できます:
Now you can start the server as user:
 
   
 
$ openbazaard start -d ~/.local/share/openbazaar --torpassword=your_tor_control_password --allowip=127.0.0.1 --verbose
 
$ openbazaard start -d ~/.local/share/openbazaar --torpassword=your_tor_control_password --allowip=127.0.0.1 --verbose
   
setting {{ic|--torpassword}} to your Tor password.
+
{{ic|--torpassword}} をあなたの Tor パスワードに設定します。
   
=== System-wide ===
+
=== システム全体 ===
   
We will store the server files in {{ic|/var/lib/openbazaar}}.
+
サーバーファイルは {{ic|/var/lib/openbazaar}} に保存します。
   
openbazaard will run as user {{ic|openbazaar}} in group {{ic|openbazaar}}.
+
openbazaard はユーザー {{ic|openbazaar}}、グループ {{ic|openbazaar}} として実行されます。
   
  +
システム全体の Tor を使用し、Tor Browser は使用しません。
We will use system-wide Tor, not Tor Browser.
 
   
Read section [[#As user with Tor]] to configure Tor.
+
Tor の設定については、[[#As user with Tor]] セクションを参照してください。
   
Edit server configuration file {{ic|/etc/conf.d/openbazaard}}:
+
サーバー設定ファイル {{ic|/etc/conf.d/openbazaard}} を編集:
   
 
# OB_ARGS="-d /var/lib/openbazaar --torpassword=your_tor_control_password --allowip=127.0.0.1 --verbose"
 
# OB_ARGS="-d /var/lib/openbazaar --torpassword=your_tor_control_password --allowip=127.0.0.1 --verbose"
   
  +
サーバーファイルを初期化するには:
To init the server files:
 
   
 
# mkdir /var/lib/openbazaar
 
# mkdir /var/lib/openbazaar
83行目: 83行目:
 
# chmod 0700 /var/lib/openbazaar
 
# chmod 0700 /var/lib/openbazaar
   
  +
{{Accuracy|このセクションは 2018-10-10 に書かれました。以下のセクションはまだ関連していますか?}}
{{Accuracy|This section was written 2018-10-10: is the following section still relevant?}}
 
   
  +
現在、{{ic|openbazaard}} [[systemd]] サービスは壊れているようです。良いように見えますが、サーバーは起動しません。{{ic|openbazaard status}} はデータベースの状態と、Tor が利用可能かどうかだけを表示します。サーバーが稼働しているかどうかは表示されません。
The {{ic|openbazaard}} [[systemd]] service seems broken at the moment. It will look good, but not start the server. {{ic|openbazaard status}} will only show your database status, and whether tor is available. it will not show, whether server is running.
 
   
  +
代わりに、次を実行:
Instead, run:
 
   
 
# source /etc/conf.d/openbazaard
 
# source /etc/conf.d/openbazaard
 
# sudo -u openbazaar openbazaard start $OB_ARGS
 
# sudo -u openbazaar openbazaard start $OB_ARGS
   
  +
いくつかの ASCII アートが表示されるはずです:
You should see some ASCII art:
 
   
 
{{Text art|<nowiki>________ __________
 
{{Text art|<nowiki>________ __________
104行目: 104行目:
 
... along with error-free log messages.
 
... along with error-free log messages.
   
  +
待つ:
Wait for:
 
   
 
[INFO] [cmd/newHTTPGateway] Gateway/API server listening on /ip4/127.0.0.1/tcp/4002
 
[INFO] [cmd/newHTTPGateway] Gateway/API server listening on /ip4/127.0.0.1/tcp/4002
   
  +
サーバーの設定の詳細については、
For more server configuration, see
 
   
 
$ openbazaard gencerts --help
 
$ openbazaard gencerts --help
 
$ openbazaard setapicreds --help
 
$ openbazaard setapicreds --help
   
  +
SSL 証明書を生成するか、'API access' にユーザー名とパスワードを設定して、クライアントが接続できるようにします。どちらもオプション {{ic|-d dir}} または {{ic|1=--datadir=dir}} が必要です。
To generate SSL certificates, or set username and password for 'API access' to allow clients to connect. Both will need the option {{ic|-d dir}} or {{ic|1=--datadir=dir}}
 
   
 
== Start client ==
 
== Start client ==

2023年9月6日 (水) 18:35時点における版

関連記事

この記事またはセクションの正確性には問題があります。
理由: No citation for experimental warning. Some sentences miss articles. (議論: トーク:OpenBazaar#)

OpenBazaar は、暗号通貨を使用した完全に分散型のマーケットプレイスでの電子商取引トランザクションのプロトコルを開発するオープンソースプロジェクトです。

これは実験的なソフトウェアです。自己責任で使用してください。

インストール

openbazaarAUR パッケージがクライアントを提供し、openbazaardAUR がサーバーを提供します。

サーバーの起動

openbazaard start --help で設定オプションを表示できます。

より匿名性を高めるために Tor を使用し、--allowip=127.0.0.1 を使ってサーバーへのアクセスを自分自身に限定します。

また、データベースを暗号化するためのオプション --password= と、ノードのウォレット機能を無効にする --disablewallet も検討してください。

ユーザーとして

サーバーファイルは ~/.local/share/openbazaar に保存します。

Tor Browser を使用したユーザーとして

この設定はより少ない設定が必要ですが、最初に Tor Browser を起動する必要があります。torbrowser-launcher-gitAUR を参照してください。

ユーザーとして実行:

$ openbazaard start -d ~/.local/share/openbazaar --tor --allowip=127.0.0.1 --verbose

--tor オプションを使用すると、サーバーは Tor Browser を Tor エントリーノードとして使用します。

Tor を使用したユーザーとして

システム全体の Tor プロキシを使用するには、最初に Tor を設定する必要があります。

Tor Control Port をセキュアにするためのパスワードを選択します。実行

$ tor --hash-password password

パスワードハッシュを取得します。

/etc/tor/torrc ファイルに追加:

ControlPort 9051
HashedControlPassword hash

HashedControlPassword をあなたのパスワードハッシュに設定します。

これで、ユーザーとしてサーバーを起動できます:

$ openbazaard start -d ~/.local/share/openbazaar --torpassword=your_tor_control_password --allowip=127.0.0.1 --verbose

--torpassword をあなたの Tor パスワードに設定します。

システム全体

サーバーファイルは /var/lib/openbazaar に保存します。

openbazaard はユーザー openbazaar、グループ openbazaar として実行されます。

システム全体の Tor を使用し、Tor Browser は使用しません。

Tor の設定については、#As user with Tor セクションを参照してください。

サーバー設定ファイル /etc/conf.d/openbazaard を編集:

# OB_ARGS="-d /var/lib/openbazaar --torpassword=your_tor_control_password --allowip=127.0.0.1 --verbose"

サーバーファイルを初期化するには:

# mkdir /var/lib/openbazaar
# chown openbazaar:openbazaar /var/lib/openbazaar
# chmod 0700 /var/lib/openbazaar
この記事またはセクションの正確性には問題があります。
理由: このセクションは 2018-10-10 に書かれました。以下のセクションはまだ関連していますか? (議論: トーク:OpenBazaar#)

現在、openbazaard systemd サービスは壊れているようです。良いように見えますが、サーバーは起動しません。openbazaard status はデータベースの状態と、Tor が利用可能かどうかだけを表示します。サーバーが稼働しているかどうかは表示されません。

代わりに、次を実行:

# source /etc/conf.d/openbazaard
# sudo -u openbazaar openbazaard start $OB_ARGS

いくつかの ASCII アートが表示されるはずです:

________                      __________
\_____  \ ______   ____   ____\______   \_____  _____________  _____ _______
 /   |   \\____ \_/ __ \ /    \|    |  _/\__  \ \___   /\__  \ \__  \\_  __ \ 
/    |    \  |_> >  ___/|   |  \    |   \ / __ \_/    /  / __ \_/ __ \|  | \/
\_______  /   __/ \___  >___|  /______  /(____  /_____ \(____  (____  /__|
        \/|__|        \/     \/       \/      \/      \/     \/     \/

... along with error-free log messages.

待つ:

[INFO] [cmd/newHTTPGateway] Gateway/API server listening on /ip4/127.0.0.1/tcp/4002

サーバーの設定の詳細については、

$ openbazaard gencerts --help
$ openbazaard setapicreds --help

SSL 証明書を生成するか、'API access' にユーザー名とパスワードを設定して、クライアントが接続できるようにします。どちらもオプション -d dir または --datadir=dir が必要です。

Start client

Run openbazaar as user.

The default server configuration should be fine.

If your server admin did configure a login with openbazaard setapicreds then fill the Username and Password fields.

To connect to a tor-hidden server, set Server IP to the .onion address, activate Use Tor, and enter your_tor_control_password to connect via your system tor node.

Otherwise, when using the localhost server, the Use Tor setting should not be needed.

See also