CentOS6 安装并破解confluence 6.4
2023-09-11 14:20:06 时间
Confluence 简介
shaonbean To grow and to help others grow. To live and to help others live DevOps is everything!
confluence是一个专业的企业知识管理与协同软件,可以用于构建企业wiki。通过它可以实现团队成员之间的协作和知识共享。
Confluence官网:https://www.atlassian.com/software/confluence 安装环境准备 jdk1.8 mysql5.6参考jira破解安装,这里笔者把Confluence和jira安装到同一台服务器,因此上面环境配置参考:http://blog.csdn.net/wh211212/article/details/76020723
为Confluence创建对应的数据库、用户名和密码mysql -uroot -p211212 -e "create database confluence default character set utf8 collate utf8_bin;grant all on confluence.* to confluence@% identified by confluencepasswd;" # 根据自己的习惯,重新定义Confluence的用户名和密码下载confluence安装文件及其破解包 Confluence下载:https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.3.1-x64.bin (当前最新版本) 链接:http://pan.baidu.com/s/1qXY29Fu 密码:1w9g # confluence-6.x 破解用jar包
这里建议直接在服务器上面通过wget下载Confluence安装文件,下载到本地的上传到服务器过程中有可能损坏安装文件导致不能正常安装
安装并破解confluence 安装confluence# 移动到confluence安装文件所在目录,执行下面命令进行安装: chmod +x atlassian-confluence-6.3.1-x64.bin sudo ./atlassian-confluence-6.3.1-x64.bin
通过上图可以看出confluence安装到了/opt/atlassian/confluence和/var/atlassian/application-data/confluence目录下,并且confluence默认监听的端口是8090.一路默认安装即可
注:confluence的主要配置文件,为/opt/atlassian/confluence/conf/server.xml,和jira类似。此server.xml相当于tomcat中的server.xml配置文件
更改前: Context path="" docBase="../confluence" debug="0" reloadable="false" 更改后: Context path="/confluence" docBase="../confluence" debug="0" reloadable="false"设置url重定向
Connector port="8090" connectionTimeout="20000" redirectPort="8443" maxThreads="48" minSpareThreads="10" enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8" protocol="org.apache.coyote.http11.Http11NioProtocol" proxyName="wiki.aniu.so" proxyPort="80"/配置nginx
server { listen wiki.aniu.so:80; server_name wiki.aniu.so; location /confluence { client_max_body_size 100m; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://localhost:8090/confluence; location /synchrony { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://localhost:8091/synchrony; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; # 配置完成重启confluence和nginx,然后通过域名:http://wiki.aniu.so/confluence 访问confluence
从上图可以看出,通过域名nginx代理confluence已经成功,这里设置为中文继续安装。
选择产品安装并点击下一步,继续安装
http://www.techlife.com.cn/?thread-2.htm
1、安装Confluence,需要KEY的时候从官网直接申请一个测试KEY 2、替换俩个文件,分别是 /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.2.jar /opt/atlassian/confluence/confluence/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.22.jar 替换前必须做备份,方便回退。 3、重启Confluence服务,正常使用产品。
替换文件, /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.2.jar # 从百度云下载破解用的jar文件,然后重启confluence
shaonbean To grow and to help others grow. To live and to help others live DevOps is everything!
相关文章
- nginx 编译安装、配置、使用
- mac安装VMware虚拟机(含序列号)及Ubuntu系统
- Mac Pro 解压安装MySQL二进制分发版 mysql-5.6.30-osx10.11-x86_64.tar.gz(不是dmg的)
- Ubuntu 14 安装并破解SSH工具 SecureCRT
- WindowsAll下安装与破解IntelliJ IDEA2017
- Resharper 安装以及破解
- jmeter全面总结-1-介绍和安装
- Axure mac 安装破解
- Atitti python2.7安装 numpy attilax总结
- 【项目实战】基于Docker安装Superset
- ubuntu16.04 安装cuda9.0+cudnn7.0.5+tensorflow+nvidia-docker配置GPU服务
- IntelliJ IDEA(2017)安装和破解
- mac os 安装 python 环境
- 你如何破解后安装PS cs6
- Elasticsearch6.5.2 X-pack破解及安装教程
- 安装apache ActiveMQ
- 电脑主机安装Ubuntu20.04,突然出现再探测文件系统一直卡住在这无法继续下去
- mac下面安装Navicat Premium 12.0.24 for mac已破解中文亲测可用
- win10下安装ubuntu子系统