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.通过它 ...
随机推荐
- Markdown 使用锚点
首先是建立一个跳转的连接: [说明文字](#jump) 然后标记要跳转到什么位置即可: <span id = "jump">跳转到这里:</span>
- mysql查询的语法
单表查询语法 SELECT DISTINCT 字段1,字段2... FROM 表名 WHERE 条件 GROUP BY field HAVING 筛选 ORDER BY field LIMIT 限制条 ...
- python基础学习笔记——类的约束
⾸先, 你要清楚. 约束是对类的约束. 用一个例子说话: 公司让小明给他们的网站完善一个支付功能,小明写了两个类,如下: class QQpay: def pay(self,money): print ...
- 回调深入理解 同步回调 以android中View.OnClickListener为列
现在来分析分析下Android View的点击方法onclick();我们知道onclick()是一个回调方法,当用户点击View就执行这个方法,我们用Button来举例好了 //这个是View的 ...
- Tomcat自动发布war包
有两种方法: 1.将项目打成war包,复制到${tomcat.home}\webapps目录下.当tomcat启动时会自动将其解包. 有人说,不能直接将war文件夹直接复制到${tomcat.home ...
- 【Luogu】P4358密钥破解(Pollard Rho)
题目链接 容易发现如果我们求出p和q这题就差不多快变成一个sb题了. 于是我们就用Pollard Rho算法进行大数分解. 至于这个算法的原理,emmm 其实也不是很清楚啦 #include<c ...
- 常用的Java基本代码汇总
1.字符串和整型的相互转换 String a= String.valueOf(2); int i = Integer.parseInt(a); 2. 向文件末尾添加内容 BufferedWriter ...
- Failed to apply plugin [id 'com.gradle.build-scan']
把spring源码clone下来之后,使用gradle编译不通过,异常日志如下: FAILURE: Build failed with an exception. * Where: Build fil ...
- python基于SQLAlchemy的DBtools
新版,只创建一次线程池 # -*- coding: utf-8 -*- from sqlalchemy import create_engine from sqlalchemy.orm import ...
- wireshark中的抓包过滤器和显示过滤器
一 抓包过滤器 语法说明:BPF语法(Berkeley Packet Filter) 类型Tpye:host,net,port 方向Dir:src,dst 协议Proto:ether,ip,tcp, ...