atlassian-工具软件的安装部署

在海信的时候感觉atlassian的工具很好用,就从网上下载了进行安装学习

这次安装比较混乱

使用的软件版本

操作系统版本是windwos server 2019

jdk:jdk-21_windows-x64_bin

confluence 使用的是atlassian-confluence-8.5.0-x64 ,支持移动端, 数据库使用的是mysql-8.1.0-winx64

jira使用的是atlassian-jira-software-9.11.0-x64,支持移动端,数据库使用的是mysql-installer-community-5.7.43.0

注意:MySQL8和MySQL7我都是使用的mysql-connector-j-8.0.33作为驱动,可以正常使用,强烈推荐都使用MySQL7,或者postGreSQL

bitbucket是(win)atlassian-bitbucket-7.10.1-x64,数据库是PostGreSQL12,16不支持,git使用的是Git-2.42.0.2-64-bit

bamboo是atlassian-bamboo-9.2.6-windows-x64,数据库是PostGreSQL12,安装的jdk和jre:jdk-8u381-windows-x64,jre-8u381-windows-x64,

授权使用的是网上用的atlassian-agent-v1.3.1

confluence安装

安装JDK

jdk-21_windows-x64_bin,检查java是否安装成功,java -version

安装数据库mysql-8.1.0-winx64,

        Run the MySQL installation wizard:

  1. If you are connecting Confluence to your existing MySQL server, choose Reconfigure Instance.
  2. Choose Advanced Configuration.
  3. Choose the type of MySQL Server that best suits your hardware requirements. This will affect the MySQL Server's usage of memory, disk and CPU resources. Refer to the MySQL documentation for further information.
  4. Choose Transactional Database Only to ensure that your MySQL database will use InnoDB as its default storage engine.
    You must use the InnoDB storage engine with Confluence. Using the MyISAM storage engine can lead to data corruption in Confluence. 
  5. Set the InnoDB Tablespace settings to your requirements. (The default settings are acceptable.)
  6. Set the approximate number of concurrent connections permitted to suit your Confluence usage requirements. You can use one of the presets or enter a number manually. Refer to the MySQL documentation for further information.
  7. For the networking options, ensure the Enable TCP/IP Networking and Enable Strict Mode options are selected (default). Refer to the MySQL documentation on setting the networking and server SQL modes for further information.
  8. For the MySQL server's default character set, choose Best Support For Multilingualism (in other words, utf8mb4). This will ensure Confluence's support for internationalization. For more information, see Configuring Database Character Encoding.
  9. For the Windows configuration option, choose whether or not to install the MySQL Server as a Windows service. If your hardware is going to be used as a dedicated MySQL Server, you may wish to choose the options to Install As Windows Service (and Launch the MySQL Server automatically). Refer to the MySQL documentation for further information.
    Note: If you choose not to install the MySQL Server as a Windows Service, you will need to ensure that the database service has been started before running Confluence.
  10. Select Modify Security Settings to enter and set your MySQL Server (root) access password.
  11. Edit the my.cnf file (my.ini on Windows operating systems) in your MySQL server. Locate the [mysqld]section in the file, and add or modify the following parameters:
    (Refer to MySQL Option Files for detailed instructions on editing my.cnf and my.ini.)
    Locate the [mysqld]section in the file, and add or modify the following parameters:
    • Specify the default character set to be utf8mb4:(这里每次配置一个就重新启动一些MySQL服务,看是否能够启动起来,这里面所有的修改,只有collation-serveruft8mb4_bin,这句我会启动不了服务),所以这句话我没有修改

      [mysqld]
      ...
      character-set-server=utf8mb4
      collation-server=utf8mb4_bin
      ...
    • Set the default storage engine to InnoDB:

      [mysqld]
      ...
      default-storage-engine=INNODB
      ...
      
    • Specify the value of max_allowed_packet to be at least 256M:

      [mysqld]
      ...
      max_allowed_packet=256M
      ...
      
    • Specify the value of innodb_log_file_size to be at least 2GB:

      [mysqld]
      ...
      innodb_log_file_size=2GB
      ...
    • Ensure the sql_mode parameter does not specify NO_AUTO_VALUE_ON_ZERO

      // remove this if it exists
      sql_mode = NO_AUTO_VALUE_ON_ZERO
    • Ensure that the global transaction isolation level of your Database had been set to READ-COMMITTED.

      [mysqld]
      ...
      transaction-isolation=READ-COMMITTED
      ...
    • Check that the binary logging format is configured to use 'row-based' binary logging, and that your database user can create and alter stored functions.

      [mysqld]
      ...
      binlog_format=row
      log_bin_trust_function_creators = 1
      ...
    • If you're using MySQL 5.7, turn off the 'derived merge' optimizer switch, as this can cause the dashboard to load slowly.

      optimizer_switch = derived_merge=off
  12. Restart your MySQL server for the changes to take effect:
    • On Windows, use the Windows Services manager to restart the service.
    • On Linux:
      • Run one of the following commands, depending on your setup: '/etc/init.d/mysqld stop' or '/etc/init.d/mysql stop' or 'service mysqld stop'.
      • Then run the same command again, replacing 'stop' with 'start'.
    • On Mac OS X, run 'sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart'.
  13. Run the 'mysql' command as a MySQL super user. The default user is 'root' with a blank password.
  14. Create an empty Confluence database schema (for example confluence):

    CREATE DATABASE <database-name> CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
  15. Create a Confluence database user (for example confluenceuser):(这里我没有创建用户,直接在配置的时候使用的是root用户或者我安装数据库的时候的数据库管理员,这样会有风险

    GRANT ALL PRIVILEGES ON <database-name>.* TO '<confluenceuser>'@'localhost' IDENTIFIED BY '<password>';

    If Confluence is not running on the same server, replace localhost with the hostname or IP address of the Confluence server. 

安装confluence

安装confluence,注意可以修改一下数据的存放地址,然后安装完成不要马上启动

破解生成许可

将atlassian-agent-v1.3.1放到C:\Program Files\Atlassian\ConfluenceApp\bin的bin目录,

然后在任务管理器中查找confluence在任务管理器中的名字

然后启动命令行切换到confluence的bin目录

输入tomcat9w.exe //MS//confluence290923050030 这样如果正常就会显示java的服务控制台,在右下角,

然后打开他的UI在java项,配置java options

-javaagent:C:\Program Files\Atlassian\ConfluenceApp\bin\atlassian-agent.jar

配置java虚拟机内存限额,默认都是1024M,内存太小,运行一段时间系统会崩溃

启动confluence,然后到输入许可页面,

在cmd切换到confluence的bin目录,然后输入 java -jar atlassian-agent.jar ,就会有提示如何使用,

破解confluence我输入的是

java -jar atlassian-agent.jar -d -m renlubo@qq.com -n renlubo@qq.com -o jerry -p conf -s 系统提供的序列号,然后生成许可,如果输入confluence验证非法,可以多试几组,我当时就是-m和-n输入的不一致,许可不能用

配置MySQL数据库

Due to licensing restrictions, we're not able to bundle the MySQL driver with Confluence. To make your database driver available to Confluence follow the steps below for your MySQL version. 

MySQL 5.7

  1. Stop Confluence.
  2. Head to Database JDBC Drivers and download the appropriate driver. The driver file will be called something like mysql-connector-java-5.1.xx-bin.jar
  3. Drop the .jar file in your <installation-directory>/confluence/WEB-INF/lib directory.
  4. Restart Confluence then go to http://localhost:<port> in your browser to continue the setup process.

MySQL 8.0

You can't use MySQL 8.0 with Confluence 7.1 or earlier. 

  1. Stop Confluence.
  2. Head to Database JDBC Drivers and download the appropriate driver for MySQL 8. The driver file will be called something like mysql-connector-java-8.0.xx-bin.jar
  3. Drop the .jar file in your <installation-directory>/confluence/WEB-INF/lib directory.
  4. Restart Confluence then go to http://localhost:<port> in your browser to continue the setup process.

选择MySQL,端口号选择当时的端口号,数据库实例可以填写localhost,或者MySQL81在服务中显示的名字,数据库就是当时创建的数据库比如confluencedb,然后输入数据库管理员的名字和密码(安装数据库时候设置的),点击测试,如果测试成功,点击初始化就完成了

关闭每日备份

登录系统后关闭每日备份

设置URL

设置url,如果url和你登录的url不一致会无法编辑

jira安装

jira的安装和confluence是一样的,一样的创建数据库,安装jira,只是这个直接用MySQ8不能用,所有又重新安装的MySQL7,同样的配置数据库配置项,安装jira,破解jira,这里可能配置完毕之后会提示连接不到数据库,这个按照他的提示修改jira下面的数据库配置文件即可,

bitbucket安装

bitbucket安装和其他安装几乎没有区别,需要先安装git,用MySQL数据库他不支持,后来重新安装的PostGreSQL,这个安装一定要安装版本12的版本最新的16,会提示没有经过测试,不支持

Bamboo的安装

Bamboo的安装稍微不同一点,他需要jDK1.8或者说是JDK8,还需要JRE8,这样我们需要首先安装这些东西,并进行简单配置,如果不能正常安装bamboo,那么按照他的提示在命令行输入安装程序的名字 /manual 进行手动选择jre目录下的java.exe

然后安装完毕后他默认是启动tomcat的,我们在菜单中找到bamboo下有一个安装服务,然后后续的破解跟其他程序一致,

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值