confluence 搭建总结
confluence 搭建
一、环境准备
linux 操作服务器:cnetos7
ip:128.196.126.134
port:8090
mysql数据库版本:5.7.26
confluence版本:7.2
链接:https://pan.baidu.com/s/1bzgFgzSA-sf4gWaofYaIzg
提取码:llpx
mysql驱动mysql-connector-java-8.0.23.jar
https://repo1.maven.org/maven2/mysql/mysql-connector-java/
confluence破解
atlassian-agent-v1.2.3.tar.gz
https://gitee.com/pengzhile/atlassian-agent/releases
二、安装confluence
2.1、准备好安装包,赋予执行权限
chmod +x *
[root@localhost confluence]# ll
total 700296
-rw-r--r-- 1 root root 1016719 Feb 7 10:39 atlassian-agent-v1.2.3.tar.gz
-rwxr-xr-x 1 root root 713665840 Jan 25 16:46 atlassian-confluence-7.10.2-x64.bin
-rw-r--r-- 1 root root 2415211 Feb 7 10:39 mysql-connector-java-8.0.23.jar
[root@localhost confluence]# ./atlassian-confluence-7.10.2-x64.bin
2.2、安装mysql 驱动
cp mysql-connector-java-8.0.23.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/
2.3、修改启动配置文件
[root@localhost confluence]# tar xf atlassian-agent-v1.2.3.tar.gz
[root@localhost confluence]#
[root@localhost confluence]# cd atlassian-agent-v1.2.3
[root@localhost atlassian-agent-v1.2.3]#
[root@localhost atlassian-agent-v1.2.3]#
[root@localhost atlassian-agent-v1.2.3]# ll
total 1100
-rw-r--r-- 1 501 games 974241 Oct 10 2019 atlassian-agent.jar
-rw-r--r-- 1 501 games 35149 Dec 5 2018 LICENSE
-rw-r--r-- 1 501 games 109486 Dec 10 2018 README.pdf
-rw-r--r-- 1 501 games 62 Oct 10 2019 shasum.txt
[root@localhost atlassian-agent-v1.2.3]# cp atlassian-agent.jar /opt/atlassian/confluence/
[root@localhost atlassian-agent-v1.2.3]#
[root@localhost atlassian-agent-v1.2.3]# vi /opt/atlassian/confluence/bin/setenv.sh
添加一行
CATALINA_OPTS="-javaagent:/opt/atlassian/confluence/atlassian-agent.jar ${CATALINA_OPTS}"
2.4、创建confluence数据库
create database confluence character set utf8 collate utf8_bin;
create user 'confluence'@'localhost' identified by 'Aipf@123';
grant all privileges on confluence.* to 'confluence'@'localhost';
flush privileges;
2.5、启动confluence
/opt/atlassian/confluence/bin/start-confluence.sh
三、页面操作confluence配置
url:128.196.126.134:8090
四、创建conluencr 的key
复制上面的服务器ID:BD0F-U980-Q3FQ-IUXO
java -jar /opt/atlassian/confluence/atlassian-agent.jar -p conf -m chao@6668888.com -n chao -o https://www.cnjzayuan.com -s BD0F-U980-Q3FQ-IUXO
五、key复制后,连接数据库配置
六、创建空间
6.1、配置管理用户
七、创建自己用户密码
八、总结
创建自己团队空间,可以创建自己用户组设置权限。