centos 安装confluence

前言:confluence是团队协作软件,改变团队工作方式,作为现代化办公不可缺少的工具

  • wiki所需的安装包:

链接:https://pan.baidu.com/s/1AJ5BgwA5itJjnFeUh1xHMg 密码:yqzd
注:两个包一个是放windows上进行破解的,另一个是wiki安装包

  • 进入部署环境:
    首先我们需要安装jdk:安装jdk1.8

 

  •  安装步骤
  •      1.安装lrzsz工具:(使用rz导入confluence安装包)

             yum -y install lrzsz

  •       2. 一般我习惯把安装包放到/opt/目录下,导入安装包并且赋权:(可执行权限)  
[root@aliyunjsyg56 opt]# chmod +x atlassian-confluence-6.3.1-x64.bin 
[root@aliyunjsyg56 opt]# ll
总用量 590300
-rwxr-xr-x 1 root root 604450053 6月  19 14:41 atlassian-confluence-6.3.1-x64.bin
drwxr-xr-x 3 root root      4096 5月   5 14:34 microsoft
drwxr-xr-x 4 root root      4096 5月   5 11:37 mssql
drwxr-xr-x 4 root root      4096 5月   5 14:34 mssql-tools
[root@aliyunjsyg56 opt]# ./atlassian-confluence-6.3.1-x64.bin 
Unpacking JRE ...
Starting Installer ...
六月 19, 2019 3:01:05 下午 java.util.prefs.FileSystemPreferences$2 run
信息: Created system preferences directory in java.home.

This will install Confluence 6.3.1 on your computer.
OK [o, Enter], Cancel [c]

Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (uses default settings) [1], 
Custom Install (recommended for advanced users) [2, Enter], 
Upgrade an existing Confluence installation [3]
1
See where Confluence will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/confluence 
Home Directory: /var/atlassian/application-data/confluence 
HTTP Port: 8090 
RMI Port: 8000 
Install as service: Yes 
Install [i, Enter], Exit [e]


Extracting files ...
                                                                           

Please wait a few moments while we configure Confluence.
Installation of Confluence 6.3.1 is complete
Start Confluence now?
Yes [y, Enter], No [n]
y

Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 6.3.1 is complete
Your installation of Confluence 6.3.1 is now ready and can be accessed via
your browser.
Confluence 6.3.1 can be accessed at http://localhost:8090
Finishing installation ...
  •     3.安装结束后查看端口监听及程序是否启动:(默认端口8090)

         netstat -ntlp    可查看8090端口是否可用

  •     4.访问:localhost:8090

 选择使用中文:

我们选择产品安装:

选择安装插件:

接着我们会来到输入授权码的地方:

接下来我们使用注册机破解对confluence进行破解,因为confluence不是免费开源的,需要授权码,此时记住服务器ID

a.关闭confluence,cd /opt/atlassian/confluence/bin,执行./shutdown.sh

b.将安装目录/opt/atlassian/confluence/confluence/WEB-INF/lib下的架包atlassian-extras-decoder-v2-3.2.jar备份一下,并下载到本地,重新命名为atlassian-extras-2.4.jar

c.在windows上解压破解工具包并双击运行:

得到这个么对话框,并在对话框中输入:

name:随便输入

serviceId:将安装confluence时生成的服务器ID填入

点击.gen!,会生成key值

执行结果如下:

注:里面的就是我们的授权码

点击.patch!,选择本地的atlassian-extras-2.4.jar,此时,会生成一个新的atlassian-extras-2.4.jar包,原来的包会更换名字为.bak

d.将新的atlassian-extras-2.4.jar更换名字为atlassian-extras-decoder-v2-3.2.jar,上传到之前的lib文件夹

e.重启confluence,cd /opt/atlassian/confluence/bin,执行./startup.sh

  •      5.重新访问localhost:8090

   复制授权码并粘贴:

其他两个可以不用填写,直接点击下一步即可

后面,需要配数据库,推荐使用外部数据库,我这里用的是postgreSQL数据库

安装postgreSQL数据库参考链接:

https://blog.csdn.net/leaf_dai/article/details/92968811

选择外部数据库,postgreSQL,配置数据库连接,填定链接后,点击下一步,此过程较慢,可能需要等待两分钟

之后跳转到加载内容界面

点击示范站点,配置用户

之后配置系统管理员账户,填写用户名密码,点击下一步

这样,就可以开始使用了,点击开始。

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值