#rpm -ivh jdk-8u91-linux-x64.rpm
#vi /etc/profile
export JAVA_HOME=/usr/java/jdk1.8.0_91
export JAVA_BIN=/usr/java/jdk1.8.0_91/bin
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME JAVA_BIN PATH CLASSPATH
# .source /etc/profile
安装步骤:http://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/
下载源地址:http://dev.mysql.com/downloads/repo/yum/
# mysql57-community-release-el5-7.noarch.rpm
查看mysql开启和启用版本
#yum repolist all | grep mysql –默认mysql5.7是开启的
# vi /etc/yum.repos.d/mysql-community.repo
Mysql5.6修改 enabled=1为启用
>Mysql5.7修改 enabled=0不启用
修改之后查看mysql版本,
#yum repolist all | grep mysql –可以看到mysql5.6已开启
#sudo yum install mysql-community-server
# sudo service mysqld start
#sudo service mysqld status
#mysql_secure_installation
#create database jiradb character set utf8 collate utf8_bin;
#create user jirauser identified by ' zsm_0011 ';
#grant all on jiradb.* to jira@"%" identified by "zsm_0011";
#grant all on jiradb.* to jira@"localhost" identified by "zsm_0011";
#flush privileges; --刷新,让权限生效
#create database confluencedb character set utf8 collate utf8_bin;
#grant all on confluencedb.* to confluence@"%" identified by "zsm_0011";
#grant all on confluencedb.* to confluence@"localhost" identified by "zsm_0011";
#flush privileges;
#./atlassian-jira-software-7.1.4-jira-7.1.4-x64.bin(如果没有权限chmod +x添加执行权限)
将mysql-connector-java-5.1.38-bin.jar添加到/opt/atlassian/jira/lib
#./stop-jira.sh
#./start-jira.sh
破解:atlassian-extras-3.1.2.jar添加到/opt/atlassian/jira/atlassian-jira/WEB-INF/lib
汉化:jira-language-pack-zh_CN-2969625925248334350.jar添加到/opt/atlassian/jira/atlassian-jira/WEB-INF/lib
重启jiar使之生效