[root@db210103 ~]# cd /soft/rcon/
[root@db210103 rcon]# ls
db2 db2_deinstall db2_install db2ls db2setup doc
[root@db210103 rcon]# ./db2_install
DBI1324W Support of the db2_install command is deprecated. For
more information, see the DB2 Information Center.
Default directory for installation of products - /opt/ibm/db2/V10.1
***********************************************************
Install into default directory (/opt/ibm/db2/V10.1) ? [yes/no]
yes
DB2 installation is being initialized.
Total number of tasks to be performed: 18
Total estimated time for all tasks to be performed: 584 second(s)
Task #1 start
Description: Checking license agreement acceptance
Estimated time 1 second(s)
Task #1 end
Task #2 start
Description: ODBC data source support
Estimated time 4 second(s)
Task #2 end
Task #3 start
Description: Teradata data source support
Estimated time 3 second(s)
Task #3 end
Task #4 start
Description: Product Signature for InfoSphere Federation Server Relational Wrappers
Estimated time 118 second(s)
Task #4 end
Task #5 start
Description: JDBC data source support
Estimated time 3 second(s)
Task #5 end
Task #6 start
Description: Oracle data source support
Estimated time 4 second(s)
Task #6 end
Task #7 start
Description: SQL Server data source support
Estimated time 4 second(s)
Task #7 end
Task #8 start
Description: Custom data source support
Estimated time 3 second(s)
Task #8 end
Task #9 start
Description: Sybase data source support
Estimated time 4 second(s)
Task #9 end
Task #10 start
Description: Setting DB2 library path
Estimated time 180 second(s)
Task #10 end
Task #11 start
Description: Executing control tasks
Estimated time 20 second(s)
Task #11 end
Task #12 start
Description: Updating global registry
Estimated time 20 second(s)
Task #12 end
Task #13 start
Description: Updating the db2ls link
Estimated time 1 second(s)
Task #13 end
Task #14 start
Description: Setting default global profile registry variables
Estimated time 1 second(s)
Task #14 end
Task #15 start
Description: Initializing instance list
Estimated time 5 second(s)
Task #15 end
Task #16 start
Description: Configuring DB2 instances
Estimated time 300 second(s)
Task #16 end
Task #17 start
Description: Updating existing DB2 instances
Estimated time 60 second(s)
Task #17 end
Task #18 start
Description: Registering DB2 Update Service
Estimated time 30 second(s)
Task #18 end
Task #19 start
Description: Updating global profile registry
Estimated time 3 second(s)
Task #19 end
The execution completed successfully.
For more information see the DB2 installation log at
"/tmp/db2_install.log.1888".
[root@db210103 rcon]# db2ls
Install Path Level Fix Pack Special Install Number Install Date Installer UID
---------------------------------------------------------------------------------------------------------------------
/opt/ibm/db2/V10.1 10.1.0.3 3 Fri Jul 8 16:42:50 2016 CST 0
[root@db210103 rcon]# db2ls -q -a -b /opt/ibm/db2/V10.1/
Install Path : /opt/ibm/db2/V10.1
Feature Response File ID Level Fix Pack Feature Description
---------------------------------------------------------------------------------------------------------------------
BASE_CLIENT_R 10.1.0.3 3 Base Client Support for installation with root privileges
DB2_PRODUCT_MESSAGES_EN 10.1.0.3 3 Product Messages - English
BASE_CLIENT 10.1.0.3 3 Base client support
JAVA_RUNTIME_SUPPORT 10.1.0.3 3 Java Runtime Support
DB2_JAVA_HELP_EN 10.1.0.3 3 Java Help (HTML) - English
BASE_DB2_ENGINE_R 10.1.0.3 3 Base server support for installation with root privileges
GSK 10.1.0.3 3 Global Secure ToolKit
JAVA_SUPPORT 10.1.0.3 3 Java support
SQL_PROCEDURES 10.1.0.3 3 SQL procedures
ICU_SUP 10.1.0.3 3 ICU Utilities
JAVA_COMMON_FILES 10.1.0.3 3 Java Common files
BASE_DB2_ENGINE 10.1.0.3 3 Base server support
DB2_CONTROL_CENTER_HELP_EN 10.1.0.3 3 Control Center Help (HTML) - English
CONNECT_SUPPORT 10.1.0.3 3 Connect support
RELATIONAL_WRAPPERS_COMMON 10.1.0.3 3 Relational wrappers common
DB2_DATA_SOURCE_SUPPORT 10.1.0.3 3 DB2 data source support
SPATIAL_EXTENDER_SERVER_SUPPORT 10.1.0.3 3 Spatial Extender server support
JDK 10.1.0.3 3 IBM Software Development Kit (SDK) for Java(TM)
LDAP_EXPLOITATION 10.1.0.3 3 DB2 LDAP support
INSTANCE_SETUP_SUPPORT 10.1.0.3 3 DB2 Instance Setup wizard
ACS 10.1.0.3 3 Integrated Flash Copy Support
SPATIAL_EXTENDER_CLIENT_SUPPORT 10.1.0.3 3 Spatial Extender client
COMMUNICATION_SUPPORT_TCPIP 10.1.0.3 3 Communication support - TCP/IP
APPLICATION_DEVELOPMENT_TOOLS 10.1.0.3 3 Base application development tools
DB2_UPDATE_SERVICE 10.1.0.3 3 DB2 Update Service
DATABASE_PARTITIONING_SUPPORT 10.1.0.3 3 Parallel Extension
EDB 10.1.0.3 3 EnterpriseDB code
REPL_CLIENT 10.1.0.3 3 Replication tools
DB2_SAMPLE_DATABASE 10.1.0.3 3 Sample database source
ITLM 10.1.0.3 3 itlm
TEXT_SEARCH 10.1.0.3 3 DB2 Text Search
CLPPLUS 10.1.0.3 3 Command Line Processor Plus
INFORMIX_DATA_SOURCE_SUPPORT 10.1.0.3 3 Informix data source support
ODBC_DATA_SOURCE_SUPPORT 10.1.0.3 3 ODBC data source support
TERADATA_DATA_SOURCE_SUPPORT 10.1.0.3 3 Teradata data source support
IIRW_PRODUCT_SIGNATURE 10.1.0.3 3 Product Signature for InfoSphere Federation Server Relational Wrappers
JDBC_DATA_SOURCE_SUPPORT 10.1.0.3 3 JDBC data source support
ORACLE_DATA_SOURCE_SUPPORT 10.1.0.3 3 Oracle data source support
SQL_SERVER_DATA_SOURCE_SUPPORT 10.1.0.3 3 SQL Server data source support
CUSTOM_DATA_SOURCE_SUPPORT 10.1.0.3 3 Custom data source support
FIRST_STEPS 10.1.0.3 3 First Steps
ESE_PRODUCT_SIGNATURE 10.1.0.3 3 Product Signature for DB2 Enterprise Server Edition
SYBASE_DATA_SOURCE_SUPPORT 10.1.0.3 3 Sybase data source support
[root@db210103 rcon]# db2licm -l
-bash: db2licm: command not found
[root@db210103 rcon]# su - db2inst1
[db2inst1@db210103 ~]$ db2licm -l
Product name: "DB2 Enterprise Server Edition"
License type: "CPU Option"
Expiry date: "Permanent"
Product identifier: "db2ese"
Version information: "10.1"
Enforcement policy: "Soft Stop"
Features:
DB2 Storage Optimization: "Not licensed"
DB2 pureScale: "Not licensed"
Product name: "DB2 Connect Server"
License type: "Trial"
Expiry date: "10/05/2016"
Product identifier: "db2consv"
Version information: "10.1"
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26224914/viewspace-2121741/,如需转载,请注明出处,否则将追究法律责任。