LINUX6.5 + MYSQL5.6 + JIRA6.3 + CONFLUENCE5.9
#================MYSQL=============================
[root@localhost Desktop]# /sbin/ifup eth0
[root@localhost Desktop]# service network restart
[root@localhost ~]# rpm -qa | grep mysql
mysql-libs-5.1.71-1.el6.x86_64
[root@localhost ~]# rpm -e --nodeps mysql-libs-5.1.71-1.el6.x86_64
[root@localhost ~]# cd /usr/tmp/
[root@localhost tmp]# ll
total 221112
-rwsrwsrwt. 1 root root 226416640 May 21 07:51 MySQL-5.6.30-1.el6.x86_64.rpm-bundle.tar
[root@localhost tmp]# tar xf MySQL-5.6.30-1.el6.x86_64.rpm-bundle.tar
[root@localhost tmp]# rpm -ivh ./*.rpm
warning: ./MySQL-client-5.6.30-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... ########################################### [100%]
1:MySQL-devel ########################################### [ 14%]
2:MySQL-client ########################################### [ 29%]
3:MySQL-test ########################################### [ 43%]
4:MySQL-embedded ########################################### [ 57%]
5:MySQL-shared-compat ########################################### [ 71%]
6:MySQL-shared ########################################### [ 86%]
7:MySQL-server ########################################### [100%]
warning: user mysql does not exist - using root
warning: group mysql does not exist - using root
2016-05-21 08:15:05 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-05-21 08:15:05 0 [Note] /usr/sbin/mysqld (mysqld 5.6.30) starting as process 2747 ...
2016-05-21 08:15:05 2747 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-05-21 08:15:05 2747 [Note] InnoDB: The InnoDB memory heap is disabled
2016-05-21 08:15:05 2747 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-05-21 08:15:05 2747 [Note] InnoDB: Memory barrier is not used
2016-05-21 08:15:05 2747 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-05-21 08:15:05 2747 [Note] InnoDB: Using Linux native AIO
2016-05-21 08:15:05 2747 [Note] InnoDB: Using CPU crc32 instructions
2016-05-21 08:15:05 2747 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-05-21 08:15:05 2747 [Note] InnoDB: Completed initialization of buffer pool
2016-05-21 08:15:05 2747 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2016-05-21 08:15:05 2747 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2016-05-21 08:15:05 2747 [Note] InnoDB: Database physically writes the file full: wait...
2016-05-21 08:15:05 2747 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2016-05-21 08:15:05 2747 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2016-05-21 08:15:06 2747 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2016-05-21 08:15:06 2747 [Warning] InnoDB: New log files created, LSN=45781
2016-05-21 08:15:06 2747 [Note] InnoDB: Doublewrite buffer not found: creating new
2016-05-21 08:15:06 2747 [Note] InnoDB: Doublewrite buffer created
2016-05-21 08:15:06 2747 [Note] InnoDB: 128 rollback segment(s) are active.
2016-05-21 08:15:06 2747 [Warning] InnoDB: Creating foreign key constraint system tables.
2016-05-21 08:15:06 2747 [Note] InnoDB: Foreign key constraint system tables created
2016-05-21 08:15:06 2747 [Note] InnoDB: Creating tablespace and datafile system tables.
2016-05-21 08:15:06 2747 [Note] InnoDB: Tablespace and datafile system tables created.
2016-05-21 08:15:06 2747 [Note] InnoDB: Waiting for purge to start
2016-05-21 08:15:06 2747 [Note] InnoDB: 5.6.30 started; log sequence number 0
A random root password has been set. You will find it in '/root/.mysql_secret'.
2016-05-21 08:15:06 2747 [Note] Binlog end
2016-05-21 08:15:06 2747 [Note] InnoDB: FTS optimize thread exiting.
2016-05-21 08:15:06 2747 [Note] InnoDB: Starting shutdown...
2016-05-21 08:15:08 2747 [Note] InnoDB: Shutdown completed; log sequence number 1625977
2016-05-21 08:15:08 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-05-21 08:15:08 0 [Note] /usr/sbin/mysqld (mysqld 5.6.30) starting as process 2769 ...
2016-05-21 08:15:08 2769 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-05-21 08:15:08 2769 [Note] InnoDB: The InnoDB memory heap is disabled
2016-05-21 08:15:08 2769 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-05-21 08:15:08 2769 [Note] InnoDB: Memory barrier is not used
2016-05-21 08:15:08 2769 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-05-21 08:15:08 2769 [Note] InnoDB: Using Linux native AIO
2016-05-21 08:15:08 2769 [Note] InnoDB: Using CPU crc32 instructions
2016-05-21 08:15:08 2769 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-05-21 08:15:08 2769 [Note] InnoDB: Completed initialization of buffer pool
2016-05-21 08:15:08 2769 [Note] InnoDB: Highest supported file format is Barracuda.
2016-05-21 08:15:08 2769 [Note] InnoDB: 128 rollback segment(s) are active.
2016-05-21 08:15:08 2769 [Note] InnoDB: Waiting for purge to start
2016-05-21 08:15:08 2769 [Note] InnoDB: 5.6.30 started; log sequence number 1625977
2016-05-21 08:15:08 2769 [Note] Binlog end
2016-05-21 08:15:08 2769 [Note] InnoDB: FTS optimize thread exiting.
2016-05-21 08:15:08 2769 [Note] InnoDB: Starting shutdown...
2016-05-21 08:15:10 2769 [Note] InnoDB: Shutdown completed; log sequence number 1625987
A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER !
You will find that password in '/root/.mysql_secret'.
You must change that password on your first connect,
no other statement but 'SET PASSWORD' will be accepted.
See the manual for the semantics of the 'password expired' flag.
Also, the account for the anonymous user has been removed.
In addition, you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test database.
This is strongly recommended for production servers.
See the manual for more instructions.
Please report any problems at http://bugs.mysql.com/
The latest information about MySQL is available on the web at
Support MySQL by buying support/licenses at http://shop.mysql.com
New default config file was created as /usr/my.cnf and
will be used by default by the server when you start it.
You may edit this file to change server settings
[root@localhost ~]# service mysql start
Starting MySQL.. SUCCESS!
[root@localhost ~]# more /root/.mysql_secret
# The random password set for the root user at Sat May 21 08:15:06 2016 (local time): 6Vx7yDOtOylzwLXa
[root@localhost ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.30
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> set PASSWORD=PASSWORD('mysql');
Query OK, 0 rows affected (0.00 sec)
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| test |
+--------------------+
4 rows in set (0.00 sec)
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> update user set password=password('mysql') where user='root';
Query OK, 3 rows affected (0.00 sec)
Rows matched: 4 Changed: 3 Warnings: 0
mysql> update user set host='%' where user='root' and host='localhost';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
[root@localhost ~]# chkconfig --list mysql
mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@localhost ~]#
#================JIRA=============================
[root@localhost ~]# mysql -uroot -pmysql
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.6.30 MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create user 'jirauser'@'localhost' identified by 'jirauser';
Query OK, 0 rows affected (0.26 sec)
mysql> create database jira character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.02 sec)
mysql> grant select,insert,update,delete,create,drop,alter,index on jira.* to 'jirauser'@'localhost' identified by 'jirauser';
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
[root@localhost ~]# cd /var/tmp
[root@localhost tmp]# chmod +x atlassian-jira-6.3.6-x64.bin
[root@localhost tmp]# ./atlassian-jira-6.3.6-x64.bin
Unpacking JRE ...
Starting Installer ...
May 21, 2016 8:53:06 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
May 21, 2016 8:53:06 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
This will install JIRA Software 7.1.2 on your computer.
OK [o, Enter], Cancel [c]
o
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]
1
Details on where JIRA Software will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/jira
Home Directory: /var/atlassian/application-data/jira
HTTP Port: 8080
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]
i
Extracting files ...
Please wait a few moments while JIRA Software starts up.
Launching JIRA Software ...
Installation of JIRA Software 6.3.6 is complete
Your installation of JIRA Software 6.3.6 is now ready and can be accessed
via your browser.
JIRA Software 6.3.6 can be accessed at http://localhost:8080
Finishing installation ...
[root@localhost tmp]# service jira stop
[root@localhost tmp]# tar -zxvf mysql-connector-java-5.1.39.tar.gz
[root@localhost tmp]# cp mysql-connector-java-5.1.39-bin.jar /opt/atlassian/jira/lib
[root@localhost tmp]# cp atlassian-extras-2.2.2.jar /opt/atlassian/jira/lib
#[root@localhost tmp]# cp atlassian-extras-3.1.2.jar /opt/atlassian/jira/lib
[root@localhost tmp]# service jira start
#================CONFLUENCE==========================
[root@localhost ~]# vi /usr/my.cnf
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
[mysqld]
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....
# socket = .....
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
port = 3306
socket = /var/lib/mysql/mysql.sock
character-set-server=utf8
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
[mysql]
no-auto-rehash
default-character-set=utf8
[client]
port = 3306
socket = /var/lib/mysql/mysql.sock
default-character-set=utf8
"/usr/my.cnf" 42L, 1205C written
[root@localhost ~]# service mysql restart
Shutting down MySQL.... SUCCESS!
Starting MySQL. SUCCESS!
[root@localhost ~]# mysql -uroot -pmysql
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 21
Server version: 5.6.30 MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create user 'confluenceuser'@'localhost' identified by 'confluenceuser';
Query OK, 0 rows affected (0.04 sec)
mysql> create database confluence character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.04 sec)
mysql> grant all privileges on confluence.* to 'confluenceuser'@'localhost' identified by 'confluenceuser';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
[root@localhost ~]# cd /var/tmp/
[root@localhost tmp]# chmod +x atlassian-confluence-5.9.4-x64.bin
[root@localhost tmp]# ./atlassian-confluence-5.9.4-x64.bin
Unpacking JRE ...
Starting Installer ...
May 29, 2016 1:47:22 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
This will install Confluence 5.9.4 on your computer.
OK [o, Enter], Cancel [c]
o
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (uses default settings) [1],
Custom Install (recommended for advanced users) [2, Enter],
Upgrade an existing Confluence installation [3]
1
See where Confluence will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/confluence
Home Directory: /var/atlassian/application-data/confluence
HTTP Port: 8090
RMI Port: 8000
Install as service: Yes
Install [i, Enter], Exit [e]
i
Extracting files ...
Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 5.9.4 is complete
Your installation of Confluence 5.9.4 is now ready and can be accessed via
your browser.
Confluence 5.9.4 can be accessed at http://localhost:8090
Finishing installation ...
[root@localhost tmp]# service confluence stop
executing using dedicated user
If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide
Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/confluence
Using CATALINA_HOME: /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME: /opt/atlassian/confluence/jre/
Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid
Tomcat stopped.
[root@localhost tmp]# cp /var/tmp/mysql-connector-java-5.1.39/mysql-connector-java-5.1.39-bin.jar /opt/atlassian/confluence/lib
[root@localhost tmp]# cp /var/tmp/atlassian-extras-decoder-v2-3.2.jar /opt/atlassian/confluence/confluence/WEB-INF/lib
[root@localhost tmp]# service confluence start
To run Confluence in the foreground, start the server with start-confluence.sh -fg
executing using dedicated user: confluence
If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide
Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/confluence
Using CATALINA_HOME: /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME: /opt/atlassian/confluence/jre/
Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid
Tomcat started.
LINUX6.5 + MYSQL5.6 + JIRA6.3 + CONFLUENCE5.9的更多相关文章
- 使用Crowd2.7集成Confluence5.3与JIRA6.1,并安装、破解及汉化,实现单点登录【原创】
鉴于目前没有针对Crowd.Confluence.Jira安装.集成和破解最新的方法,总结今天安装.破解及集成的经验,编写此文,方便大家进行配置也方便自己以后参考.此文参考多篇破解文章,并经过作者 ...
- 1.linux6 x86-64 RPM包安装mysql5.7.20
注意版本和此次更新时间 2017-12-03 版本:mysql-5.7.20-1.el6.x86_64 环境:linux6.x 官方下载地址: wget https://dev.mysql.co ...
- linux6 x86-64 RPM包安装mysql5.7.20
注意版本和此次更新时间 2017-12-03 版本:mysql-5.7.20-1.el6.x86_64 环境:linux6.x 官方下载地址: wget https://dev.mysql.co ...
- 搭建基于Linux6.3+Nginx1.2+PHP5+MySQL5.5的Web服务器全过程----转载
之前的Web服务器都是通过yum搭建的,想要添加新模块或者更新某些软件都很不方便(牵一发而动全身啊!).所以,现在准备将环境改为源码编译安装,这样便于调整,性能上也会比yum方式好很多.以下是我的安装 ...
- linux6下源码安装mysql5.6
概述:CentOS 6.4下通过yum安装的MySQL是5.1版的,比较老,所以就想通过源代码安装高版本的5.6.14.正文:一:卸载旧版本使用下面的命令检查是否安装有MySQL Serverrpm ...
- Linux6.9用RPM方式安装MySQL5.7.21
1.下载安装包 wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.21-1.el6.x86_64.rpm-bundle.tar ...
- linux6.5 RPM方式安装 mysql5.6
步骤一.检查下linux是不是已经安装了MySQL # rpm -qa|grep mysql mysql-libs-5.1.71-1.el6.x86_64 # rpm -e --nodeps mysq ...
- 搭建基于Linux6.3+Nginx1.2+PHP5+MySQL5.5的Web服务器全过程
http://blog.chinaunix.net/uid-20639775-id-154497.html
- 烂泥:wiki系统confluence5.6.6安装、中文、破解及迁移
本文由ilanniweb提供友情赞助,首发于烂泥行天下 想要获得更多的文章,可以关注我的微信ilanniweb confluence是一个专业的企业知识管理与协同软件,可以用于构建企业wiki.通过它 ...
随机推荐
- UOJ 152 汉诺塔 分治
题目链接 题意: 有三根编号为\((1, \, 2, \, 3)\)的柱子,然后第一根柱子上有编号为\(1 \sim n(n \leq 10000)\)的盘子,从上到下第\(i\)个盘子的编号是\(A ...
- JAVA 基础--final 关键字的用法
在java中,final的含义在不同的场景下有细微的差别,in a word,它指的是“不可变的” 1.修饰数据.这里的可以看到被final修饰的变量,值不能被改变,但是 package FinalT ...
- [转] WEB前端学习资源清单
常用学习资源 JS参考与基础学习系列 [MDN]JS标准参考 es6教程 JS标准参考教程 编程类中文书籍索引 深入理解JS系列 前端开发仓库 <JavaScript 闯关记> JavaS ...
- js基础之javascript的存在形式和js代码块在页面中的存放位置和 CSS 对比
1.存在形式 文件 如: <script src='js/jc.js'></script> 前页面 <script type='text/javascript'>a ...
- python week08 并发编程之多线程--理论部分
一. 什么是线程 1.定义 线程就像一条工厂车间里的流水线,一个车间里可以用很多流水线,来执行生产每个零部件的任务. 所以车间可以看作是进程,流水线可以看作是线程.(进程是资源单位,线程是执行单位) ...
- python列出指定目录下的所有目录和文件
import os import docx def scanfile(rootdir): result = [] for f in os.walk(rootdir): for files in f[2 ...
- linuxlinux0.11源码学习——bootsect.s学习
由于一直想写一个自己的操作系统,网上推荐了<linux内核完全注释>.自学了一个星期,感觉这本书还是很好的,同时写下关于内核代码的理解,如果有什么不对的对方,欢迎大家一起来交流. 在内核引 ...
- 聊聊、Docker 安装
- 九度oj 题目1475:IP数据包解析
题目描述: 我们都学习过计算机网络,知道网络层IP协议数据包的头部格式如下: 其中IHL表示IP头的长度,单位是4字节:总长表示整个数据包的长度,单位是1字节. 传输层的TCP协议数据段的头部格式如下 ...
- 网络编程之IO复用:select or epoll
对于服务器的并发处理能力,我们需要的是:每一毫秒服务器都能及时处理这一毫秒内收到的数百个不同TCP连接上的报文,与此同时,可能服务器上还有数以十万计的最近几秒没有收发任何报文的相对不活跃连接.同时处理 ...