• 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本地主页了。

  • 相关阅读:
    node实现图片分割
    Windows10开启Ubuntu子系统并搭建Docker环境
    从零搭建Window前端开发环境
    apue 文章集锦
    [apue] Linux / Windows 系统上只能建立不超过 PATH_MAX / MAX_PATH 长度的路径吗?
    [apue] 一个快速确定新系统上各类限制值的工具
    [apue] sysconf 的四种返回状态
    [apue] epoll 的一些不为人所注意的特性
    一个工业级、跨平台、轻量级的 tcp 网络服务框架:gevent
    [apue] 书中关于打印服务代码的一个错误
  • 原文地址:https://www.cnblogs.com/jasonlam/p/7814709.html
Copyright © 2020-2023  润新知