版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。


1、先更新Linux可用源

信息

    2  sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
    3  sudo wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.tencent.com/repo/centos6_base.repo
    4  sudo yum clean all
    5  sudo yum makecache

...

2、安 java jdk 

信息

    8  yum install java-1.8.0-openjdk.i686 -y
    9  java -version

3、下载wiki

 wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-7.19.7.tar.gz4、安装

4、安装wiki

  先解压
  tar xf atlassian-confluence-7.19.7.tar.gz
  改配置
  vim atlassian-confluence-7.19.7/confluence/WEB-INF/classes/confluence-init.properties
  tail -1 atlassian-confluence-7.19.7/confluence/WEB-INF/classes/confluence-init.properties 
   启动

...

  netstat -anp |grep 80905、安数据库

5、安数据库postgres

信息

yum search postgres
yum install postgresql-server.i686 -y

su postgres

initdb

pg_ctl start

psql -U postgres

ALTER USER postgres WITH PASSWORD '123456';
CREATE DATABASE confluence WITH OWNER postgres;

...