zoukankan      html  css  js  c++  java
  • 【Confluence】在CentOS7上的安装小记(上)

    参考:https://www.cnblogs.com/lei0213/p/10941598.html,文中有多处命令错误,这里我已经纠正,直接按照我的顺序撸完即可。

    1、安装Confluence(未破解)

    下载有关安装包:链接: https://pan.baidu.com/s/1zfkTubVFXcPOZP2dHMIQrg 密码: vhn3

    yum install -y gcc gcc-c++ vim wget
    vi /etc/yum.repos.d/MariaDB.repo
    #添加如下内容
    [mariadb] name
    = MariaDB baseurl = http://mirrors.aliyun.com/mariadb/yum/10.1/centos7-amd64/ gpgkey = http://mirrors.aliyun.com/mariadb/yum/RPM-GPG-KEY-MariaDB gpgcheck = 1
    yum clean all
    yum -y install MariaDB-server MariaDB-client mysql-devel
    systemctl start mariadb
    systemctl enable mariadb
    mysqladmin -uroot password '你的密码'
    vi /etc/my.conf
    [mysqld]
    datadir=/var/lib/mysql
    socket=/var/lib/mysql/mysql.sock
    default-storage-engine=innodb
    innodb_log_file_size=2GB
    character-set-server=utf8
    collation-server=utf8_bin
    max_allowed_packet=512M
    binlog_format=row
    transaction-isolation=READ-COMMITTED
    symbolic-links=0
     
    [mysqld_safe]
    log-error=/var/log/mariadb/mariadb.log
    pid-file=/var/run/mariadb/mariadb.pid
    !includedir /etc/my.cnf.d
    vi /etc/my.cnf.d/client.cnf
    [client]
    default-character-set=utf8
    systemctl start mariadb
    mysql -u root -p  输入刚才设置的root密码
    create database confluence default character set utf8 collate utf8_bin;

    grant all on confluence.* to '你的用户名'@'%' identified by '你的密码' with grant option;

    grant all on confluence.* to '你的用户名'@localhost identified by '你的密码' with grant option;

    update mysql.user set Create_routine_priv='Y' where user='你的用户名';

    flush privileges;
    SET GLOBAL tx_isolation='READ-COMMITTED';
    chmod +x /opt/atlassian-confluence-6.7.1-x64.bin #添加执行权限
    cd /opt
    ./atlassian-confluence-6.7.1-x64.bin

    上述方法就已经将confluence安装完毕,但是未破解。下一篇随笔把破解写了,请关注。

  • 相关阅读:
    stata如何建立交互项
    PSM的stata实现
    Stata结果输出:outreg2命令详解
    stata固定效应
    【C++/Qt】cmake生成可执行文件流程(Windows/Linux)
    【数学相关】概率论手写笔记
    【搜索】dfs&bfs
    【C/C++】对拍教程
    【MySQL】MySQL基础操作(下)
    【Linux】ubuntu初始配置
  • 原文地址:https://www.cnblogs.com/nfuquan/p/13238177.html
Copyright © 2011-2022 走看看