Installing jira on linux

Содержание
  1. Administering Jira applications Support
  2. Products
  3. Jira Software
  4. Jira Service Management
  5. Jira Core
  6. Confluence
  7. Bitbucket
  8. Resources
  9. Documentation
  10. Community
  11. Suggestions and bugs
  12. Marketplace
  13. Billing and licensing
  14. Viewport
  15. Confluence
  16. Installing Jira applications on Linux
  17. Installing Jira applications
  18. On this page
  19. In this section
  20. Related content
  21. Still need help?
  22. Before you begin
  23. Install a Jira application
  24. 1. Download Jira
  25. 2. Run the installer
  26. Set up your Jira application
  27. 3. Choose set up method
  28. 4. Connect to your database
  29. 5. Set application properties
  30. 5. Enter your license
  31. 6. Create your administrator account
  32. 7. Set up email notifications
  33. 8. Start using Jira
  34. Administering Jira applications Support
  35. Products
  36. Jira Software
  37. Jira Service Management
  38. Jira Core
  39. Confluence
  40. Bitbucket
  41. Resources
  42. Documentation
  43. Community
  44. Suggestions and bugs
  45. Marketplace
  46. Billing and licensing
  47. Viewport
  48. Confluence
  49. Installing Jira applications on Linux
  50. Installing Jira applications
  51. On this page
  52. In this section
  53. Related content
  54. Still need help?
  55. Before you begin
  56. Install a Jira application
  57. 1. Download Jira
  58. 2. Run the installer
  59. Set up your Jira application
  60. 3. Choose set up method
  61. 4. Connect to your database
  62. 5. Set application properties
  63. 5. Enter your license
  64. 6. Create your administrator account
  65. 7. Set up email notifications
  66. 8. Start using Jira
  67. Administering Jira applications Support
  68. Products
  69. Jira Software
  70. Jira Service Management
  71. Jira Core
  72. Confluence
  73. Bitbucket
  74. Resources
  75. Documentation
  76. Community
  77. Suggestions and bugs
  78. Marketplace
  79. Billing and licensing
  80. Viewport
  81. Confluence
  82. Installing Jira applications on Linux from Archive File
  83. Installing Jira applications on Linux
  84. On this page
  85. Related content
  86. Still need help?
  87. Before you begin
  88. Install a Jira application
  89. 1. Download Jira
  90. 2. Create the installation directory
  91. 3. Create the home directory
  92. 4. Check the ports
  93. 5. Start Jira
  94. Set up your Jira application
  95. 6. Choose set up method
  96. 7. Connect to your database
  97. 8. Set application properties
  98. 9. Enter your license
  99. 10. Create your administrator account
  100. 11. Set up email notifications
  101. 12. Start using Jira
  102. Troubleshooting

Administering Jira applications Support

Products

Jira Software

Project and issue tracking

Jira Service Management

Service management and customer support

Jira Core

Manage any business project

Confluence

Bitbucket

Git code management

Resources

Documentation

Usage and admin help

Community

Answers, support, and inspiration

Suggestions and bugs

Feature suggestions and bug reports

Marketplace

Billing and licensing

Frequently asked questions

Viewport

Confluence

Versions

Installing Jira applications on Linux

Installing Jira applications

On this page

In this section

Still need help?

The Atlassian Community is here for you.

In this guide we’ll run you through installing a Jira application in a production environment, with an external database, using the Linux installer.

This is the most straightforward way to get your production site up and running on a Linux server.

Other ways to install Jira:

  • Evaluation — get your free trial up and running in no time.
  • TAR.GZ – install Jira manually from an archive file.
  • Windows – install Jira on a Windows server.

On this page:

Before you begin

Before you install Jira, there are a few questions you need to answer.

Check the Supported Platforms page for the version of Jira you are installing. This will give you info on supported operating systems, databases and browsers.

Good to know:

  • We don’t support installing Jira on OSX or mac OS for production sites.
  • The Jira installer includes Java (JRE) and Tomcat, so you don’t need to install these separately.

Do you want to run Jira as a service?

Running Jira as a service means that Jira will automatically start up when Linux is started.

If you choose to run Jira as a service:

  • You must use sudo to run the installer to be able to install Jira as a service.
  • The installer will create a dedicated user account, jira , that will run the service.

If you choose not to run Jira as a service:

  • You will start and stop Jira by running the start-jira.sh file in your Jira installation directory.
  • Jira will be run as the user account that was used to install Jira, or you can choose to run as a dedicated user.
  • Jira will need to be restarted manually if your server is restarted.
Are you using a supported operating system?
Is your database set up and ready to use?

Good to know:

  • Set up your database before you begin. Step-by-step guides for all supported databases are available in Connecting Jira applications to a database.
  • Use UTF-8 character encoding.
  • If you’re using Oracle or MySQL you’ll need to download the driver for your database.
  • The embedded H2 database can be used for evaluating Jira, but you’ll need to migrate to another database before running in production. You may find it easier to use external database from the start.

Do you have a Jira license?

Good to know:

  • If you have not yet purchased a Jira application license you’ll be able to create an evaluation license during setup.
  • If you already have a license key you’ll be prompted to log in to my.atlassian.com to retrieve it, or you can enter the key manually during setup.
  • If you’re migrating from Jira Cloud, you’ll need a new licenseJira

For Linux installations, we’ve noticed some problems when displaying certain system text in the application (CAPTCHA and gadgets). Instead of showing regular alphanumeric letters, the text will appear to be garbled and look like symbols. To avoid this problem, you should install several fonts that are required by Jira. For more info, see Jira UI shows unreadable text .

Install a Jira application

1. Download Jira

Download the installer for your operating system:

2. Run the installer

Make the installer executable.

Change to the directory where you downloaded Jira then execute this command:

Where -X.X.X is is the Jira version you downloaded.

Run the installer, we recommend using sudo to run the installer as this will create a dedicated account to run Jira and allow you to run Jira as a service.

To use sudo to run the installer execute this command:

Where -X.X.X is is the Jira version you downloaded.

You can also choose to run the installer as with root user privileges.

Set up your Jira application

3. Choose set up method

4. Connect to your database

  1. If you’ve not already done so, it’s time to create your database. See the ‘Before you begin’ section of this page for details.
  2. Choose My own database.

Choose your database type then enter the details for your database.

JIRA connects to your database using a standard JDBC database connection. Connection pooling is handled within JIRA, you can change this using JIRA configuration tool later.

If you’re using Oracle or MySQL there’s an extra step:

  • Download and extract the appropriate database JDBC drivers. See Supported platforms to get the right version.
  • Drop the JAR file into your /lib folder before continuing with the setup wizard.

In the setup wizard:

  • Driver Class Name – the Java class name for your database driver. If you’re not sure, check the documentation for your database.
  • Database URL – the JDBC URL for your database. If you’re not sure, check the documentation for your database.
  • Username and Password – A valid username and password that JIRA can use to access your database.

5. Set application properties

  1. Give your Jira site a name.
  2. Choose whether your site should be private or anyone can sign up. You can change this later.
  3. Enter your base URL — this is the address people will use to access your Jira site.

5. Enter your license

6. Create your administrator account

Enter details for the administrator account. You can add more administrators after set up is complete.

7. Set up email notifications

Enter details of your mail server. This will allow Jira to send notifications when issues change.

8. Start using Jira

Here’s a few things that will help you get your team up and running:

  • Add and invite users to get your team on board, or configure user directories for slightly bigger teams.
  • Create your first project to have something to work on.
  • Configure SSL or HTTPS to keep Jira and your team more secure.

Источник

Administering Jira applications Support

Products

Jira Software

Project and issue tracking

Jira Service Management

Service management and customer support

Jira Core

Manage any business project

Confluence

Bitbucket

Git code management

Resources

Documentation

Usage and admin help

Community

Answers, support, and inspiration

Suggestions and bugs

Feature suggestions and bug reports

Marketplace

Billing and licensing

Frequently asked questions

Viewport

Confluence

Versions

Installing Jira applications on Linux

Installing Jira applications

On this page

In this section

Still need help?

The Atlassian Community is here for you.

In this guide we’ll run you through installing a Jira application in a production environment, with an external database, using the Linux installer.

This is the most straightforward way to get your production site up and running on a Linux server.

Other ways to install Jira:

  • Evaluation — get your free trial up and running in no time.
  • TAR.GZ – install Jira manually from an archive file.
  • Windows – install Jira on a Windows server.

On this page:

Before you begin

Before you install Jira, there are a few questions you need to answer.

Check the Supported Platforms page for the version of Jira you are installing. This will give you info on supported operating systems, databases and browsers.

Good to know:

  • We don’t support installing Jira on OSX or mac OS for production sites.
  • The Jira installer includes Java (JRE) and Tomcat, so you don’t need to install these separately.

Do you want to run Jira as a service?

Running Jira as a service means that Jira will automatically start up when Linux is started.

If you choose to run Jira as a service:

  • You must use sudo to run the installer to be able to install Jira as a service.
  • The installer will create a dedicated user account, jira , that will run the service.

If you choose not to run Jira as a service:

  • You will start and stop Jira by running the start-jira.sh file in your Jira installation directory.
  • Jira will be run as the user account that was used to install Jira, or you can choose to run as a dedicated user.
  • Jira will need to be restarted manually if your server is restarted.
Are you using a supported operating system?
Is your database set up and ready to use?

Good to know:

  • Set up your database before you begin. Step-by-step guides for all supported databases are available in Connecting Jira applications to a database.
  • Use UTF-8 character encoding.
  • If you’re using Oracle or MySQL you’ll need to download the driver for your database.
  • The embedded H2 database can be used for evaluating Jira, but you’ll need to migrate to another database before running in production. You may find it easier to use external database from the start.

Do you have a Jira license?

Good to know:

  • If you have not yet purchased a Jira application license you’ll be able to create an evaluation license during setup.
  • If you already have a license key you’ll be prompted to log in to my.atlassian.com to retrieve it, or you can enter the key manually during setup.
  • If you’re migrating from Jira Cloud, you’ll need a new licenseJira

For Linux installations, we’ve noticed some problems when displaying certain system text in the application (CAPTCHA and gadgets). Instead of showing regular alphanumeric letters, the text will appear to be garbled and look like symbols. To avoid this problem, you should install several fonts that are required by Jira. For more info, see Jira UI shows unreadable text .

Install a Jira application

1. Download Jira

Download the installer for your operating system:

2. Run the installer

Make the installer executable.

Change to the directory where you downloaded Jira then execute this command:

Where -X.X.X is is the Jira version you downloaded.

Run the installer, we recommend using sudo to run the installer as this will create a dedicated account to run Jira and allow you to run Jira as a service.

To use sudo to run the installer execute this command:

Where -X.X.X is is the Jira version you downloaded.

You can also choose to run the installer as with root user privileges.

Set up your Jira application

3. Choose set up method

4. Connect to your database

  1. If you’ve not already done so, it’s time to create your database. See the ‘Before you begin’ section of this page for details.
  2. Choose My own database.

Choose your database type then enter the details for your database.

JIRA connects to your database using a standard JDBC database connection. Connection pooling is handled within JIRA, you can change this using JIRA configuration tool later.

If you’re using Oracle or MySQL there’s an extra step:

  • Download and extract the appropriate database JDBC drivers. See Supported platforms to get the right version.
  • Drop the JAR file into your /lib folder before continuing with the setup wizard.

In the setup wizard:

  • Driver Class Name – the Java class name for your database driver. If you’re not sure, check the documentation for your database.
  • Database URL – the JDBC URL for your database. If you’re not sure, check the documentation for your database.
  • Username and Password – A valid username and password that JIRA can use to access your database.

5. Set application properties

  1. Give your Jira site a name.
  2. Choose whether your site should be private or anyone can sign up. You can change this later.
  3. Enter your base URL — this is the address people will use to access your Jira site.

5. Enter your license

6. Create your administrator account

Enter details for the administrator account. You can add more administrators after set up is complete.

7. Set up email notifications

Enter details of your mail server. This will allow Jira to send notifications when issues change.

8. Start using Jira

Here’s a few things that will help you get your team up and running:

  • Add and invite users to get your team on board, or configure user directories for slightly bigger teams.
  • Create your first project to have something to work on.
  • Configure SSL or HTTPS to keep Jira and your team more secure.

Источник

Administering Jira applications Support

Products

Jira Software

Project and issue tracking

Jira Service Management

Service management and customer support

Jira Core

Manage any business project

Confluence

Bitbucket

Git code management

Resources

Documentation

Usage and admin help

Community

Answers, support, and inspiration

Suggestions and bugs

Feature suggestions and bug reports

Marketplace

Billing and licensing

Frequently asked questions

Viewport

Confluence

Versions

Installing Jira applications on Linux from Archive File

Installing Jira applications on Linux

On this page

Still need help?

The Atlassian Community is here for you.

In this guide we’ll run you through installing a Jira application in a production environment, with an external database, manually using a tar.gz file.

This method gives you the most control over the installation process.

Other ways to install Jira:

  • Evaluation — get your free trial up and running in no time.
  • Installer – install Jira using the Linux installer.
  • Windows – install Jira on a Windows server.

On this page:

Before you begin

Before you install Jira, there are a few questions you need to answer.

Check the Supported platforms page for the version of Jira you are installing. This will give you info on supported operating systems, databases and browsers.

Good to know:

  • We don’t support installing Jira on OS X or mac OS for production environments.
  • You can use OpenJDK the JDK (Java Development Kit) or JRE (Java Runtime Environment).
  • We only support the version of Apache Tomcat that is bundled with Jira.
Are you using a supported operating system and Java version?
Are you using a 32-bit operating system?

Complete these steps after extracting files from the archive, but before starting Jira.

Step 1: Rename the default setenv file.

Go to /bin , and delete the setenv.bat / .sh file (or change its name).

Rename setenv32.bat / .sh to setenv.bat / .sh . Jira will use this file on startup.

Step 2: Add the properties to the jira-config.properties file.

Go to Jira’s home directory, and edit the jira-config.properties file. If the file isn’t there, you can create it.

Add the following properties:

Do you want to run Jira as a service?

Running Jira as a service means that your Jira application will automatically start up when your Linux server is started.

You should use the Linux installer if you want to run Jira as a service.

If you choose not to run Jira as a service:

  • You will start your Jira application by running the start-jira.sh file in your Jira installation directory.
  • We recommend creating a dedicated user to run Jira. This user must have full read, write and execute access to the installation directory and home directory.
  • Jira will need to be restarted manually if your server is restarted.
What database do you plan to use?

Good to know:

  • Set up your database before you begin. Step-by-step guides for all supported databases are available in Connecting Jira applications to a database.
  • Use UTF-8 character encoding.
  • If you’re using Oracle or MySQL you’ll need to download the driver for your database.
  • The embedded H2 database can be used for evaluating Jira, but you’ll need to migrate to another database before running in production. You may find it easier to use external database from the start.

Do you have a Jira license?

Good to know:

  • If you have not yet purchased a Jira application license you’ll be able to create an evaluation license during setup.
  • If you already have a license key you’ll be prompted to log in to my.atlassian.com to retrieve it, or you can enter the key manually during setup.
  • If you’re migrating from Jira Cloud, you’ll need a new licenseJira
Is your JAVA_HOME variable set correctly?

Before you install Jira, check that you’re running a supported Java version and that the JAVA_HOME environment variable is set correctly.

Jira applications can run with OpenJDK, Oracle JDK or JRE.

To check your Java version:

To check your JAVA_HOME variable is set correctly:

If you see a path to your Java installation directory, the JAVA_Home environment variable has been set correctly. If a path is not returned you’ll need to set your JAVA_HOME environment variable manually before installing Jira.

Have you created a dedicated user to run Jira?

We strongly recommend running Jira as a dedicated user.

You should create this user before you begin, so that when creating the installation and home directories, you can give this user appropriate read and write permissions.

In this example, we’ll create a user called jira :

Install a Jira application

1. Download Jira

Download the tar.gz file for your operating system:

2. Create the installation directory

Create your installation directory – this is where Jira will be installed. Avoid using spaces or special characters in the path. We’ll refer to this directory as your .

In this example we’ll call our installation directory jirasoftware :

Extract the Jira tar.gz file to your . We recommend using a GNU version of the archive utility, especially on Solaris.

Change to the directory where you downloaded Jira then execute these commands:

Replace x.x.x with your Jira version and with the full path to the directory you created in the last step.

Give your dedicated Jira user read, write and execute permission to your .

In this example we’re changing ownership of the installation directory and giving the user jira read, write and execute permissions.

3. Create the home directory

Create your home directory – this is where Jira application data like logs, search indexes and files will be stored. This should be separate to your installation directory, with no spaces or special characters in the path. Each Jira application needs its own home directory.

We’ll refer to this directory as your .

In this example we’ll call our home directory jirasoftware-home :

Give your dedicated Jira user read, write and execute permissions to the .

In this example we’re changing ownership of the home directory and giving the user jira read, write and execute permissions.

Tell Jira where to find your when it starts up. There are two ways to do this:

You can set an environment variable named JIRA_HOME in your operating system with the absolute path to your .

In Terminal, execute the following:

You can then specify the command above in a script used to start Jira.

Edit \atlassian-jira\WEB-INF\classes\jira-application.properties file in any text editor.

After jira.home add the absolute path to your home directory (not a symlink), for example:

4. Check the ports

By default Jira listens on port 8080 . If you have another application running on your server that uses the same ports, you’ll need to tell Jira to use a different port.

To change the ports:

Change the Server port (8005) and the Connector port (8080) to free ports on your server.

In the example below we’ve changed the Server port to 5005 and the Connector port to 5050.

If you are running on a Unix server and bind the ports below 1024 (such as port 80 for example), you will need to start Jira as root in order to successfully bind to the port.

5. Start Jira

Run /bin/start-jira.sh to start the setup process.

We recommend running Jira as your dedicated user.

If you’re using Ubuntu the command is a little different:

  • Check your JAVA_HOME variable is set correctly.

Set up your Jira application

6. Choose set up method

7. Connect to your database

  1. If you’ve not already done so, it’s time to create your database. See the ‘Before you begin’ section of this page for details.
  2. Choose My own database.

Choose your database type then enter the details for your database.

JIRA connects to your database using a standard JDBC database connection. Connection pooling is handled within JIRA, you can change this using JIRA configuration tool later.

If you’re using Oracle or MySQL there’s an extra step:

  • Download and extract the appropriate database JDBC drivers. See Supported platforms to get the right version.
  • Drop the JAR file into your /lib folder before continuing with the setup wizard.

In the setup wizard:

  • Driver Class Name – the Java class name for your database driver. If you’re not sure, check the documentation for your database.
  • Database URL – the JDBC URL for your database. If you’re not sure, check the documentation for your database.
  • Username and Password – A valid username and password that JIRA can use to access your database.

8. Set application properties

  1. Give your Jira site a name.
  2. Choose whether your site should be private or anyone can sign up. You can change this later.
  3. Enter your base URL — this is the address people will use to access your Jira site.

9. Enter your license

10. Create your administrator account

Enter details for the administrator account. You can add more administrators after set up is complete.

11. Set up email notifications

Enter details of your mail server. This will allow Jira to send notifications when issues change.

12. Start using Jira

Here’s a few things that will help you get your team up and running:

  • Add and invite users to get your team on board, or configure user directories for slightly bigger teams.
  • Create your first project to have something to work on.
  • Configure SSL or HTTPS to keep Jira and your team more secure.

Troubleshooting

  • Check your JAVA_HOME is set correctly.
  • Use a GNU version of the unzip utility. There are known issues extracting the tar.gz file on Solaris and AIX. See ‘extractBundledPlugins Couldn’t find atlassian-bundled-plugins.zip on classpath’ Due to Solaris TAR Utility.

Head to Installation Troubleshooting in our Knowledge Base for more help.

Источник

Читайте также:  Windows 10 разрешения для использования камеры
Оцените статью