Running Bitbucket Server with a dedicated user
Bitbucket Server installation guide
- Install a Bitbucket trial
- Install Bitbucket Server on Windows
- Install Bitbucket Server on Linux
- Running Bitbucket Server with a dedicated user
- Running Bitbucket Server as a Windows service
- Running Bitbucket Server as a Linux service
- Automated setup for Bitbucket Server
- Starting and stopping Bitbucket Server
- Install Bitbucket Server from an archive file
- Running the Bitbucket Server installer
On this page
Related content
- Migrate H2 database from 1.3 to 1.4
- How to upgrade Mesh H2 database inside Bitbucket Kubernetes pod
- How to upgrade H2 database inside Bitbucket Server and Data Center Docker container
- Migrate H2 database
- Accessing Bitbucket Server's H2 embedded database
- Migrating Bitbucket Data Center to another server
- Upgrade Bitbucket from an archive file
- Migrate Bitbucket Server from Windows to Linux
- Bitbucket Data Center upgrade guide
- How to upgrade Mirror H2 database inside Bitbucket Kubernetes pod
For production installations, we recommend that you create a new dedicated user that will run Bitbucket Server on your system. This user:
- Should be local.
- Should not have admin privileges.
- Should be a non-privileged user with read, write, modify and execute access (called "Full control" permission on Windows) on the Bitbucket Server install directory and home directory.
Note that, on Windows, running Bitbucket Server (whether as a service, or not) as a user that is part of the Administrator group can cause Windows to spend a lot of time running permission checks, with a consequent performance impairment for Git operations.
See also Running Bitbucket Server as a Windows service and Running Bitbucket Server as a Linux service.
For Linux, here is an example of how to create a dedicated user to run Bitbucket Server:
$ sudo /usr/sbin/useradd --create-home --home-dir /opt/atlassian/bitbucket --shell /bin/bash atlbitbucket
On Windows, the user must be a member of the Performance Monitor Users group.
Last modified on Feb 2, 2021
Related content
- Migrate H2 database from 1.3 to 1.4
- How to upgrade Mesh H2 database inside Bitbucket Kubernetes pod
- How to upgrade H2 database inside Bitbucket Server and Data Center Docker container
- Migrate H2 database
- Accessing Bitbucket Server's H2 embedded database
- Migrating Bitbucket Data Center to another server
- Upgrade Bitbucket from an archive file
- Migrate Bitbucket Server from Windows to Linux
- Bitbucket Data Center upgrade guide
- How to upgrade Mirror H2 database inside Bitbucket Kubernetes pod
Powered by Confluence and Scroll Viewport.