一、搭建数据库 我的服务器上有数据库,就执行创建库开始了。没有的可以参考搭建数据库的文章。 依次创建库名、创建用户 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; 二、上传安装包
三、执行安装 ./atlassian-confluence-7.10.2-x64.bin 安装成功:
cp mysql-connector-java-8.0.23.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/ tar xf atlassian-agent-v1.2.3.tar.gz
四、修改配置 cd atlassian-agent-v1.2.3 ll cp atlassian-agent.jar /opt/atlassian/confluence/
vim /opt/atlassian/confluence/bin/setenv.sh 添加一行 CATALINA_OPTS="-javaagent:/opt/atlassian/confluence/atlassian-agent.jar ${CATALINA_OPTS}" 启动confluence /opt/atlassian/confluence/bin/start-confluence.sh
启动后在浏览器访问: 选择生产安装,然后》
|