Start and Stop Bitbucket Server

Starting and stopping Bitbucket Server

This page describes the various ways you can start or stop Bitbucket Server, depending on which method suits your needs.

Start Bitbucket during installation

The Bitbucket Server installer can automatically start Bitbucket Server. If you're not using the installer, use the instructions below that are appropriate for your needs to start Bitbucket.

Start/stop Bitbucket Server

 

To start/stop Bitbucket Server 

For Linux

Change to your <Bitbucket Server installation directory>, then use the command that meets your needs:

bin/start-bitbucket.sh
bin/stop-bitbucket.sh

 

For Windows

Change to your <Bitbucket Server installation directory>, then use the command that meets your needs:

bin\start-bitbucket.bat
bin\stop-bitbucket.bat

 

For OS X

Use the app icons in the <Bitbucket Server installation directory>. These link to the start-bitbucket.sh and stop-bitbucket.sh scripts in <Bitbucket Server installation directory>/bin.

 

 

To start Bitbucket Data Center (does not start Bitbucket's bundled Elasticsearch instance)

  1. Change to your <Bitbucket Server installation directory>
  2. Run this command:

    start-bitbucket.sh --no-search

     

Start/stop Bitbucket Server when running as a service

On Windows and Linux systems you can choose to have Bitbucket Server installed as a service, and it will be started automatically when the system boots.

 

To start/stop Bitbucket Server manually when running as service:

For Linux

Manage the Bitbucket Server service with these commands:

# service atlbitbucket status 
# service atlbitbucket stop 
# service atlbitbucket start

For Windows

Start and stop the Bitbucket Server service from the services console, on Windows. Ensure you start both the AtlassianBitbucket and AtlassianBitbucketElasticsearch services.

 

To start Bitbucket Server without starting the bundled Elasticsearch instance

 

For Linux  
start-bitbucket.sh --no-search

 

For Windows

start-bitbucket.bat /no-search

 

 

 

https://confluence.atlassian.com/bitbucketserver/starting-and-stopping-bitbucket-server-776640144.html

 

posted on 2018-01-24 22:16  迷茫中寻找方向  阅读(290)  评论(0编辑  收藏  举报

导航