JIRA安装部署使⽤现有mysql、JAVA环境
创库授权
create database jira default character set utf8 collate utf8_bin;
CREATE USER 'jira'@'%' IDENTIFIED BY 'jira';
grant all privileges on jira.* to 'jira'@'%' identified by 'jira';
flush privileges;
show grants for jira@'%';
安装KIRA,上传.bin⽂件,chmod+x授权后执⾏
./atlassian-jira-software-8.5.1-x64.bin
替换破解⽂件,将atlassian-extras-3.2.jar mysql-connector-java-5.1.42.jar放⼊以下路径cd /opt/atlassian/jira/atlassian-jira/WEB-INF/lib
修改内存
vim /opt/atlassian/jira/bin/setenv.sh
MINIMUM=1024
MAXIMUM=4096
全新环境安装
安装mariadb JDK
yum -y install mariadb mariadb-server
systemctl start mariadb
systemctl enablemariadb
数据库配置
mysql_secure_installation
mysql_secure_installation
Enter current password for root (enter fornone):<–初次运⾏直接回车
设置密码
Set root password? [Y/n] <– 是否设置root⽤户密码,输⼊y并回车或直接回车
New password: <– 设置root⽤户的密码
Re-enter new password: <– 再输⼊⼀次你设置的密码
其他配置
mysql下载后的初次使用Remove anonymous users? [Y/n] <– 是否删除匿名⽤户,回车
Disallow root login remotely? [Y/n] <–是否禁⽌root远程登录,回车,
Remove test database and access to it?[Y/n] <– 是否删除test数据库,回车
Reload privilege tables now? [Y/n] <– 是否重新加载权限表,回车
退出重新登录ok
mysql配置⽂件修改:
接下来配置MariaDB的字符集:
-> ⾸先是配置⽂件/etc/myf,在[mysqld]标签下添加
init_connect='SET collation_connection =utf8_unicode_ci'
init_connect='SET NAMES utf8'
character-set-server=utf8
collation-server=utf8_unicode_ci
skip-character-set-client-handshake
max_allowed_packet=256M
transaction-isolation=READ-COMMITTED
接着配置⽂件/etc/myf.d/clientf,在[client]中添加
default-character-set=utf8
-> 然后配置⽂件/etc/myf.d/mysql-clientsf,在[mysql]中添加
default-character-set=utf8
安装JDK
下载后解压缩⾄/usr/local/java
配置环境变量
vim /etc/profile
export JAVA_HOME=/usr/local/java
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib
cd /usr/bin
ln -s -f  /usr/local/java/bin/javac
ln -s  -f /usr/local/java/jre/bin/java

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。