Run the Bitbucket installer

This page provides information about running Bitbucket Data Center and Server with search installed. For high-level information about installing and using Bitbucket see Getting started.

An installer is available for the Linux operating system. 

インストーラーは以下を実行します。

  • Install Bitbucket into a fresh directory, even if you have an earlier version installed.
  • Install a supported version of the Java JRE, which is only available to Bitbucket.
  • Install a bundled, local search server.
  • Launch Bitbucket when it finishes.

インストーラーが提供する追加サービスのうち、このページで説明しているものは次のとおりです。

You can also automate the Bitbucket Setup Wizard so that a Bitbucket instance can be completely provisioned automatically – see Automated setup for Bitbucket.

インストーラーの実行

アトラシアンのダウンロード サイトから Bitbucket Server のインストーラーをダウンロードします。

Linux の場合...

Linux では、インストーラーを実行する前に、インストーラー ファイルに実行可能フラグを設定する必要があります。 

chmod +x atlassian-bitbucket-x.x.x-x64.bin


インストーラーを実行し、インストール ウィザードに従います。


Install Bitbucket as a service

The installer can install Bitbucket as a service (although not when upgrading an existing instance of Bitbucket).

"atlbitbucket" という名前のサービス アカウントが作成されます。

Linux の場合

  • "atlbitbucket" アカウントはロック済みアカウントになります (システムへのログインには使用できません)。 
  • The init.d script will be linked to run levels 2, 3, 4 and 5. If you wish to change this, you will need to configure it manually.


コンソールおよび無操作モード

The Bitbucket installer has three modes:

  • GUI モード: インストーラーの既定モードでは GUI インストーラーが表示されます。
  • Console mode: if the installer is invoked with the -c argument, the interaction with the user is performed in the terminal from which the installer was invoked.
  • Unattended mode: if the installer is invoked with the -q argument, there is no interaction with the user and the installation is performed automatically with the default values.

Unattended mode also allows you to supply a response file with a -varfile option, to supply answers for all questions that are used instead of the defaults. An example response file is:

応答ファイルの例
 // Should Bitbucket Server be installed as a Service? Must be ADMIN (default: true if the process is running with administrator rights, false otherwise). If false, the home and installation directories must be specified to point to directories owned by the user
app.install.service$Boolean=true

// The ports Bitbucket Server should bind to (defaults: portChoice=default, httpPort=7990)
portChoice=custom
httpPort=7990


// Path to the Bitbucket Server HOME directory (default: /var/atlassian/application-data/bitbucket if the process is running with administrator rights, ~/atlassian/application-data/bitbucket otherwise)
app.bitbucketHome=/var/atlassian/application-data/bitbucket


// The target installation directory (default: /opt/atlassian/bitbucket/<VERSION> if the process is running with administrator rights, ~/atlassian/bitbucket/<VERSION> otherwise)
app.defaultInstallDir=/opt/atlassian/bitbucket/<VERSION>

以下のパラメータをファイルに含めることができます。

パラメーター許可される値説明
app.bitbucketHome
ターゲットのローカル ホーム ディレクトリへのパス
app.defaultInstallDir
これは、新しいインストール、またはアップグレードする既存のインストール ディレクトリのターゲット インストール ディレクトリへのパスです。
installation.type
  • INSTALL
  • UPGRADE
  • DATA_CENTER_INSTALL
  • DATA_CENTER_UPGRADE
  • MIRROR_INSTALL
  • MIRROR_UPGRADE

Determines the type of installation:

  • INSTALL - Install a new single-node Bitbucket instance with a search server
  • UPGRADE - Upgrade an existing single-node Bitbucket instance with a search server
  • DATA_CENTER_INSTALL - Install one node in a multi-node Bitbucket Data Center instance
  • DATA_CENTER_UPGRADE - Upgrade one existing node in a multi-node Bitbucket Data Center instance
  • MIRROR_INSTALL - Install a Bitbucket mirror instance
  • MIRROR_UPGRADE - Upgrade an existing Bitbucket mirror instance
portChoice
  • custom
  • default
Determines whether Bitbucket should be installed with default ports or custom values.
httpPort<numeric port value>HTTP port for Bitbucket, if portChoice is set to custom.
app.install.service$Boolean
  • true
  • false
Determines whether Bitbucket should be installed as a service or not.
app.service.account<service account name>Account name for the Bitbucket service if Bitbucket is installed as a service.
launch.application$Boolean
  • true
  • false
Determines whether the installer should start Bitbucket once installation is complete.
sys.adminRights$Boolean=true
  • true
  • false
Indicates whether the user running the installer has admin rights privileges on the machine.
sys.languageId
Default application language



詳細は、install4j のドキュメントを参照してください。

その他の情報

Use Bitbucket in the enterprise

最終更新日 2022 年 9 月 6 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.