Setup JIRA Service Desk 3.9.2 on Oracle Linux 6.8
|
OS |
Oracle Linux 6.8 |
V138414-01.iso |
|
Database |
mysql5.6.30 |
MySQL-5.6.30-1.el6.x86_64.rpm-bundle.tar |
|
JIRA Service Desk |
JIRA Service Desk 3.9.2 |
atlassian-servicedesk-3.9.2-x64.bin |
1、设置网络IP和关闭防火墙
[root@localhost ~]# service network restart
Shutting down interface eth0: Device state: 3 (disconnected)
[ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Active connection state: activated
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/2
[ OK ]
[root@localhost ~]# service iptables restart
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
[root@localhost ~]#
2、上载MYSQL5.6.30安装包到服务器 /tmp/atlassian
[root@localhost ~]# mkdir -p /tmp/atlassian
3、安装MYSQL5.6.30
# 检查LINUX之前是否安装过mysql相关组件
[root@localhost ~]# rpm -qa | grep mysql
mysql-5.1.73-7.el6.x86_64
mysql-devel-5.1.73-7.el6.x86_64
mysql-libs-5.1.73-7.el6.x86_64
[root@localhost ~]# rpm -e --nodeps mysql-5.1.73-7.el6.x86_64
[root@localhost ~]# rpm -e --nodeps mysql-devel-5.1.73-7.el6.x86_64
[root@localhost ~]# rpm -e --nodeps mysql-libs-5.1.73-7.el6.x86_64
[root@localhost ~]# rpm -qa | grep mysql
[root@localhost ~]#
[root@localhost ~]# cd /tmp/atlassian/
[root@localhost atlassian]# ll
total 221112
-rwsrwsrwt. 1 root root 226416640 May 21 2016 MySQL-5.6.30-1.el6.x86_64.rpm-bundle.tar
[root@localhost atlassian]# tar -xvf MySQL-5.6.30-1.el6.x86_64.rpm-bundle.tar
MySQL-devel-5.6.30-1.el6.x86_64.rpm
MySQL-shared-5.6.30-1.el6.x86_64.rpm
MySQL-test-5.6.30-1.el6.x86_64.rpm
MySQL-embedded-5.6.30-1.el6.x86_64.rpm
MySQL-client-5.6.30-1.el6.x86_64.rpm
MySQL-shared-compat-5.6.30-1.el6.x86_64.rpm
MySQL-server-5.6.30-1.el6.x86_64.rpm
[root@localhost atlassian]# 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
2017-12-26 20:06:34 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-12-26 20:06:34 0 [Note] /usr/sbin/mysqld (mysqld 5.6.30) starting as process 11624 ...
2017-12-26 20:06:34 11624 [Note] InnoDB: Using atomics to ref count buffer pool pages
2017-12-26 20:06:34 11624 [Note] InnoDB: The InnoDB memory heap is disabled
2017-12-26 20:06:34 11624 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-12-26 20:06:34 11624 [Note] InnoDB: Memory barrier is not used
2017-12-26 20:06:34 11624 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-12-26 20:06:34 11624 [Note] InnoDB: Using Linux native AIO
2017-12-26 20:06:34 11624 [Note] InnoDB: Using CPU crc32 instructions
2017-12-26 20:06:34 11624 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2017-12-26 20:06:34 11624 [Note] InnoDB: Completed initialization of buffer pool
2017-12-26 20:06:34 11624 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2017-12-26 20:06:34 11624 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2017-12-26 20:06:34 11624 [Note] InnoDB: Database physically writes the file full: wait...
2017-12-26 20:06:34 11624 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2017-12-26 20:06:34 11624 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2017-12-26 20:06:34 11624 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2017-12-26 20:06:34 11624 [Warning] InnoDB: New log files created, LSN=45781
2017-12-26 20:06:34 11624 [Note] InnoDB: Doublewrite buffer not found: creating new
2017-12-26 20:06:34 11624 [Note] InnoDB: Doublewrite buffer created
2017-12-26 20:06:34 11624 [Note] InnoDB: 128 rollback segment(s) are active.
2017-12-26 20:06:34 11624 [Warning] InnoDB: Creating foreign key constraint system tables.
2017-12-26 20:06:34 11624 [Note] InnoDB: Foreign key constraint system tables created
2017-12-26 20:06:34 11624 [Note] InnoDB: Creating tablespace and datafile system tables.
2017-12-26 20:06:34 11624 [Note] InnoDB: Tablespace and datafile system tables created.
2017-12-26 20:06:34 11624 [Note] InnoDB: Waiting for purge to start
2017-12-26 20:06:35 11624 [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'.
2017-12-26 20:06:35 11624 [Note] Binlog end
2017-12-26 20:06:35 11624 [Note] InnoDB: FTS optimize thread exiting.
2017-12-26 20:06:35 11624 [Note] InnoDB: Starting shutdown...
2017-12-26 20:06:36 11624 [Note] InnoDB: Shutdown completed; log sequence number 1625977
2017-12-26 20:06:36 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-12-26 20:06:36 0 [Note] /usr/sbin/mysqld (mysqld 5.6.30) starting as process 12205 ...
2017-12-26 20:06:36 12205 [Note] InnoDB: Using atomics to ref count buffer pool pages
2017-12-26 20:06:36 12205 [Note] InnoDB: The InnoDB memory heap is disabled
2017-12-26 20:06:36 12205 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-12-26 20:06:36 12205 [Note] InnoDB: Memory barrier is not used
2017-12-26 20:06:36 12205 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-12-26 20:06:36 12205 [Note] InnoDB: Using Linux native AIO
2017-12-26 20:06:36 12205 [Note] InnoDB: Using CPU crc32 instructions
2017-12-26 20:06:36 12205 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2017-12-26 20:06:36 12205 [Note] InnoDB: Completed initialization of buffer pool
2017-12-26 20:06:36 12205 [Note] InnoDB: Highest supported file format is Barracuda.
2017-12-26 20:06:36 12205 [Note] InnoDB: 128 rollback segment(s) are active.
2017-12-26 20:06:36 12205 [Note] InnoDB: Waiting for purge to start
2017-12-26 20:06:36 12205 [Note] InnoDB: 5.6.30 started; log sequence number 1625977
2017-12-26 20:06:36 12205 [Note] Binlog end
2017-12-26 20:06:36 12205 [Note] InnoDB: FTS optimize thread exiting.
2017-12-26 20:06:36 12205 [Note] InnoDB: Starting shutdown...
2017-12-26 20:06:38 12205 [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
4、创建JIRA Service Desk数据库
[root@localhost ~]# service mysql start
Starting MySQL. [ OK ]
[root@localhost ~]# more /root/.mysql_secret
# The random password set for the root user at Tue Dec 26 20:06:35 2017 (local time): wrMA0VutOkq8JLlH
# 修改root的mysql密码
[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
# 创建JRIA Service Desk数据库和用户
[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 3
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';
mysql> create user 'jirauser'@'%' identified by 'jirauser';
Query OK, 0 rows affected (0.00 sec)
mysql> create database jira character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.00 sec)
mysql> grant select,insert,update,delete,create,drop,alter,index on jira.* to 'jirauser'@'localhost' identified by 'jirauser';
mysql> grant select,insert,update,delete,create,drop,alter,index on jira.* to 'jirauser'@'%' identified by 'jirauser';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
5、安装JIAR Service Desk软件
[root@localhost ~]# cd /tmp/atlassian
[root@localhost atlassian]# ll
total 817160
-rw-r--r--. 1 root root 383930514 Dec 25 17:11 atlassian-servicedesk-3.9.2-x64.bin
-rwsrwsrwt. 1 root root 226416640 May 21 2016 MySQL-5.6.30-1.el6.x86_64.rpm-bundle.tar
-rw-r--r--. 1 7155 31415 18928540 Mar 4 2016 MySQL-client-5.6.30-1.el6.x86_64.rpm
-rw-r--r--. 1 7155 31415 3424912 Mar 4 2016 MySQL-devel-5.6.30-1.el6.x86_64.rpm
-rw-r--r--. 1 7155 31415 89732912 Mar 4 2016 MySQL-embedded-5.6.30-1.el6.x86_64.rpm
-rw-r--r--. 1 7155 31415 56982836 Mar 4 2016 MySQL-server-5.6.30-1.el6.x86_64.rpm
-rw-r--r--. 1 7155 31415 1961716 Mar 4 2016 MySQL-shared-5.6.30-1.el6.x86_64.rpm
-rw-r--r--. 1 7155 31415 3969756 Mar 4 2016 MySQL-shared-compat-5.6.30-1.el6.x86_64.rpm
-rw-r--r--. 1 7155 31415 51401352 Mar 4 2016 MySQL-test-5.6.30-1.el6.x86_64.rpm
[root@localhost atlassian]# chmod +x atlassian-servicedesk-3.9.2-x64.bin
[root@localhost atlassian]# ./atlassian-servicedesk-3.9.2-x64.bin
Unpacking JRE ...
Starting Installer ...
Dec 26, 2017 8:23:08 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
This will install JIRA Service Desk 3.9.2 on your computer.
OK [o, Enter], Cancel [c]
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]
Where should JIRA Service Desk be installed?
[/opt/atlassian/jira]
Default location for JIRA Service Desk data
[/var/atlassian/application-data/jira]
Configure which ports JIRA Service Desk will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to startup and shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]
JIRA can be run in the background.
You may choose to run JIRA as a service, which means it will start
automatically whenever the computer restarts.
Install JIRA as Service?
Yes [y, Enter], No [n]
Details on where JIRA Service Desk 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]
Extracting files ...
Please wait a few moments while JIRA Service Desk is configured.
Installation of JIRA Service Desk 3.9.2 is complete
Start JIRA Service Desk 3.9.2 now?
Yes [y, Enter], No [n]
Please wait a few moments while JIRA Service Desk starts up.
Launching JIRA Service Desk ...
Installation of JIRA Service Desk 3.9.2 is complete
Your installation of JIRA Service Desk 3.9.2 is now ready and can be
accessed via your browser.
JIRA Service Desk 3.9.2 can be accessed at http://localhost:8080
Finishing installation ...
# 停止JIRA Service Desk服务
[root@localhost atlassian]# service jira stop
executing using dedicated user
.....
.... .NMMMD. ...
.8MMM. $MMN,..~MMMO.
.?MMM. .MMM?.
OMMMMZ. .,NMMMN~
.IMMMMMM. .NMMMN. .MMMMMN,
,MMMMMM$..3MD..ZMMMMMM.
=NMMMMMM,. .,MMMMMMD.
.MMMMMMMM8MMMMMMM,
.ONMMMMMMMMMMZ.
,NMMMMMMM8.
.:,.$MMMMMMM
.IMMMM..NMMMMMD.
.8MMMMM: :NMMMMN.
.MMMMMM. .MMMMM~.
.MMMMMN .MMMMM?.
Atlassian JIRA
Version : 7.6.2
If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide
Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/jira
Using CATALINA_HOME: /opt/atlassian/jira
Using CATALINA_TMPDIR: /opt/atlassian/jira/temp
Using JRE_HOME: /opt/atlassian/jira/jre/
Using CLASSPATH: /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/jira/work/catalina.pid
Tomcat stopped.
6、破解JIAR Service Desk软件
# 上载JIRA连接mysql的Java插件 mysql-connector-java-5.1.44.tar.gz
# 上载破解补丁包 jira7.3_crack.zip
[root@localhost atlassian]# tar -zxvf mysql-connector-java-5.1.44.tar.gz
[root@localhost atlassian]# unzip jira7.3_crack.zip
Archive: jira7.3_crack.zip
creating: jira7.3/
inflating: jira7.3/atlassian-extras-3.2.jar
creating: __MACOSX/
creating: __MACOSX/jira7.3/
inflating: __MACOSX/jira7.3/._atlassian-extras-3.2.jar
inflating: jira7.3/mysql-connector-java-5.1.39-bin.jar
inflating: __MACOSX/jira7.3/
[root@localhost atlassian]# cp /tmp/atlassian/mysql-connector-java-5.1.44/mysql-connector-java-5.1.44-bin.jar /opt/atlassian/jira/lib
[root@localhost ~]# cp /tmp/atlassian/jira7.3/atlassian-extras-3.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
[root@localhost ~]# cp /tmp/atlassian/jira7.3/mysql-connector-java-5.1.39-bin.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
[root@localhost atlassian]# service jira start
To run JIRA in the foreground, start the server with start-jira.sh -fg
executing using dedicated user: jira
.....
.... .NMMMD. ...
.8MMM. $MMN,..~MMMO.
.?MMM. .MMM?.
OMMMMZ. .,NMMMN~
.IMMMMMM. .NMMMN. .MMMMMN,
,MMMMMM$..3MD..ZMMMMMM.
=NMMMMMM,. .,MMMMMMD.
.MMMMMMMM8MMMMMMM,
.ONMMMMMMMMMMZ.
,NMMMMMMM8.
.:,.$MMMMMMM
.IMMMM..NMMMMMD.
.8MMMMM: :NMMMMN.
.MMMMMM. .MMMMM~.
.MMMMMN .MMMMM?.
Atlassian JIRA
Version : 7.6.2
If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide
Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/jira
Using CATALINA_HOME: /opt/atlassian/jira
Using CATALINA_TMPDIR: /opt/atlassian/jira/temp
Using JRE_HOME: /opt/atlassian/jira/jre/
Using CLASSPATH: /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/jira/work/catalina.pid
Tomcat started.
7、配置 JIRA Service Desk
Server ID BL1R-81TS-SOU5-KNNU
Your License Key
AAABfw0ODAoPeNqNk0tPwkAUhff9FZO40cU0nRoeIWkitl2gpRgKrtxcykVHyrTOA/XfO20lhCDIbh53zv3OmZmrcSlIhDnxO8T3Bx1vwHokzGbE91jPeecS3EqWS5Nrt55QhXLLc1yiWruQa77FQEuD/1RmGqRGGaygUOikZrNAOVnNbYkKKHPCUmgrlsIGgw8D4hO5NHese+vm5cZ5MjJ/A4URaAxqLMp86ncdu+eCLkApDsI9BZbYRaFw9l1hox9OxuN4Go6GyW4r/qq4/N6p96nHqN/ZMcVj4MUfUJlth3IUBfcJm9I+m2U0m8w79DFN52fIztCcT9DiQYiiDrGxlZmFyiWvNC/FJTdwlLn1ZdUEiPxEAKdNNBiV5OowYhtGMoqyOKUJ8/p9r+t5LdQRe5wGh2UT+QqCK2jcxFsoTDMkv8pOKLFZuPwJCLOZlgWGpRG6tlu0Ss/Wfd3DdyLc5/cwmg5J1p62n0GtyXXNTFrom5cB2TM5+2Hr5gdcrCGXMCwCFCvcqw7Txd49sT+Xp+uO38iszS1hAhRz3vg1cpqO8VDFtZrhCvEGtYMj2w==X02im

Setup JIRA Service Desk 3.9.2 on Oracle Linux 6.8的更多相关文章
- Confluence 6 给一个从 Jira Service Desk 的非许可证用户访问权限
如果你正在使用 Confluence 为 Jira 服务桌面(Jira Service Desk)的知识库,你可以选择允许所有活动的用户和客户(客户是可以登录的用户,但是这些用户是没有 Conflue ...
- JIRA Service Desk 3.9.2 没有许可证
https://my.atlassian.com/license/evaluation Server ID BFHT-0XFL-3NM8-3KRF SEN SEN-L10880225 License ...
- Setup JIRA Software 7.6.2 on Oracle Linux 6.8
OS Oracle Linux 6.8 V138414-01.iso Database mysql5.6.30 MySQL-5.6.30-1.el6.x86_64.rpm-bundle.tar JIR ...
- Unified Service Desk Overview
As we implement CRM in enterprise, we usually integrate with many other information system such as E ...
- 最佳实践 | 通过使用 Jira Service Management 改进 HR 工作流程
Jira Service Management 承诺解锁高速团队.技术团队和与之合作的业务部门都可以从 Jira Service Management中受益,尤其是 HR 团队. Atlassi ...
- Deploying OpenFire for IM (instant message) service (TCP/IP service) with database MySQL , client Spark on linux部署OpenFire IM 消息中间件服务
Are you a hacker? How to build another QQ/Wechat/whatsapp/skype/imessage? Let's go through this!!!! ...
- 【Service】【Database】【Oracle】Oracle client 12.1.0.2 for MacOS
1. 概述:为了在我的macos上搭建python的cx_Oracle开发环境,首先需要配置oracle client 2. 环境与版本: 2.1. OS:Mac OS Sierra 10.12.2 ...
- JIRA
https://www.jianshu.com/p/8c14b52ce692 JIRA这个工具接触有好几年了,在多个海外项目上都用过这个工具.去年又在项目上深度使用后就有点爱不释手了,回国后也在找机会 ...
- JIRA & GitHub
JIRA & GitHub https://confluence.atlassian.com/adminjiracloud/connect-jira-cloud-to-github-81418 ...
随机推荐
- 用pyperclip 模块拷贝粘贴字符串
>>> import pyperclip>>> pyperclip.copy('Hello world!')>>> pyperclip.paste ...
- 【POJ2420】A star not a tree?
蒟蒻开始学模拟退火…… 起初一直不肯学,因为毕竟玄学算法…… 哎呀玄学怎么就没用呢?对不对? #include<iostream> #include<cstdio> #incl ...
- 2017多校第7场 HDU 6121 Build a tree K叉树,思维
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6121 题意:一个n个点的完全k叉树,求每个节点的size的异或和. 解法:容易发现,考虑根的所有孩子, ...
- python内建方法
abs all any apply basestring bin bool buffer bytearray bytes callable chr classmethod cmp coerce com ...
- 4.Python3标准库--算法
(一)functools:管理函数的工具 import functools ''' functools模块提供了一些工具来管理或扩展和其他callable对象,从而不必完全重写 ''' 1.修饰符 f ...
- FineReport——插入行策略
1.空值是默认的选项,即每次插入新行时,格子都是空白的. 2.原值即单元格中原有内容是什么,就复制到新增的格子中,一般适用于单元格是使用公式定义的, 在插入单元格时,公式会保留下来. 3.默认值即通过 ...
- Codeforces 707C Pythagorean Triples(构造三条边都为整数的直角三角形)
题目链接:http://codeforces.com/contest/707/problem/C 题目大意:给你一条边,问你能否构造一个包含这条边的直角三角形且该直角三角形三条边都为整数,能则输出另外 ...
- java 默认内存大小
https://www.cnblogs.com/jack204/archive/2012/07/02/2572932.html -Xmx Java Heap最大值,默认值为物理内存的1/4,最佳设 ...
- Python Flask 配置文件
1. 什么是配置文件? 就是当程序调用的一些参数,文件路径,方法或者类放到一个文件中, 当下次需要修改的一个参数的时候,不用再从所有关联的程序中找到该参数挨个修改, 比较繁琐.像Django中,程序启 ...
- Python中的PIL
转自:http://blog.csdn.net/yockie/article/details/8498301 介绍 把Python的基础知识学习后,尝试一下如何安装.加载.使用非标准库,选择了图像处理 ...