Bitbucket Server を Windows にインストールする
このページでは、インストーラーを使用して、外部データベースのある本番環境に Bitbucket Server をインストールする方法を説明します。
これは、Windows サーバー上で本番サイトを稼働させる最も簡単な方法です。
Bitbucket Server のその他のインストール方法
このページの内容
はじめる前に
Bitbucket Server をインストールする前に、いくつかの質問に答える必要があります。
サポートされているオペレーティング システムを使用していますか? | |
Bitbucket Server をサービスとして実行する予定ですか? | |
Bitbucket は既定で 7990、7992、および 7993 ポートを使用します。これらは利用可能ですか? | |
データベースはセットアップ済みで使用可能な状態ですか? | |
Bitbucket Server ライセンスを持っていますか? | |
Git および Perl の適切なバージョンをインストールしていますか? |
Bitbucket Server のインストール
1. Bitbucket Server をダウンロードする
インストーラーをダウンロードします: www.atlassian.com/software/bitbucket/download
2. インストーラーを実行する
- インストーラーを実行します。Windows 管理者アカウントを使用することをお勧めします。
- プロンプトに従ってBitbucket をインストールします。次の情報を提供します。
Bitbucket インスタンスのタイプ - インストールのタイプ。この手順では Standard を選択します。
If you're installing Data Center on a single node, also choose Standard, because this type comes with a bundled Elasticsearch instance and is suitable for a non-clustered Data Center deployment. In the Data Center type, you would need to install it separately.
- インストール ディレクトリ - Bitbucket のインストール先。
- ホーム ディレクトリ - Bitbucket のアプリケーション データの保存先。
- TCP ポート - Bitbucket が実行される HTTP コネクタ ポートおよび制御ポート。
- インストーラーが完了すると、Bitbucket がブラウザで起動します。
Bitbucket のセットアップ
ブラウザで初めて Bitbucket Server にアクセスすると、セットアップ ウィザードが自動的に実行されます。
3. データベースへの接続
- データベースをまだ作成していない場合、ここで作成します。詳細については、このページの「はじめる前に」セクションを参照してください。
データベースとして [外部] を選択し、ドロップダウン メニューからデータベース タイプを選択して、データベースの詳細情報を入力します。
4. ライセンス キーの追加
また、このステップでベース URL を設定できます (あとから行うこともできます)。
5. 管理者アカウントの作成
- 管理者アカウントの詳細情報を入力します。
Click either Go to Bitbucket - to go straight to the Bitbucket interface, or Integrate with Jira - to create your connection with an existing Jira application.
6. Bitbucket Server の使用を開始する
次のステップ
本番環境に Bitbucket をセットアップする場合、次に、以下の部分を設定することをおすすめします。
- Connect Bitbucket to a user directory - manage users/groups stored in an external directory.
- Run Bitbucket as a dedicated user - run Bitbucket from a user account with restricted privileges.
- Secure the Bitbucket home directory - secure the home directory against unauthorized access.
- Proxy and secure Bitbucket - run Bitbucket behind a reverse proxy and enable HTTPS access.
- Establish a data recovery plan - backup the home directory and database of your instance.
Read more about setting up Bitbucket for an enterprise here: Using Bitbucket in the enterprise.