Reference: http://supernetwork.blog.51cto.com/2304163/1187066 Reference: http://yjiang.tk/?p=1085 required Files centos-6.5-x86_64- Minimal.isojre-7u67-linux-x64.rpmatlassian-confluence-5.4.4-x64.binmysql-connector-java-5.1.32-bin.jarconfluence5.1-crack . Zipconfluence-5.4.4-language-pack-zh_cn.jar
1, installation Centos6.5
The default installation is complete. and set up a good network.yum-y Update#更新所有套件
2. Install Java
Mkdir/usr/javaCreate a new Java folder #在/usr and place the installation package in the/usr/java directoryCd/usr/java#将jre-7u67-linux-x64.rpm copy into this directory rpm-ivh jre-7u67-linux-x64.rpm #安装JDK vi/etc/profile #配置环境变量#Add the following lines at the end:Export java_home=/usr/java/jre1.7.0_67export classpath=.: $JAVA _home/jre/lib/rt.jar: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jarexport path= $PATH: $JAVA _home/bin#保存退出: wq! reboot #重启机器配置生效
3. Install MySQLYum install-y mysql-server MySQL mysql-devel service mysqld start #初始化及相关配置 chkconfig--list | grep mysqld #查看mysql服务是不是开机自动启动 chkconfig mysqld on #设置成开机启动 mysqladmin-u root password ' 123456 ' #通过该命令给root账号设置密码为 123456 mysql-u root-p #登录mysql数据库CREATE database confluence character set UTF8;Grant all on confluence.* to [e- Mail protected] "%" identified by "confluence";Grant all on confluence.* to [e- Mail protected] "localhost" identified by "confluence";FLUSH privileges;Quit #退出service mysqld Stop #关闭mysql服务cd/etc/VI my.cnfUnder [mysqld], addCharacter-set-server =utf8#解决中文显示??? Garbled problem Service mysqld start #启动mysql服务
4, installation confluence
#拷入atlassian-confluence-5.4.4-x64.binchmod +x Atlassian-confluence-5.4.4-x64.bin#赋予可执行权限./atlassian-confluence-5.4.4-x64.bin#执行安装根据提示输入, select the default installation. #打开防火墙8090端口iptables-i input-p tcp-m State--state new-m TCP--dport 8090-j ACCEPTService Iptables SaveService iptables Restart#打开防火墙8090端口 #打开网页/ HTTP Server ip:8090, note the server IDService Confluence Stop#停掉Confluence Service # copies the/opt/atlassian/confluence/confluence/web-inf/lib/atlassian-extras-2.4.jar. Replace the Atlassian-extras-2.4.jar in the cracked package, execute the cracked file, lose the name, and the server ID that was recorded before, press. patch! hack Atlassian-extras-2.4.jar press. gen! Get key # Copy the cracked Atlassian-extras-2.4.jar to "/opt/atlassian/confluence/confluence/web-inf/lib/" overwrite the original file. #复制mysql-connector-java-5.1.32-bin.jar to "/opt/atlassian/confluence/confluence/web-inf/lib/".Service Confluence Start#启动Confluence Service #重新打开网页/ HTTP Server ip:8090#输了之前得到的key按下面的图, you can complete the setup step.
CentOS Installation Confluence Wiki steps