{"id":753,"date":"2016-12-20T13:53:22","date_gmt":"2016-12-20T13:53:22","guid":{"rendered":"https:\/\/peloo.net\/?p=753"},"modified":"2022-03-07T14:48:03","modified_gmt":"2022-03-07T22:48:03","slug":"jiraconfluence%e9%9b%86%e6%88%90%e7%8e%af%e5%a2%83%e7%9a%84%e6%90%ad%e5%bb%ba","status":"publish","type":"post","link":"https:\/\/peloo.net\/?p=753","title":{"rendered":"Jira+Confluence\u96c6\u6210\u73af\u5883\u7684\u642d\u5efa\uff08\u654f\u6377Agile\uff09"},"content":{"rendered":"<p><span style=\"font-size: 16px\">\u00a0\u00a0<img decoding=\"async\" src=\"https:\/\/peloo.net\/wp-content\/uploads\/2016\/12\/JIRA.png\" alt=\"\" \/><\/span><\/p>\n<p><span style=\"font-size: 16px\">\u00a0\u00a0<\/span><span style=\"font-size: 18px\">\u00a0 \u516c\u53f8\u51c6\u5907\u5b9e\u884c\u654f\u6377\u5f00\u53d1\uff0c\u7ecf\u8fc7\u4e00\u756a\u5de5\u5177\u9009\u62e9\uff0c\u6700\u7ec8\u9009\u5b9a\u4e86jira\u548cconfluence\uff0cjira\u7528\u4f5c\u9879\u76ee\u7ba1\u7406\uff0cconfluence\u7528\u4e8e\u6587\u6863\u7ba1\u7406\uff0c\u4e0b\u9762\u8bf4\u8bf4\u8fd9\u4e24\u4e2a\u7cfb\u7edf\u7684\u642d\u5efa\u8fc7\u7a0b\u548c\u96c6\u6210\u8bbe\u7f6e\u3002<\/span><\/p>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><strong>\u4e00\u3001\u8f6f\u786c\u4ef6\u51c6\u5907<\/strong><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">1 \u00a0jira7.2.6\u8f6f\u4ef6 \u00a0<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span>\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740 \u00a0<a href=\"https:\/\/downloads.atlassian.com\/software\/jira\/downloads\/atlassian-jira-software-7.2.6.tar.gz\">https:\/\/downloads.atlassian.com\/software\/jira\/downloads\/atlassian-jira-software-7.2.6.tar.gz<\/a><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span>\u5907\u7528\u4e0b\u8f7d\u5730\u5740 \u00a0https:\/\/peloo.net\/download\/jira\/atlassian-jira-software-7.2.6.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">2 \u00a0jdk1.8.0_112 \u00a0\u4e0b\u8f7d\u9875\u9762 \u00a0<a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\">http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html<\/a><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0 \u5907\u7528\u4e0b\u8f7d\u5730\u5740 \u00a0<span style=\"line-height: 1.6\">https:\/\/peloo.net\/download\/jdk\/jdk-8u112-linux-x64.tar.gz<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">3 \u00a0confluence5.10.8 \u00a0<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span>\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740 \u00a0<a href=\"https:\/\/downloads.atlassian.com\/software\/confluence\/downloads\/atlassian-confluence-5.10.8.tar.gz\">https:\/\/downloads.atlassian.com\/software\/confluence\/downloads\/atlassian-confluence-5.10.8.tar.gz<\/a><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span>\u5907\u7528\u4e0b\u8f7d\u5730\u5740 \u00a0https:\/\/peloo.net\/download\/jira\/atlassian-confluence-5.10.8.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">4 \u00a0mysql-server 5.6.34 \u00a0\u4e0b\u8f7d\u5730\u5740 \u00a0 http:\/\/cdn.mysql.com\/\/Downloads\/MySQL-5.6\/mysql-5.6.34.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">5 \u00a0mysql-connector jar\u5305 \u00a0<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 MySQL<\/span>\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740 \u00a0http:\/\/120.52.72.23\/cdn.mysql.com\/c3pr90ntc0td\/\/Downloads\/Connector-J\/mysql-<span style=\"line-height: 1.6\">connector-java-5.1.40.tar.gz<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span>\u5907\u7528\u4e0b\u8f7d\u5730\u5740 \u00a0https:\/\/peloo.net\/download\/db\/mysql-connector-java-5.1.40.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">6 \u00a0\u64cd\u4f5c\u7cfb\u7edf \u00a0CentOS6.X<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">7 \u00a0\u670d\u52a1\u5668\u4e24\u53f0\uff0c\u5f3a\u70c8\u5efa\u8bae\u72ec\u7acb\u7269\u7406\u673a\uff0c\u672c\u4eba\u7684\u670d\u52a1\u5668ip\u5730\u5740\u5206\u522b\u4e3a172.25.0.105\u548c172.25.0.107\uff0c\u5206\u522b\u90e8\u7f72jira\u548cconfluence<\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><strong>\u4e8c\u3001\u57fa\u7840\u73af\u5883\u642d\u5efa<\/strong><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">1 \u00a0Java\u73af\u5883\u5b89\u88c5\u4e0e\u914d\u7f6e<\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">#\u4e24\u53f0\u670d\u52a1\u5668\u5747\u914d\u7f6e\u76f8\u540c\u7684Java\u73af\u5883\uff0c\u5e76\u4e14jira\u548cconfluence\u8981\u6c42\u7684jdk\u7248\u672c\u90fd\u662f1.8.x\uff0c\u8fd9\u91cc\u4ee5\u4e00\u53f0\u670d\u52a1\u5668\u7684\u914d\u7f6e\u4e3a\u4f8b<\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u5230\u4e0a\u6587\u63d0\u5230\u7684oracle\u5b98\u7f51\u94fe\u63a5\u4e0b\u8f7djdk1.8.0_112\u7248\u672c\u5230\/tmp\u76ee\u5f55\u4e0b\uff0c\u4e5f\u53ef\u4ee5\u7528\u5982\u4e0b\u547d\u4ee4\u4e0b\u8f7d\uff0c\u901f\u5ea6\u7a0d\u6162<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 wget -c -P \/tmp\u00a0<\/span>https:\/\/peloo.net\/download\/jdk\/jdk-8u112-linux-x64.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">cd \/tmp<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">tar zxvf\u00a0<span style=\"line-height: 1.6\">jdk-8u112-linux-x64.tar.gz<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 \\cp -av\u00a0jdk-8u112-linux-x64\/ \/opt\/<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u8bbe\u7f6ejdk\u76ee\u5f55\u4e3aroot\u6240\u6709<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 chown -R root.root \/opt\/jdk1.8.0_112<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 chmod -R 755 \/opt\/jdk1.8.0_112<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u7f16\u8f91\/etc\/profile\u6587\u4ef6\uff0c\u6dfb\u52a0\u6216\u4fee\u6539\u5982\u4e0b\u73af\u5883\u53d8\u91cf\uff0c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0<i>\u00a0JAVA_HOME=\/opt\/jdk1.8.0_112<\/i><\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><span style=\"line-height: 1.6\">JRE_HOME=$JAVA_HOME\/jre<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><span style=\"line-height: 1.6\">CLASSPATH=$JAVA_HOME\/lib:$JRE_HOME\/lib<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><span style=\"line-height: 1.6\">PATH=$JAVA_HOME\/bin:$JRE_HOME\/bin:\/usr\/local\/php56\/bin:\/usr\/local\/mysql\/bin:$PATH<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><span style=\"line-height: 1.6\">export JAVA_HOME JRE_HOME CLASSPATH PATH<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u751f\u6548\u6dfb\u52a0\u7684\u73af\u5883\u53d8\u91cf\uff0c\u751f\u6548\u540e\u6240\u6709\u7528\u6237\u90fd\u6709\u6dfb\u52a0\u7684\u73af\u5883\u53d8\u91cf\uff0c\u82e5\u9700\u8981\u7279\u5b9a\u7528\u6237\u8fd0\u884c\u6307\u5b9a\u7248\u672c\u7684jdk\uff0c\u5219\u7f16\u8f91\u7528\u6237\u5bb6\u76ee\u5f55\u4e0b\u7684~\/.bash_profile\u6dfb\u52a0\u4ee5\u4e0a\u53d8\u91cf<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 source \/etc\/profile<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">2 \u00a0MySQL\u670d\u52a1\u5668\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u6ce8\uff1a\u4e24\u53f0\u670d\u52a1\u5668\u5747\u5b89\u88c5MySQL\u670d\u52a1\u5668\uff0c\u516c\u53f8DBA\u914d\u7f6e\u7684MySQL\u53ef\u80fd\u53c2\u6570\u8fc7\u591a\uff0c\u6709\u4e9b\u53c2\u6570\u4e0ejira\u3001confluence\u7684\u7a0b\u5e8f\u51b2\u7a81\uff0c\u672c\u4eba\u6df1\u53d7\u5176\u82e6\uff0cconfluence\u7528\u7684\u662fDBA\u914d\u7f6e\u7684\u6570\u636e\u5e93\uff0c\u4f46\u662f\u5b89\u88c5\u5b8cconfluence\u540e\uff0c\u603b\u662f\u518d\u521b\u5efa\u6587\u4ef6\u7684\u65f6\u5019\u65e0\u9650\u8f6c\u5708\uff0c\u6700\u540e\u5728172.25.0.107\u4e0a\u5355\u72ec\u90e8\u7f72MySQL\u624d\u89e3\u51b3\u95ee\u9898<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u82e5\u7cfb\u7edf\u5df2\u901a\u8fc7yum\u65b9\u5f0f\u5b89\u88c5\u5176\u4ed6\u7248\u672c\u7684MySQL\uff0c\u5219\u7528\u4ee5\u4e0b\u547d\u4ee4\u5378\u8f7d<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 yum remove -y `rpm -qa | grep -i mysql`<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0 #\u5b89\u88c5\u7f16\u8bd1\u6240\u9700\u4f9d\u8d56\u8f6f\u4ef6<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0yum install -y cmake gcc gcc-c++ gcc-g77 autoconf automake zlib* fiex* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel* glibc<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u6dfb\u52a0mysql\u7ec4\u548c\u7528\u6237<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0groupadd mysql<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0useradd -r -g mysql -s \/bin\/false mysql<\/span><\/span><\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0 #\u65b0\u5efaMySQL\u5de5\u7a0b\u4e3b\u76ee\u5f55\/usr\/local\/mysql\u548c\u6570\u636e\u76ee\u5f55\/usr\/local\/mysql\/data<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0 mkdir -p \/usr\/local\/mysql\/data<\/span><\/span><\/div>\n<p><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #\u4e0b\u8f7dmysql-server\u8f6f\u4ef6\u4ecb\u8d28\u5e76\u89e3\u538b<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 wget -c -P \/tmp\u00a0<a href=\"http:\/\/cdn.mysql.com\/\/Downloads\/MySQL-5.6\/mysql-5.6.34.tar.gz\">http:\/\/cdn.mysql.com\/\/Downloads\/MySQL-5.6\/mysql-5.6.34.tar.gz<\/a><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 cd \/tmp<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 tar zxvf mysql-5.6.34.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u5f00\u59cb\u6700\u5173\u952e\u7684\u4e00\u6b65\uff0c\u7f16\u8bd1\u548c\u5b89\u88c5\uff0c\u5982\u679c\u9047\u5230\u9519\u8bef\uff0c\u767e\u5ea6\u89e3\u51b3\uff0c\u540e\u6587\u4e5f\u6709\u4e9bFAQ<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0cd \/tmp\/mysql-5.6.34<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0cmake -DCMAKE_INSTALL_PREFIX=<\/span><span style=\"line-height: 1.6;color: #ff0000\">\/usr\/local\/mysql<\/span><span style=\"line-height: 1.6\">\u00a0\\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DMYSQL_UNIX_ADDR=<\/span><span style=\"line-height: 1.6;color: #ff0000\">\/usr\/local\/mysql\/data\/mysql.sock<\/span><span style=\"line-height: 1.6\">\u00a0\\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DDEFAULT_CHARSET=<\/span><span style=\"line-height: 1.6;color: #ff0000\">utf8<\/span><span style=\"line-height: 1.6\">\u00a0\\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DDEFAULT_COLLATION=utf8_general_ci \\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DWITH_EXTRA_CHARSETS:STRING=utf8,gbk \\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DWITH_MYISAM_STORAGE_ENGINE=1 \\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DWITH_INNOBASE_STORAGE_ENGINE=1 \\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DWITH_MEMORY_STORAGE_ENGINE=1 \\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DWITH_READLINE=1 \\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DENABLED_LOCAL_INFILE=1 \\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DMYSQL_DATADIR=<\/span><span style=\"line-height: 1.6;color: #ff0000\">\/usr\/local\/mysql\/data<\/span><span style=\"line-height: 1.6\">\u00a0\\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DMYSQL_USER=mysql \\<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0-DMYSQL_TCP_PORT=<\/span><span style=\"line-height: 1.6;color: #ff0000\">3306<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0make<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0make install<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u5b89\u5168\u8d77\u89c1\uff0c\u8bbe\u7f6eMySQL\u4e3b\u76ee\u5f55\u548c\u6570\u636e\u76ee\u5f55\u6743\u9650<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0chown -R root \/usr\/local\/mysql<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0chown -R mysql \/usr\/local\/mysql\/data<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #\u5982\u679c\u7f16\u8bd1\u5b89\u88c5\u901a\u8fc7\uff0c\u606d\u559c\u4f60\uff0c\u5f00\u59cb\u6267\u884c\u521d\u59cb\u5316\u6570\u636e\u5e93\u811a\u672c<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0sh scripts\/mysql_install_db.sh \u00a0--user=mysql \u00a0--basedir=\/usr\/local\/mysql --datadir=\/usr\/local\/mysql\/data<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0 #\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u5e76\u751f\u6548<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0echo 'export PATH=\/usr\/local\/mysql\/bin:$PATH' &gt;&gt; \/etc\/profile<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0source \/etc\/profile<\/span><\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u62f7\u8d1dMySQL\u63d0\u4f9b\u7684my.cnf\u914d\u7f6e\u6587\u4ef6\u5230\/etc\u76ee\u5f55\u4e0b<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\\cp \/tmp\/<\/span><span style=\"line-height: 25px\">mysql-5.6.34\/<\/span><span style=\"line-height: 1.6\">support-files\/my-default.cnf \/etc\/my.cnf<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u4fee\u6539MySQL\u914d\u7f6e\u6587\u4ef6\/etc\/my.cnf\uff0c\u4e3b\u8981\u662fsocket\u3001data\u76ee\u5f55\u3001\u4e3b\u76ee\u5f55\uff0c\u8fd9\u91cc\u7ed9\u51fa\u4e2a\u5b9e\u4f8b\uff0c\u4eb2\u6d4b\u53ef\u6b63\u5e38\u8fd0\u884c\uff0c\u76f4\u63a5\u6e05\u7a7a\u539f\u6765\u7684\u6587\u4ef6\u5185\u5bb9\uff0c\u62f7\u8d1d\u4e0b\u9762\u7684\u5185\u5bb9\u5373\u53ef<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\"><i><span style=\"color: #0000ff\"># Example MySQL config file for medium systems.<\/span><\/i><\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># This is for a system with little memory (32M - 64M) where MySQL plays<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># an important part, or systems up to 128M where MySQL is used together with<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># other programs (such as a web server)<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># MySQL programs look for option files in a set of<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># locations which depend on the deployment platform.<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># You can copy this option file to one of those<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># locations. For information about these locations, see:<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># http:\/\/dev.mysql.com\/doc\/mysql\/en\/option-files.html<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># In this file, you can use all long options that a program supports.<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># If you want to know which options a program supports, run the program<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># with the \"--help\" option.<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># The following options will be passed to all MySQL clients<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">[client]<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#password\u00a0\u00a0\u00a0 = your_password<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">port\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = 3306<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">socket\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = \/usr\/local\/mysql\/data\/mysql.sock<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">default-character-set=utf8<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># Here follows entries for some specific programs<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># The MySQL server<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\">\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">[mysqld]<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">datadir=\/usr\/local\/mysql\/data<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">basedir=\/usr\/local\/mysql<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">port\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = 3306<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">socket\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = \/usr\/local\/mysql\/data\/mysql.sock<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">skip-external-locking<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">key_buffer_size = 16M<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">max_allowed_packet = 256M<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">table_open_cache = 64<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">sort_buffer_size = 512K<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">net_buffer_length = 8K<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">read_buffer_size = 256K<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">read_rnd_buffer_size = 512K<\/span><\/span><\/i><\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">myisam_sort_buffer_size = 8M<\/span><\/span><\/i><\/div>\n<div>\n<div><span style=\"color: #ff0000\"><i>innodb_log_file_size = 512M \u00a0# \u00a0\u8fd9\u4e2a\u503c\u4f9d\u636e\u4f60\u7684\u5185\u5b58\u5927\u5c0f\u800c\u5b9a\uff0c\u5343\u4e07\u8981\u6ce8\u610f\u3002\u00a0<\/i><\/span><\/div>\n<div><i>innodb_file_per_table = ON<\/i><\/div>\n<\/div>\n<div><i><span style=\"color: #0000ff\"><span style=\"font-size: 1rem\">default_storage_engine=InnoDB<\/span><\/span><\/i><\/div>\n<p><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/p>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># Don't listen on a TCP\/IP port at all. This can be a security enhancement,<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># if all processes that need to connect to mysqld run on the same host.<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># All interaction with mysqld must be made via Unix sockets or named pipes.<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># Note that using this option without enabling named pipes on Windows<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># (via the \"enable-named-pipe\" option) will render mysqld useless!<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#skip-networking<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># Replication Master Server (default)<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># binary logging is required for replication<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">log-bin=mysql-bin<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># binary logging format - mixed recommended<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">binlog_format=mixed<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># required unique id between 1 and 2^32 - 1<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># defaults to 1 if master-host is not set<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># but will not function as a master if omitted<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#server-id\u00a0\u00a0\u00a0 = 1<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># Replication Slave (comment out master section to use this)<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># To configure this host as a replication slave, you can choose between<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># two methods :<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># 1) Use the CHANGE MASTER TO command (fully described in our manual) -<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 the syntax is:<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 CHANGE MASTER TO MASTER_HOST=&lt;host&gt;, MASTER_PORT=&lt;port&gt;,<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 MASTER_USER=&lt;user&gt;, MASTER_PASSWORD=&lt;password&gt; ;<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 where you replace &lt;host&gt;, &lt;user&gt;, &lt;password&gt; by quoted strings and<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 &lt;port&gt; by the master's port number (3306 by default).<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 Example:<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 MASTER_USER='joe', MASTER_PASSWORD='secret';<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># OR<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># 2) Set the variables below. However, in case you choose this method, then<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 start replication for the first time (even unsuccessfully, for example<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 if you mistyped the password in master-password and the slave fails to<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 connect), the slave will create a master.info file, and any later<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 change in this file to the variables' values below will be ignored and<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 overridden by the content of the master.info file, unless you shutdown<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 the slave server, delete master.info and restart the slaver server.<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 For that reason, you may want to leave the lines below untouched<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#\u00a0\u00a0\u00a0 (commented) and instead use CHANGE MASTER TO (see above)<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># required unique id between 2 and 2^32 - 1<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># (and different from the master)<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># defaults to 2 if master-host is set<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># but will not function as a slave if omitted<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#server-id\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = 2<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># The replication master for this slave - required<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#master-host\u00a0\u00a0\u00a0\u00a0 =\u00a0\u00a0 &lt;hostname&gt;<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># The username the slave will use for authentication when connecting<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># to the master - required<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#master-user\u00a0\u00a0\u00a0\u00a0 =\u00a0\u00a0 &lt;username&gt;<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># The password the slave will authenticate with when connecting to<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># the master - required<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#master-password =\u00a0\u00a0 &lt;password&gt;<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># The port the master is listening on.<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># optional - defaults to 3306<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#master-port\u00a0\u00a0\u00a0\u00a0 =\u00a0 &lt;port&gt;<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># binary logging - not required for slaves, but recommended<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">log-bin=mysql-bin<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># Uncomment the following if you are using InnoDB tables<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#innodb_data_home_dir = \/usr\/local\/mysql\/data<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#innodb_data_file_path = ibdata1:10M:autoextend<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#innodb_log_group_home_dir = \/usr\/local\/mysql\/data<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># You can set .._buffer_pool_size up to 50 - 80 %<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># of RAM but beware of setting memory usage too high<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#innodb_buffer_pool_size = 1224M<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#innodb_additional_mem_pool_size = 2M<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># Set .._log_file_size to 25 % of buffer pool size<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#innodb_log_file_size = 56M<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#innodb_log_buffer_size = 8M<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#innodb_flush_log_at_trx_commit = 1<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#innodb_lock_wait_timeout = 50<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">innodb_file_per_table = ON<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">[mysqldump]<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">quick<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">max_allowed_packet = 16M<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">[mysql]<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">no-auto-rehash<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\"># Remove the next comment character if you are not familiar with SQL<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">#safe-updates<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">[myisamchk]<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">key_buffer_size = 20M<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">sort_buffer_size = 20M<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">read_buffer = 2M<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">write_buffer = 2M<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">\u00a0<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">[mysqlhotcopy]<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><i><span style=\"color: #0000ff\">interactive-timeout<\/span><\/i><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u6dfb\u52a0MySQL\u4e3a\u7cfb\u7edf\u670d\u52a1<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\\cp \/tmp\/<\/span><span style=\"line-height: 25px\">mysql-5.6.34\/<\/span><span style=\"line-height: 1.6\">support-files\/mysql.server \/etc\/init.d\/mysqld<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0chmod +x \/etc\/init.d\/mysqld<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u542f\u52a8MySQL\u670d\u52a1\u5668\uff0c\u53c8\u662f\u5173\u952e\u7684\u4e00\u6b65\uff0c\u5982\u679c\u62a5\u9519\uff0c\u4e0b\u6587\u6709\u4e9b\u5e38\u89c1\u9519\u8bef\u7684\u89e3\u51b3\u65b9\u6cd5<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0service mysqld start<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u8fd0\u884cmysql\u547d\u4ee4\uff0c\u8fdb\u5165MySQL\u547d\u4ee4\u884c\uff0c\u521b\u5efajira\u548cconfluence\u6570\u636e\u5e93\u5e76\u914d\u7f6e\u5b57\u7b26\u96c6\u548ccollation<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;create database jira;<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;alter database jira default character set utf8 collate utf8_bin;<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;create database confluence;<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;alter database confluence default character set utf8 collate utf8_bin;<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0<\/span>#\u4fee\u6539confluence\u6570\u636e\u5e93\u7684\u4e24\u4e2a\u53c2\u6570<span style=\"line-height: 1.6\">max_allowed_packet\u4e3a512M\uff0cinnodb_log_file_size\u4e3a2G\uff0c\u4e0b\u9762\u7684sql\u8bed\u53e5\u53ef\u5373\u65f6\u751f\u6548\uff0c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0mysql&gt; SET GLOBAL max_allowed_packet=536870912;<\/span><\/span><\/div>\n<p><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 mysql&gt; SET GLOBAL\u00a0innodb_log_file_size=2147483648;<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 ##\u9700\u8981\u6c38\u4e45\u751f\u6548\uff0c\u53ef\u4fee\u6539my.cnf\u6587\u4ef6\uff0c\u6dfb\u52a0\u4e24\u4e2a\u53c2\u6570\u5982\u4e0b\uff0c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">[mysqld]<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">......<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">......<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\"># of RAM but beware of setting memory usage too high<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">#innodb_buffer_pool_size = 1224M<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">#innodb_additional_mem_pool_size = 2M<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"># Set .._log_file_size to 25 % of buffer pool size<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"color: #ff0000\">innodb_log_file_size = 2G<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">#innodb_log_buffer_size = 8M<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">#innodb_flush_log_at_trx_commit = 1<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">#innodb_lock_wait_timeout = 50<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">innodb_file_per_table = ON<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">[mysqldump]<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">quick<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"color: #ff0000\">max_allowed_packet = 512M<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u521b\u5efajira\u7528\u6237\u5e76\u8d4b\u4e88\u62e5\u6709\u6570\u636e\u5e93jira\u7684\u6240\u6709\u6743\u9650\uff0c\u8fd9\u91cc\u7684\u5bc6\u7801\u7edf\u4e00\u8bbe\u7f6e\u4e3a123456\uff0c\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u5bc6\u7801\u590d\u6742\u4e9b<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;CREATE USER 'jira'@'localhost' IDENTIFIED BY \u2018123456\u2019;<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;UPDATE mysql.user SET PASSWORD=PASSWORD('123456') WHERE User='jira';<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;GRANT ALL PRIVILEGES ON jira.* TO jira@'localhost';<\/span><\/span><\/div>\n<p><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u521b\u5efaconfluence\u7528\u6237\u5e76\u8d4b\u4e88\u62e5\u6709\u6570\u636e\u5e93confluence\u7684\u6240\u6709\u6743\u9650<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px;font-size: 15px;line-height: 24px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;CREATE USER 'confluence'@'localhost' IDENTIFIED BY \u2018123456\u2019;<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;UPDATE mysql SET PASSWORD=PASSWORD('123456') WHERE User='confluence';<\/span><\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;GRANT ALL PRIVILEGES ON confluence.* TO confluence@'localhost';\u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mysql&gt;FLUSH PRIVILEGES;\u00a0\u00a0<\/span><\/span><\/div>\n<p><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">MySQL\u542f\u52a8\u62a5\u9519failed to update pid file\uff0c\u672c\u4eba\u9047\u5230\u6b64\u79cd\u60c5\u51b5\uff0c\u6700\u6709\u6548\u7684\u89e3\u51b3\u65b9\u6cd5\uff1a<\/span><\/span><\/p>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u5220\u9664mysql\u4e3b\u76ee\u5f55\u4e0b\u7684data\u76ee\u5f55\u6240\u6709\u6587\u4ef6\u548c\u6587\u4ef6\u5939\uff0c\u91cd\u65b0\u8fd0\u884c\u521d\u59cb\u5316\u811a\u672cmysql_install_db.sh<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u5176\u4ed6<span style=\"line-height: 1.6\">\u95ee\u9898\u53ef\u80fd\u7684\u539f\u56e0\u6709\u591a\u79cd\uff0c\u5177\u4f53\u4ec0\u4e48\u539f\u56e0\u6700\u597d\u7684\u529e\u6cd5\u662f\u5148\u67e5\u770b\u4e0b\u9519\u8bef\u65e5\u5fd7\uff0c\u5e38\u89c1FAQ\u5982\u4e0b\uff0c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\uff081\uff09\u53ef\u80fd\u662f\/usr\/local\/mysql\/data\/mysql.pid\u6587\u4ef6\u6ca1\u6709\u5199\u7684\u6743\u9650<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u89e3\u51b3\u65b9\u6cd5 \uff1a\u7ed9\u4e88\u6743\u9650\uff0c\u6267\u884c \u201cchown -R mysql:mysql \/var\/data\u201d \u201cchmod -R 755 \/usr\/local\/mysql\/data\u201d\u00a0 \u7136\u540e\u91cd\u65b0\u542f\u52a8mysqld\uff01<\/span><\/span><\/p>\n<p><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\uff082\uff09\u53ef\u80fd\u8fdb\u7a0b\u91cc\u5df2\u7ecf\u5b58\u5728mysql\u8fdb\u7a0b<\/span><\/span><\/p>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u89e3\u51b3\u65b9\u6cd5\uff1a\u7528\u547d\u4ee4\u201cps -ef|grep mysqld\u201d\u67e5\u770b\u662f\u5426\u6709mysqld\u8fdb\u7a0b\uff0c\u5982\u679c\u6709\u4f7f\u7528\u201ckill -9\u00a0 \u8fdb\u7a0b\u53f7\u201d\u6740\u6b7b\uff0c\u7136\u540e\u91cd\u65b0\u542f\u52a8mysqld\uff01<\/span><\/span><\/p>\n<p><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 <\/span><b>\uff083\uff09\u53ef\u80fd\u662f\u7b2c\u4e8c\u6b21\u5728\u673a\u5668\u4e0a\u5b89\u88c5mysql\uff0c\u6709\u6b8b\u4f59\u6570\u636e\u5f71\u54cd\u4e86\u670d\u52a1\u7684\u542f\u52a8\u3002<\/b><\/span><\/p>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 <\/span><b>\u89e3\u51b3\u65b9\u6cd5\uff1a\u53bbmysql\u7684\u6570\u636e\u76ee\u5f55\/data\u4e0b\u7684\u5185\u5bb9\u770b\u770b\uff0c\u5982\u679c\u5b58\u5728mysql-bin.index\uff0c\u5c31\u8d76\u5feb\u628a\u5b83\u5220\u9664\u6389\u5427\uff0c\u5b83\u5c31\u662f\u7f6a\u9b41\u7978\u9996\u4e86\u3002\u672c\u4eba\u5c31\u662f\u4f7f\u7528\u7b2c\u4e09\u6761\u65b9<\/b><span style=\"line-height: 1.6\">\u00a0 \u00a0<\/span><b>\u6cd5\u89e3\u51b3\u7684<\/b><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 \uff084\uff09mysql\u5728\u542f\u52a8\u65f6\u6ca1\u6709\u6307\u5b9a\u914d\u7f6e\u6587\u4ef6\u65f6\u4f1a\u4f7f\u7528\/etc\/my.cnf\u914d\u7f6e\u6587\u4ef6\uff0c\u8bf7\u6253\u5f00\u8fd9\u4e2a\u6587\u4ef6\u67e5\u770b\u5728[mysqld]\u8282\u4e0b\u6709\u6ca1\u6709\u6307\u5b9a\u6570\u636e\u76ee\u5f55(datadir)\u3002<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 \u89e3\u51b3\u65b9\u6cd5\uff1a\u8bf7\u5728[mysqld]\u4e0b\u8bbe\u7f6e\u8fd9\u4e00\u884c\uff1adatadir = \/usr\/local\/mysql\/data<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 \uff085\uff09skip-federated\u5b57\u6bb5\u95ee\u9898<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u89e3\u51b3\u65b9\u6cd5\uff1a\u68c0\u67e5\u4e00\u4e0b\/etc\/my.cnf\u6587\u4ef6\u4e2d\u6709\u6ca1\u6709\u6ca1\u88ab\u6ce8\u91ca\u6389\u7684skip-federated\u5b57\u6bb5\uff0c\u5982\u679c\u6709\u5c31\u7acb\u5373\u6ce8\u91ca\u6389\u5427\u3002<\/span><\/span><\/p>\n<p><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 \uff086\uff09\u9519\u8bef\u65e5\u5fd7\u76ee\u5f55\u4e0d\u5b58\u5728<\/span><\/span><\/p>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 \u89e3\u51b3\u65b9\u6cd5\uff1a\u4f7f\u7528\u201cchown\u201d \u201cchmod\u201d\u547d\u4ee4\u8d4b\u4e88mysql\u6240\u6709\u8005\u53ca\u6743\u9650<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 \uff087\uff09selinux\u60f9\u7684\u7978\uff0c\u5982\u679c\u662fcentos\u7cfb\u7edf\uff0c\u9ed8\u8ba4\u4f1a\u5f00\u542fselinux<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u89e3\u51b3\u65b9\u6cd5\uff1a\u5173\u95ed\u5b83\uff0c\u6253\u5f00\/etc\/selinux\/config\uff0c\u628aSELINUX=enforcing\u6539\u4e3aSELINUX=disabled\u540e\u5b58\u76d8\u9000\u51fa\u91cd\u542f\u673a\u5668\u8bd5\u8bd5\u3002<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><strong>\u4e09\u3001\u5b89\u88c5jira<\/strong><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #jira\u7684\u5b89\u88c5\u5728\u670d\u52a1\u5668172.25.0.105\u4e0a\uff0c\u5efa\u8bae\u5173\u95ed\u9632\u706b\u5899\uff0c\u5f53\u7136\u5982\u679c\u5bf9\u9632\u706b\u5899\u914d\u7f6e\u719f\u6089\uff0c\u53ef\u653e\u884c8080\u7aef\u53e3<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0 service iptables stop<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u4e0b\u8f7d\u5e76\u89e3\u538bjira\u5230\/tmp\u76ee\u5f55<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">wget -c -P \/tmp https:\/\/downloads.atlassian.com\/software\/jira\/downloads\/atlassian-jira-software-7.2.6.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">cd \/tmp<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">tar zxvf atlassian-jira-software-7.2.6.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">cp -rv\u00a0atlassian-jira-software-7.2.6-standalone\/ \/opt\/<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u521b\u5efa\u8f6f\u94fe\u63a5\uff0c\u6ce8\u610fjira\u76ee\u5f55\u540e\u4e0d\u8981\u5e26\u201c\/\u201d\uff0c\/opt\/jira\u5c31\u4f5c\u4e3ajira\u7684\u5b89\u88c5\u76ee\u5f55<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 ln -sv \/opt\/<\/span>atlassian-jira-software-7.2.6-standalone \/opt\/jira<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u521b\u5efajira\u7528\u6237\u5e76\u8bbe\u7f6e\u5bc6\u7801\u4e3a\u201d123456\u201c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\/usr\/sbin\/useradd --create-home --comment \"Account for running JIRA Software\" --shell \/bin\/bash jira<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 echo \"123456\" | passwd --stdin jira<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u8bbe\u7f6ejira\u76ee\u5f55\u53ea\u5141\u8bb8jira\u7528\u6237\u8bbf\u95ee<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0chown -R jira.jira \/opt\/jira\/<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0chmod -R 700 \/opt\/jira\/<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u521b\u5efajira\u5bb6\u76ee\u5f55\uff0c\u7528\u4e8elog\u3001\u641c\u7d22\u7d22\u5f15\u7b49\u6587\u4ef6\u7684\u5b58\u50a8\uff0c\u5e76\u9650\u5236\u53ea\u5141\u8bb8jira\u7528\u6237\u8bbf\u95ee<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mkdir \/home\/jira\/jirasoftware-home<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 chown -R jira.jira \/home\/jira\/jirasoftware-home<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 chmod -R 700\u00a0\/home\/jira\/jirasoftware-home<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u8bbe\u7f6e\/opt\/jira\/atlassian-jira\/WEB-INF\/classes\/jira-application.properties\u6587\u4ef6\uff0c\u5728\u672b\u5c3e\u53bb\u9664\u6ce8\u91ca\u5e76\u4fee\u6539\u4e3a\u4e0a\u9762\u8bbe\u7f6e\u7684jira\u5bb6\u76ee\u5f55\u8def\u5f84\uff0c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span>jira.home=\/home\/jira\/jirasoftware-home<\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u914d\u7f6e\u5bb6\u76ee\u5f55\u7684\u73af\u5883\u53d8\u91cf<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 echo 'JIRA_HOME=\/home\/jira\/jirasoftware-home' &gt;&gt; \/etc\/profile<\/span><\/span><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 echo 'export JIRA_HOME' &gt;&gt; \/etc\/profile<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 source \/etc\/profile<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u68c0\u67e5\u7aef\u53e3\u662f\u5426\u88ab\u5360\u7528\uff0cjira\u9ed8\u8ba4\u8fd0\u884c\u7684\u7aef\u53e3\u67098005\u548c8080\uff0c<\/span><strong>Server\u00a0<\/strong>port (8005) and the\u00a0<strong>Connector<\/strong>\u00a0port (8080) \uff0c<span style=\"line-height: 1.6\">\u5982\u679c\u88ab\u5360\u7528\uff0c\u53ef\u6253\u5f00\/opt\/jira\/conf\/server.xml\u6587\u4ef6\u4fee\u6539\u7aef\u53e3\uff0c\u5982\u679c\u9632\u706b\u5899\u6253\u5f00\uff0c\u5219\u653e\u884c\u4fee\u6539\u540e\u7684\u7aef\u53e3\uff0c\u4e0b\u9762\u7684\u4f8b\u5b50\u662f\u4fee\u6539\u62105005\u548c5050\uff0c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">&lt;Server port=\"5005\" shutdown=\"SHUTDOWN\"&gt;<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">...<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0&lt;Service name=\"Catalina\"&gt;<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 &lt;Connector port=\"5050\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0maxThreads=\"150\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0minSpareThreads=\"25\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0connectionTimeout=\"20000\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0enableLookups=\"false\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0maxHttpHeaderSize=\"8192\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0protocol=\"HTTP\/1.1\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0useBodyEncodingForURI=\"true\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0redirectPort=\"8443\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0acceptCount=\"100\"<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0disableUploadTimeout=\"true\"\/&gt;<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u4e0b\u8f7dmysql\u6570\u636e\u5e93\u8fde\u63a5jar\u5305\u5e76\u62f7\u8d1d\u5230jira\u7684lib\u76ee\u5f55\u4e0b<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">wget -c -P \/tmp http:\/\/120.52.72.23\/cdn.mysql.com\/c3pr90ntc0td\/\/Downloads\/Connector-J\/mysql-connector-java-<span style=\"line-height: 1.6\">5.1.40.tar.gz<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">cd \/tmp<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">tar zxvf mysql-connector-java-5.1.40.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">cd mysql-connector-java-5.1.40<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\\cp mysql-connector-java-5.1.40-bin.jar \/opt\/jira\/lib\/<\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u5207\u6362\u5230jira\u7528\u6237\u5e76\u542f\u52a8jira\u5de5\u7a0b<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 su jira<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 cd \/opt\/jira\/bin\/<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 .\/start-jira.sh<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165http:\/\/172.25.0.105:8080\/\u5373\u53ef\u8fdb\u5165jira\u7684\u5b89\u88c5\u754c\u9762\uff0c\u4e00\u6b65\u4e00\u6b65\u5f88\u7b80\u5355\u660e\u4e86\uff0c\u8fd9\u91cc\u4e0d\u505a\u8fc7\u591a\u8d58\u8ff0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u7cfb\u7edf\u81ea\u5e26\u7684support tools\u53ef\u80fd\u4f1a\u68c0\u6d4b\u5230\u6570\u636e\u5e93\u914d\u7f6e\u6709\u8bef\uff0c \u6570\u636e\u5e93\u53c2\u6570\u8bbe\u7f6e\u5177\u4f53\u53c2\u8003\u5b98\u7f51\u94fe\u63a5 \u00a0<\/span><\/span><\/div>\n<p><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0<a href=\"https:\/\/confluence.atlassian.com\/kb\/how-to-fix-the-collation-and-character-set-of-a-mysql-database-744326173.html\">https:\/\/confluence.atlassian.com\/kb\/how-to-fix-the-collation-and-character-set-of-a-mysql-database-744326173.html<\/a><\/span><\/p>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><strong>\u56db\u3001\u5b89\u88c5Confluence<\/strong><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #confluence\u7684\u5b89\u88c5\u5728\u670d\u52a1\u5668172.25.0.107\u4e0a\uff0c\u5efa\u8bae\u5173\u95ed\u9632\u706b\u5899\uff0c\u5f53\u7136\u5982\u679c\u5bf9\u9632\u706b\u5899\u914d\u7f6e\u719f\u6089\uff0c\u53ef\u653e\u884c8090\u7aef\u53e3<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0 service iptables stop<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u4e0b\u8f7d\u5e76\u89e3\u538bjira\u5230\/tmp\u76ee\u5f55<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 wget -c -P \/tmp\u00a0https:\/\/downloads.atlassian.com\/software\/confluence\/downloads\/atlassian-confluence-5.10.8.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 cd \/tmp<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 tar zxvf atlassian-confluence-5.10.8.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 cp -rv\u00a0<span style=\"line-height: 1.6\">atlassian-confluence-5.10.8\/\u00a0\/opt\/<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u521b\u5efa\u8f6f\u94fe\u63a5\uff0c\u6ce8\u610fjira\u76ee\u5f55\u540e\u4e0d\u8981\u5e26\u201c\/\u201d\uff0c\/opt\/confluence\u5c31\u4f5c\u4e3aconfluence\u7684\u5b89\u88c5\u76ee\u5f55<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 ln -sv \/opt\/atlassian-confluence-5.10.8\u00a0\/opt\/confluence<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u521b\u5efaconfluence\u7528\u6237\u5e76\u8bbe\u7f6e\u5bc6\u7801\u4e3a\u201d123456\u201c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\/usr\/sbin\/useradd --create-home --comment \"Account for running confluence\" --shell \/bin\/bash confluence<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 echo \"123456\" | passwd --stdin confluence<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0#\u8bbe\u7f6ejira\u76ee\u5f55\u53ea\u5141\u8bb8jira\u7528\u6237\u8bbf\u95ee<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0chown -R confluence.confluence \/opt\/confluence\/<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0chmod -R 700 \/opt\/confluence\/<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u521b\u5efajira\u5bb6\u76ee\u5f55\uff0c\u7528\u4e8elog\u3001\u641c\u7d22\u7d22\u5f15\u7b49\u6587\u4ef6\u7684\u5b58\u50a8\uff0c\u5e76\u9650\u5236\u53ea\u5141\u8bb8confluence\u7528\u6237\u8bbf\u95ee<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 mkdir \/home\/jconfluence\/confluence-home<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 chown -R confluence.confluence \/home\/confluence\/confluence-home<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 chmod -R 700\u00a0\/home\/confluence\/confluence-home<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u8bbe\u7f6e\/opt\/jira\/atlassian-jira\/WEB-INF\/classes\/jira-application.properties\u6587\u4ef6\uff0c\u5728\u672b\u5c3e\u53bb\u9664\u6ce8\u91ca\u5e76\u4fee\u6539\u4e3a\u4e0a\u9762\u8bbe\u7f6e\u7684jira\u5bb6\u76ee\u5f55\u8def\u5f84\uff0c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span>jira.home=\/home\/confluence\/\/confluence-home<\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u68c0\u67e5\u7aef\u53e3\u662f\u5426\u88ab\u5360\u7528\uff0cjira\u9ed8\u8ba4\u8fd0\u884c\u7684\u7aef\u53e3\u67098000\u548c8090\uff0c<\/span>\u00a0<span style=\"line-height: 1.6\">Change the Server port (8000) and the Connector port (8090)<\/span>\uff0c<span style=\"line-height: 1.6\">\u5982\u679c\u88ab\u5360\u7528\uff0c\u53ef\u6253\u5f00\/opt\/jira\/conf\/server.xml\u6587\u4ef6\u4fee\u6539\u7aef\u53e3\uff0c\u5982\u679c\u9632\u706b\u5899\u6253\u5f00\uff0c\u5219\u653e\u884c\u4fee\u6539\u540e\u7684\u7aef\u53e3\uff0c\u4e0b\u9762\u7684\u4f8b\u5b50\u662f\u4fee\u6539\u6210<\/span><strong>Server<\/strong>\u00a0port to 5000 and the\u00a0<strong>Connector<\/strong>\u00a0port to 5050.<\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\">\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">Server port=\"5000\" shutdown=\"SHUTDOWN\" debug=\"0\"&gt;<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 &lt;Service name=\"Tomcat-Standalone\"&gt;<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0 &lt;Connector port=\"5050\" connectionTimeout=\"20000\" redirectPort=\"8443\"<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 maxThreads=\"48\" minSpareThreads=\"10\"<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 enableLookups=\"false\" acceptCount=\"10\" debug=\"0\" URIEncoding=\"UTF-8\"<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 protocol=\"org.apache.coyote.http11.Http11NioProtocol\" \/&gt;<\/span><\/div>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0 #\u4e0b\u8f7dmysql\u6570\u636e\u5e93\u8fde\u63a5jar\u5305\u5e76\u62f7\u8d1d\u5230jira\u7684lib\u76ee\u5f55\u4e0b<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">wget -c -P \/tmp http:\/\/120.52.72.23\/cdn.mysql.com\/c3pr90ntc0td\/\/Downloads\/Connector-J\/mysql-connector-java-<span style=\"line-height: 1.6\">5.1.40.tar.gz<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">cd \/tmp<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">tar zxvf mysql-connector-java-5.1.40.tar.gz<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">cd mysql-connector-java-5.1.40<\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\\cp mysql-connector-java-5.1.40-bin.jar \/opt\/confluence\/confluence\/WEB-INF\/lib\/<\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u5207\u6362\u5230confluence\u7528\u6237\u5e76\u542f\u52a8jira\u5de5\u7a0b<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 su confluence<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 cd \/opt\/confluence\/bin\/<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 .\/start-confluence.sh<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\u00a0<a href=\"http:\/\/172.25.0.107:8090\/\u5373\u53ef\u8fdb\u5165confluence\u7684\u5b89\u88c5\u754c\u9762\">http:\/\/172.25.0.107:8090\/<\/a>\u5373\u53ef\u8fdb\u5165confluence\u7684\u5b89\u88c5\u754c\u9762<\/span><\/span><\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0 #\u70b9\u51fb\u201cgenerate an evaluation license online\u201d\u94fe\u63a5\uff0c\u53bb\u5b98\u7f51\u6ce8\u518c\u4e2a\u8d26\u53f7\u5e76\u7533\u8bf7\u8bd5\u7528license\uff0c\u5982\u4e0b\u56fe\uff1a<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 <\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u83b7\u53d6license\u540e\uff0c\u62f7\u8d1d\u5230\u5b89\u88c5\u9875\u9762\u5bf9\u5e94\u8f93\u5165\u6846\uff0c\u4e0b\u4e00\u6b65\uff0c\u9009\u62e9\u201cproduction installation\u201d\uff0c\u70b9\u51fb\u4e0b\u4e00\u6b65<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\"><span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0\u00a0 \u00a0 #\u5728\u9875\u9762\u9009\u62e9\u7684external database \u4e3a\u201cmysql\u201d\uff0c\u70b9\u51fb\u4e0b\u4e00\u6b65<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u9009\u62e9direct jdbc\u63a5\u53e3\uff0c\u70b9\u51fb\u4e0b\u4e00\u6b65<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u586b\u5199mysql\u8fde\u63a5\u76f8\u5173\u7684\u7528\u6237\u540d\u3001\u5bc6\u7801\u548cURL\uff0c\u6ce8\u610fURL\u8981\u4fee\u6539\u6210\u9875\u9762\u63d0\u793a\u7684\u90a3\u6837\uff0c\u5728\u672b\u5c3e\u52a0\u4e0a \u00a0&amp;useUnicode=true&amp;characterEncoding=utf8\uff0c\u56de\u8f66\u540e\u521b\u5efa\u6570\u636e\u5e93\u9700\u8981\u51e0\u5206\u949f<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u521b\u5efa\u5b8c\u6210\u6570\u636e\u5e93\u540e\u9009\u62e9\u5efa\u7acbexample site\uff0c<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0\u00a0<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><span style=\"font-size: 18px\">\u00a0 \u00a0\u00a0<span style=\"line-height: 1.6\">\u00a0 \u00a0 #\u96c6\u6210jira\u548cconfluence\uff0c\u4e0b\u56fe\u4e2d\u9009\u62e9connect to jira\uff0c\u8f93\u5165jira\u7684\u7ba1\u7406\u5458\u5bc6\u7801\u540e\uff0c\u4fee\u6539\u7528\u6237\u7ec4\u4e3ajira-software-user\uff0c\u70b9\u51fbnext\u5373\u53ef\u5b8c\u6210jira\u548cconfluence\u7684\u96c6\u6210<\/span><\/span><\/div>\n<div style=\"margin: 0px\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0\u00a0 \u00a0\u00a0\u00a0 \u516c\u53f8\u51c6\u5907\u5b9e\u884c\u654f\u6377\u5f00\u53d1\uff0c\u7ecf\u8fc7\u4e00\u756a\u5de5\u5177\u9009\u62e9\uff0c\u6700\u7ec8\u9009\u5b9a\u4e86jira\u548cconfluence\uff0cjira\u7528\u4f5c\u9879\u76ee\u7ba1\u7406\uff0cconfluence\u7528\u4e8e\u6587\u6863\u7ba1\u7406\uff0c\u4e0b\u9762\u8bf4\u8bf4\u8fd9\u4e24\u4e2a\u7cfb\u7edf\u7684\u642d\u5efa\u8fc7\u7a0b\u548c\u96c6\u6210\u8bbe\u7f6e\u3002 \u4e00\u3001\u8f6f\u786c\u4ef6\u51c6\u5907 1 \u00a0jira7.2.6\u8f6f\u4ef6 \u00a0 \u00a0 \u00a0\u00a0\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740 \u00a0https:\/\/downloads.atlassian.com\/software\/jira\/downloads\/atlassian-jira-software-7.2.6.tar.gz \u00a0 \u00a0\u00a0\u5907\u7528\u4e0b\u8f7d\u5730\u5740 \u00a0https:\/\/peloo.net\/download\/jira\/atlassian-jira-software-7.2.6.tar.gz 2 \u00a0jdk1.8.0_112 \u00a0\u4e0b\u8f7d\u9875\u9762 \u00a0http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html \u00a0 \u00a0 \u5907\u7528\u4e0b\u8f7d\u5730\u5740 \u00a0https:\/\/peloo.net\/download\/jdk\/jdk-8u112-linux-x64.tar.gz 3 \u00a0confluence5.10.8 \u00a0 \u00a0 \u00a0\u00a0\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740 \u00a0https:\/\/downloads.atlassian.com\/software\/confluence\/downloads\/atlassian-confluence-5.10.8.tar.gz \u00a0 \u00a0\u00a0\u5907\u7528\u4e0b\u8f7d\u5730\u5740 \u00a0https:\/\/peloo.net\/download\/jira\/atlassian-confluence-5.10.8.tar.gz 4 \u00a0mysql-server 5.6.34 \u00a0\u4e0b\u8f7d\u5730\u5740 \u00a0 http:\/\/cdn.mysql.com\/\/Downloads\/MySQL-5.6\/mysql-5.6.34.tar.gz 5 \u00a0mysql-connector jar\u5305 \u00a0 \u00a0 \u00a0 MySQL\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740 \u00a0http:\/\/120.52.72.23\/cdn.mysql.com\/c3pr90ntc0td\/\/Downloads\/Connector-J\/mysql-connector-java-5.1.40.tar.gz \u00a0 \u00a0\u00a0\u5907\u7528\u4e0b\u8f7d\u5730\u5740 \u00a0https:\/\/peloo.net\/download\/db\/mysql-connector-java-5.1.40.tar.gz 6 \u00a0\u64cd\u4f5c\u7cfb\u7edf \u00a0CentOS6.X 7 \u00a0\u670d\u52a1\u5668\u4e24\u53f0\uff0c\u5f3a\u70c8\u5efa\u8bae\u72ec\u7acb\u7269\u7406\u673a\uff0c\u672c\u4eba\u7684\u670d\u52a1\u5668ip\u5730\u5740\u5206\u522b\u4e3a172.25.0.105\u548c172.25.0.107\uff0c\u5206\u522b\u90e8\u7f72jira\u548cconfluence \u4e8c\u3001\u57fa\u7840\u73af\u5883\u642d\u5efa 1 \u00a0Java\u73af\u5883\u5b89\u88c5\u4e0e\u914d\u7f6e&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[33,3],"tags":[],"class_list":["post-753","post","type-post","status-publish","format-aside","hentry","category-33","category-linux","post_format-post-format-aside"],"aioseo_notices":[],"brizy_media":[],"_links":{"self":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=753"}],"version-history":[{"count":26,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/753\/revisions"}],"predecessor-version":[{"id":1475,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/753\/revisions\/1475"}],"wp:attachment":[{"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}