概述
1.准备
关闭firewalld、seLinux
Confluence6.7.1安装包
Confluence破解器
mysql-connector-java-5.0.8-bin.jar
jdk-8u181-linux-x64.rpm
-
安装mariadb
yum -y install mariadb mariadb-server
启动mariadb
systemctl start mariadb
设置为开机自动启动mariadb
systemctl enable mariadb
接下来进行MariaDB的相关配置,输入以下命令开启简单配置Mysql_secure_insallation
首先是设置密码,会提示先输入密码
Enter== current password for root (enter for none):<-初次运行直接回车
Set root password? [Y/n] <– 是否设置root用户密码,输入y并回车或直接回车
New password: <– 设置root用户的密码
Re-enter new password: <– 再输入一次你设置的密码
其他配置Remove anonymous users? [Y/n] <– 是否删除匿名用户,回车
Disallow root login remotely? [Y/n] <–是否禁止root远程登录,回车。
Remove test database and access to it? [Y/n] <– 是否删除test数据库,回车。
Reload privilege tables now? [Y/n] <– 是否重新加载权限表,回车。 -
配置Mariadb的字符集,为了避免在confluence中选择中⽂⽽出 现乱码
⾸先是配置⽂件/et c/my.cnf ,在[mysqld]标签下添加以下条⽬init_connect=‘SET collation_connection = utf8_unicode_ci’
init_connect=‘SET NAMES utf8’
character-set-server=utf
collation-server=utf8_unicode_ci
skip-character-set-client-handshae
接着配置⽂件/et c/my.cnf.d/client .cnf,在[==client ==]中添加default-character-set=utf8
然后配置⽂件/et c/my.cnf.d/mysql-client s.cnf,在[mysql]中添加
default-character-set=utf8
重启MariaDB,并登陆MariaDB查看字符集.
systemctl restart mariadb mysql -uroot -p
- 为Confluence创建对应的数据库、⽤户名和密码。
MariaDB [(none)]> create database confluence default character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.01 sec)
MariaDB [(none)]> grant all on confluence.* to ‘confluence’@’%’ identified by ‘confluencepasswd’;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
5.安装confluence6.7.1
chmod +x atlassian-confluence-6.7.1-x64.bin
./atlassian-confluence-6.7.1-x64.bin
Unpacking JRE … Starting
Installer … # o确定安装,c取消
This will install Confluence 6.8.5 on your computer. OK [o, Enter], Cancel [c]
o
Click Next to continue, or Cancel to exit Setup.
选择1是使用默认安装路径,2为自定义安装
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
使用默认的端口,8090和8000
Configure which ports Confluence will use.
Confluence requires two TCP ports that are not being used by any other applications on this machine. The HTTP port is where you will access Confluence through your browser. The Control port is used to Startup and Shutdown Confluence.
Use default ports (HTTP: 8090, Control: 8000) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]
1
安装为后台进程,可后台运行
Confluence can be run in the background.You may choose to run Confluence as a service, which means it will start automatically whenever the computer restarts.
Install Confluence as Service? Yes [y, Enter], No [n]
y
Extracting files …
Please wait a few moments while we configure Confluence. # 是否启动Confluence
Installation of Confluence 6.8.5 is complete Start
Confluence now?
Yes [y, Enter], No [n]
y
Please wait a few moments while Confluence starts up. Launching Confluence …
安装完成,访问本机的8090端口进行web端安装
Installation of Confluence 6.8.5 is complete
Your installation of Confluence 6.8.5 is now ready and can be accessed via your browser.
Confluence 6.8.5 can be accessed at http://localhost:8090
Finishing installation …
-
浏览器访问 http://ip:8090
选择中⽂ -
使⽤破解⼯具
service confluence stop
cp /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras- decoder-v2-3.3.0.jar /opt/atlassian-extras-decoder-v2-3.3.0.jar.bak #备份
mv /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras- decoder-v2-3.3.0.jar /opt/atlassian-extras-2.4.jar
将atlassian-extras-2.4.jar,下载的windows 运行破解器confluence_keygen.jar
① 打开下载的破解工具,运行confluence_keygen.jar
②将记录的server ID填入,Name随便填。
③点击gen, 生成key并记录。
④点击patch,选择刚下传到本地的atlassian-extras-2.4.jar文件进行破解。
先点gen,再运⾏pat ch
- 将破解后的⽂件传回服务器
mv atlassian-extras-2.4.jar atlassian-extras-decoder-v2-3.3.0.jar
mv atlassian-extras-decoder-v2-3.3.0.jar
/opt/atlassian/confluence/confluence/WEB-INF/lib/
-
配置修改mysql并上传mysql驱动
cp mysql-connector-java-5.1.46-bin.jar/opt/atlassian/confluence/lib/ -
重启service confluence start
10在网页中输入key
11配置数据库
12.confluence的使用
最后
以上就是笑点低大米为你收集整理的confluence安装选择1是使用默认安装路径,2为自定义安装使用默认的端口,8090和8000安装为后台进程,可后台运行安装完成,访问本机的8090端口进行web端安装的全部内容,希望文章能够帮你解决confluence安装选择1是使用默认安装路径,2为自定义安装使用默认的端口,8090和8000安装为后台进程,可后台运行安装完成,访问本机的8090端口进行web端安装所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复