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.通过它 ...
随机推荐
- Linux学习-备份策略
每部主机的任务都不相同,重要的数据也不相同,重要性也不一样,因此,每个人的备份思考角度都不一样! 备份分为两大部分,一个是每日备份经常性变动的重要数据, 一个则是每周备份就不常变动的信息.这个时候我就 ...
- Python虚拟机函数机制之闭包和装饰器(七)
函数中局部变量的访问 在完成了对函数参数的剖析后,我们再来看看,在Python中,函数的局部变量时如何实现的.前面提到过,函数参数也是一种局部变量.所以,其实局部变量的实现机制与函数参数的实现机制是完 ...
- day03_02 Python版本的选择
总结:python2.x是遗产(过时),python3.x是现在和未来的语言 In summary : Python 2.x is legacy, Python 3.x is the present ...
- jQuery 遍历函数 ,javascript中的each遍历
jQuery 遍历函数 jQuery 遍历函数包括了用于筛选.查找和串联元素的方法. 函数 描述 .add() 将元素添加到匹配元素的集合中. .andSelf() 把堆栈中之前的元素集添加到当前集合 ...
- BBS-登录
from django.db import models # Create your models here. from django.contrib.auth.models import Abstr ...
- 股票交易(DP+单调队列优化)
题目描述 最近lxhgww又迷上了投资股票,通过一段时间的观察和学习,他总结出了股票行情的一些规律. 通过一段时间的观察,lxhgww预测到了未来T天内某只股票的走势,第i天的股票买入价为每股APi, ...
- The 18th Zhejiang University Programming Contest Sponsored by TuSimple
Pretty Matrix Time Limit: 1 Second Memory Limit: 65536 KB DreamGrid's birthday is coming. As hi ...
- 服务器端查看图片库 eog
eog 命令 eye of gnome,用来在服务器端查看图片. sudo apt-get install eog eog picname.jpg
- linux 系统时间调整
linux的硬件时间是从COMS中读取的. 系统时间是由操作系统维护的. 先查看时区是否正确 (东八区 +8) #date -R 选择时区: #tzselect 修改了系统时间,还应该跟硬件时间进行同 ...
- ThinkPHP5杂技(一)
Thinkphp5 assign 传递 " 时 ,前台收到的是 " 和ThinkPHP3.2不一样,3.2收到的是 ”,传递给js时 用的data.replace(new RegE ...