1 安装企业wiki:confluence

使用wget下载命令下载文件。

下载成功使用dir可以看到文件目录

[root@localhost usr]# dir
atlassian-confluence-6.3.1-x64.bin  bin  etc  games  include  lib  lib64  libexec  local  sbin    share  src  tmp

验证文件是否已经下载成功,可以看一下包的大小
[root@localhost usr]# du atlassian-confluence-6.3.1-x64.bin -a
590284    atlassian-confluence-6.3.1-x64.bin

安装confluence
[root@localhost usr]# chmod +x atlassian-confluence-6.3.1-x64.bin
[root@localhost usr]# sudo ./atlassian-confluence-6.3.1-x64.bin
Unpacking JRE ...
Starting Installer ...
Nov 09, 2017 9:25:31 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Nov 09, 2017 9:25:31 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.

This will install Confluence 6.3.1 on your computer.
OK [o, Enter], Cancel [c]
o
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]
i

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 ...


到此。就安装完成了

curl localhost:8090。如果返回正常结果,则表示安装成功。

或者用局域网另一台桌面电脑访问 http://xxxxIP:8090能看到confluence的页面,则表示安装成功

如果无法访问,可以尝试处理一下防火墙

关闭防火墙
[root@localhost usr]# systemctl stop firewalld.service

查看防火墙状态
[root@localhost usr]# firewall-cmd --state
not running

禁用防火墙(防止重启系统后,防火墙又自动打开了)
[root@localhost usr]# systemctl disable firewalld.service
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

至此。应该能正常访问confluence本地主页了。

原文地址:https://www.cnblogs.com/jasonlam/p/7814709.html