码迷,mamicode.com
首页 > 其他好文 > 详细

CentOS 7 Wiki搭建

时间:2018-08-15 10:40:07      阅读:612      评论:0      收藏:0      [点我收藏+]

标签:stat   mat   ant   tar   emd   current   host   火墙   chmod   

系统环境
#cat /etc/redhat-release 
CentOS Linux release 7.4.1708 (Core) 
# uname -r
3.10.0-693.21.1.el7.x86_64

Confluence版本:5.6.6
Confluence下载地址:https://www.atlassian.com/software/confluence/download-archives
atlassian所有产品的中文语言包:https://translations.atlassian.com/dashboard/download?lang=zh_CN#/

安装

  • 关闭防火墙
# systemctl stop firewalld
# systemctl disable firewalld
  • 安装Java环境
# yum -y install java
# java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
  • 安装数据库
# yum install mariadb* -y
# systemctl start mariadb
# systemctl enable mariadb
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
# mysql_secure_installation

mysql初始化完成后登录数据

# mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.56-MariaDB MariaDB Server
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type ‘help;‘ or ‘\h‘ for help. Type ‘\c‘ to clear the current input statement.
> create database confluence default character set utf8;
> grant all on confluence.* to ‘confluenceuser‘@‘%‘ identified by ‘redhat12345‘ with grant option;
> grant all on confluence.* to ‘confluenceuser‘@localhost identified by ‘redaht12345‘ with grant option;
Query OK, 0 rows affected (0.00 sec)
> flush privileges;
Query OK, 0 rows affected (0.00 sec)
# vim /etc/my.cnf
binlog_format=mixed
# systemctl restart mariadb
  • 上传包文件:
# chmod 755 atlassian-confluence-5.6.6-x64.bin
# ./atlassian-confluence-5.6.6-x64.bin
Unpacking JRE ...
Starting Installer ...
May 18, 2018 10:57:44 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
May 18, 2018 10:57:44 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
This will install Confluence 5.6.6 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 Confluence starts up.
Launching Confluence ...
Installation of Confluence 5.6.6 is complete
Your installation of Confluence 5.6.6 is now ready and can be accessed via
your browser.
Confluence 5.6.6 can be accessed at http://localhost:8090
Finishing installation ...

技术分享图片
技术分享图片

在Windows命令行中输入命令提示“java不是内部命令”,请在oracle官网下载java并安装

技术分享图片
技术分享图片
技术分享图片

复制Key到Web安装界面点击Next

技术分享图片
技术分享图片
技术分享图片
技术分享图片
技术分享图片
技术分享图片
技术分享图片
技术分享图片

CentOS 7 Wiki搭建

标签:stat   mat   ant   tar   emd   current   host   火墙   chmod   

原文地址:http://blog.51cto.com/roben/2159998

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!