CentOS 6.5+confluence 5.1.2+mysql5.6.16-Installation Notes

Source: Internet
Author: User
Tags iptables

2014-03-20, part of the picture source online

Installation process reference: Confluence5.1 The latest version of the installation & cracking & Chinese http://www.eifr.com/article.php?id=2079 How to install the confluence on CentOS (as a supplement to some of the file user Permissions section, and run the script, this example is useless) Http://bin63.com/how-to-install-confluence-on-centos JIRA + confluence Installation on Linux Centos 6.2 (Simple Description-supplement) https://www.ictbase.eu/forum/topic/75- Jira-confluence-installation-on-linux-centos-62/confluence5 install cracked "graphic version" (Crack detailed and JDBC installation path guidelines) http://aliyador.iteye.com /blog/1879326windows installation Settings atlassian-confluence-5.1.4 and cracked (additional illustrations) (Crack detailed and JDBC installation path guidelines) http://xly3000.blog.163.com/ Blog/static/1324247201362714747567/confluence official website of Chinese packaging

Https://translations.atlassian.com/dashboard/download?lang=zh_CN

Confluence mainland agent Translation-fee
http://www.confluence.cn/pages/viewpage.action?pageId=2163651 Confluence mainland Agent website, including Chinese demo http://www.confluence.cn
#################################################################################################################################################### 1. Install the required packages1.0 jdk1.7 (used in this case) http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.rpm  1.1 Confluence 5.1.2 installation package for Linux (used in this example) Confluence versions, Cracked files currently estimated can be cracked 5.1-5.4 version, new deployment recommendations starting from 5.4, 5.1.2 bin file successful 5.4.4bin file installation failed, can try tar.gz version https://www.atlassian.com/software/ confluence/download-archives  1.2 Confluence 5.x Chinese packaging Confluence official website Chinese packaging https://translations.atlassian.com /dashboard/download?lang=zh_cn 1.3 Confluence 5.x cracked package and other related resources +JRIA6 crack Chinese also have Http://pan.baidu.com/wap/share/home?uk =3238954879&third=0  1.4 mysql Connectors Java Database JDBC Driver latest version mysql-connector-java-5.1.29.tar.gz   (used in this example) http://dev.mysql.com/downloads/connector/j/  1.5 MySQL database 5.6 Download source compiled version (in this case use) (another tutorial compiled installation, relatively stable, such as RPM package, problem, with a compiled version installed) mysql-5.6.16.tar.gz   in this mirror site search, El6 or rhel5 version, but this example uses 5.6.16.tar.gz compiled version; http://rpm.pbone.net/ MySQL-server-5.6.16-1.el6.x86_64. rpmmysql-client-5.6.16-1.el6.x86_64.rpmmysql-devel-5.6.16-1.el6.x86_64.rpm  may require the following packages before installing MySQL, Also in the above URL search download Libaio-0.3.107-10.el6.x86_64.rpm  2. Installation Detailed steps2.1 Update system, JDK, etc, install necessary dependencies,#先更新系统, or you can not updateYum Update#安装jdk1.7, if there is a openjdk, the online recommended uninstall, then install Sun's JDKrefer to this URL to install the RPM version of the JDK, note the configuration of environment variables;URL or Linux CentOS 6.5 installation and configuration Jdk-7.doc   #安装某些软件包 (possibly one of the keys to success)Yum install libice-devel libsm-devel libx11-devel libxp-devel libxt-devel libxtst-devel libxext-devel 2.2 installation Confluence#先添加confluence用户, the first installation does not have this step, do not rule out the 5.x version has been added to help users? (It is determined that the software has already added the corresponding user (s) when installing jira6.2) (may be one of the keys to success) Useradd--create-home-c "Confluence role account" confluence#安装Confluence包, the following directories and file names, only represent this installation, installation process, all select the default options,#第一次安装估计是指定了其他目录, and the new directory does not have access rights set for the corresponding user (indeterminate) (identified as one of the key successes)  #进入软件包所在目录, the package is added to execute the permissions first chmod +x Atlassian-confluence-5.1.2-x64.bin#安装命令./atlassian-confluence-5.1.2-x64.bin#将/opt/atlassian/confluence (the program directory after installation) to confluence this account (default root)Chown-r Confluence:/opt/atlassian/confluence#进入安装目录, start confluence (Tomcat)cd/opt/atlassian/confluence/bin/#启动, close./startup.sh start./shutdown.sh Close 2.3 Installation MySQL5.6#数据库安装后, as long as the normal login, start and stop, the version problem is not big#具体看另附文档的安装教程, prefer to install using RPM, if you fail, consider compiling the installation#开始前, first check if the system has its own MySQL, first remove clean before starting to install the new version,#卸载参考教程CentOS 6.3 64-bit under complete uninstall mysql5.5.25 Illustrated tutorialCentOS 6.3 completely uninstall MySQL#rpm版本安装教程CentOS 6.3 64-bit under mysql5.5.25 installation illustration tutorial#编译版本安装教程How to install the MySQL 5.6.10 database and modify the root password in CentOS 6.5 system There are common operational commands for installing the MySQL database on the CentOS 6.5 system################################################################################################################################## #rpm或编译版本安装完后, add a remote link IP bound domain name (possibly one of the keys to success) #进入hosts #添加192.168.100.29 Related bindings (server IP)2.4 Creating databases, database common operations#启动服务, close, restartService MySQL startservice mysql stopservice mysql restart#安装成功并启动服务后, set the database password, where the password is set toAbc123456 /usr/bin/mysqladmin-u root Password' Abc123456 '//Use this command to set the password for the root account#登录数据库Mysql-u root-p#创建数据库, note that at the end of the command, a semicolon is added to represent the end command ;Create database confluence character set UTF8;#分配权限, the Scarlet Letter isConfluence database login account and password grant all privileges on confluence.* to [e-mail protected] identified by ' Abc123456 ' with GRANT option ;#刷新Flush privileges;#退出Quit or exit 3.2 hack + config3.1 Common Operations Commands#一般修改xml配置文件后, if the start close command does not take effect, you can end the process by itself to achieve the goal#查看进程idPS Auxw#查看端口占用, determine the service, whether the port is availableNetstat-apn#kill进程, enter the PID you want to shut down and force it off.Kill 9 "pid"# Modify firewall settings, open 3306 port, or 8090 port,Vi/etc/sysconfig/iptables#如果没有, add the following line of information, similar to the other ports-A input-m state--state new-m tcp-p TCP--dport 3306-j ACCEPT# Restart the firewall for the new settings to take effectService Iptables Restart#进入安装目录, start or close confluence (tomcat)cd/opt/atlassian/confluence/bin/#启动Confluence, turn off confluence./startup.sh start./shutdown.sh off#启动MySQL服务, close, restartService MySQL startservice mysql stopservice mysql restart#查找命令Find/-name file name 3.2 hack step (cracked section refer to this article under Windows installation Settings atlassian-confluence-5.1.4 and cracked Chinese (additional illustrations)) Open the Web address before you start confluence Open the Web page http:/ localhost:8090 Note the server ID, pressurized, in, found, right-click Edit, modify the native system JDK path, save run, will pop up a small program window

User name input more than 6 words, in addition to the ID, other random input, click on the patch file, select the previous level of the directory will prompt a successful patch, and then click Gen, generate key; Stop the confluence service, put the newly generated files into/opt/atlassian/confluence/confluence/web-inf/libThe JDBC driver in the folderMySQL-connector-Java-5.1. 29.jar And put it in this folder.#打开配置文件Vi/opt/atlassian/confluence/confluence/web-inf/classes/confluence-init.properties#Add the following path (if there is no path) Confluence.home =/var/atlassian/application-data/confluence#添加jdk路径给confluence (may be one of the keys to success)vi/opt/atlassian/confluence/bin/setenv.sh#在头部添加如下代码 (may be one of the keys to success)Java_home= "/usr/lib/java/jdk1.6.0_31" Export java_home#重启, if the service cannot be found, go to the Confluence bin file to run the script, stop it, and then open theService Confluence restart # # # # #以下步骤可跳过 ###################################如果后面有失败, just putMySQL-connector-Java-5.1. 29 Compressed package, all the jar files in the test, command reference #解压驱动包, go to directory
CD MySQL-Connector-Java-5.1. in#复制目录里所有jar包, to the specified directoryCP *.jar/opt/atlassian/confluence/confluence/web-inf/libService Confluence Restart  3.3 Binding DatabaseOnce again in the browser open the project select the database entered, enter the user name and password created before, other keep the default Confluence database username + password user name: confluenceuser Password: confluencepass Click Next, complete the Chinese, In the upper right corner to find the menu, enter, select upload Chinese package, after success, you can

It is best to modify the system installation directory permissions to create a page later, (tbd)

Chmod-r 777/opt/atlassian/confluence/confluence

   

CentOS 6.5+confluence 5.1.2+mysql5.6.16-Installation Notes

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.