【Confluence】在CentOS7上的安装小记(上)

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

 

1、安装Confluence(未破解)

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

【Confluence】在CentOS7上的安装小记(上)

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安装完毕,但是未破解。下一篇随笔把破解写了,请关注。

 

【Confluence】在CentOS7上的安装小记(上)

 

原文链接: https://www.cnblogs.com/nfuquan/p/13238177.html

欢迎关注

微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍;

也有高质量的技术群,里面有嵌入式、搜广推等BAT大佬

    【Confluence】在CentOS7上的安装小记(上)

原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/363399

非原创文章文中已经注明原地址,如有侵权,联系删除

关注公众号【高性能架构探索】,第一时间获取最新文章

转载文章受原作者版权保护。转载请注明原作者出处!

(0)
上一篇 2023年3月2日 下午2:55
下一篇 2023年3月2日 下午2:56

相关推荐