CN106325954A - Oracle and Weblogic combined one-key automatic deployment method - Google Patents

Oracle and Weblogic combined one-key automatic deployment method Download PDF

Info

Publication number
CN106325954A
CN106325954A CN201610749695.2A CN201610749695A CN106325954A CN 106325954 A CN106325954 A CN 106325954A CN 201610749695 A CN201610749695 A CN 201610749695A CN 106325954 A CN106325954 A CN 106325954A
Authority
CN
China
Prior art keywords
weblogic
oracle
installation
territory
deployment method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610749695.2A
Other languages
Chinese (zh)
Inventor
杭聪
陈祖斌
黄连月
袁勇
谢铭
蒙亮
莫英红
陆冰芳
黄鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangxi Power Grid Co Ltd
Original Assignee
Guangxi Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangxi Power Grid Co Ltd filed Critical Guangxi Power Grid Co Ltd
Priority to CN201610749695.2A priority Critical patent/CN106325954A/en
Publication of CN106325954A publication Critical patent/CN106325954A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an Oracle and Weblogic combined one-key automatic deployment method, and relates to the technical field of application server and database installation. The Weblogic and Oracle automatic deployment is realized; the steps are simple and compact; the installation time is saved; the manual gradual input of corresponding configuration information is not needed; the user experience is improved. The method is characterized by comprising the steps of obtaining a Weblogic installation compression package and an Oracle installation compression package; decompressing the Oracle installation compression package to obtain an Oracle automatic installation script and an Oracle installation package; running the Oracle automatic installation script; installing Oracle database software and an Oracle database; creating a Weblogic installation catalogue; decompressing the Weblogic installation compression package to obtain a Weblogic installation package; running an auto_install.sh script; creating and configuring a Weblogic domain; initializing the Weblogic. The method is mainly used for Weblogic one-key deployment based on Oracle.

Description

A kind of Oracle and Weblogic combines a key automatic deployment method
Technical field
The present invention relates to application server and installing DB technical field, particularly relate to a kind of Oracle and Weblogic Combine a key automatic deployment method.
Background technology
Weblogic is a kind of middleware based on Javaee framework, be used for developing, integrated, dispose and manage large-scale distribution The application of formula Web, network application and the Java application server of database application, be Java main on current commercial market (J2EE) one of application server software, is widely used in every profession and trade.Oracle Database, has another name called Oracle RDBMS, or Being called for short Oracle, it is the product being constantly in leading position in database field.When user needs to use Weblogic, no Only need Weblogic is installed, in addition it is also necessary to oracle database is installed, just can use.
In prior art, Weblogic installation process and oracle database installation process step are complicated;And often step is all provided with Putting the Next button, be i.e. not fully complete current procedures and cannot be introduced into next step, installation script autonomy is poor.Each step needs The most progressively the corresponding configuration information of input, creates the time long, expends the working time, poor user experience.
Summary of the invention
The present invention provide a kind of Oracle and Weblogic combine a key automatic deployment method, it is achieved that Weblogic with An automatic key of Oracle is disposed, and step is succinct, saves the set-up time;Without the most progressively input correspondence configuration letter Breath, improves Consumer's Experience.
For reaching above-mentioned purpose, the present invention adopts the following technical scheme that
A kind of Oracle and Weblogic combines a key automatic deployment method, comprises the following steps:
Obtain Weblogic and compressed package and Oracle installation compressed package are installed;
Decompress described Oracle and compressed package is installed, obtain the automatic installation script of Oracle and Oracle installation kit;
Run the automatic installation script of described Oracle;
Oracle database software and oracle database are installed;
Obtain Weblogic and compressed package is installed;
Create Weblogic installation directory;
Decompress described Weblogic and compressed package is installed, obtain Weblogic installation kit;
Opening operation System Management Console, receives user and inputs parameter;
Initial configuration file;
Perform weblogic to install;
Create and configure weblogic territory;
Start weblogic service;
Configuration weblogic territory;
Restart weblogic service;
Checking uniprocessor version weblogic installs and territory creates the most successful.
Further, described user inputs parameter and includes:
Weblogic manages console password;
Weblogic domain name claims;
The host name of the virtual machine of weblogic is installed;
The IP address of the virtual machine of weblogic is installed;
The cluster name at the virtual machine place of weblogic is installed.
Further, described initialization territory configuration file comprises the following steps:
(1) judging whether territory configuration file exists, if existing, deleting;
(2) create territory configuration file, extract described user and input parameter, in the territory configuration file that write creates, form new territory Configuration file.
Further, described execution weblogic installs, and comprises the following steps:
(1) installation path is created;
(2) create and configure virtual memory;
(3) weblogic is installed and relies on environment JDK;
(4) configuration system host;
(5) identify that weblogic installs version, if version is not inconsistent, point out version error, need update contruction bag version;
(6) configuration verification environment variable;
(7) weblogic installation kit is run with Installation Modes of mourning in silence, it is intended that mourn in silence the configuration file silent_xml needed for installing;
(8) initialising subscriber group, user and password, arrange corresponding authority;
(9) whether checking user and corresponding authority configure correctly.
Further, described establishment weblogic territory, comprise the following steps:
(1) OS Type is identified;
(2) the territory configuration file domain.cfg of correspondence is quoted according to OS Type;
(3) domain name in reading field configuration file domain.cfg claim, masterplate path, the information such as administrator password believing according to those Breath creates territory.
Further, described configuration weblogic territory, comprise the following steps:
(1) whether checking weblogic service has started;
(2) product pattern is enabled;
(3) configuration territory root, port, domain name claim, the information such as password, respective hosts title and host ip.
Further, before running the automatic installation script of described Oracle, also include:
Judge whether main frame to be installed is root user: if so, directly run the automatic installation script of described Oracle;If it is not, First creating root user on described main frame to be installed, rerun the automatic installation script of described Oracle.
Further, after described oracle database software and oracle database are installed, also include:
Delete and temporary file is installed.
Further, after deleting installation temporary file, also include:
Verify described oracle database software and whether described Oracle data install successfully.
The invention have the benefit that
A kind of Oracle and Weblogic that the present invention provides combines a key automatic deployment method, including: obtain Weblogic peace Dress compressed package and Oracle install compressed package;Decompress described Oracle install compressed package, obtain the automatic installation script of Oracle and Oracle installation kit;Run the automatic installation script of described Oracle;Oracle database software and oracle database are installed;Obtain Take Weblogic and compressed package is installed;Create Weblogic installation directory;Decompress described Weblogic and compressed package is installed, obtain Weblogic installation kit;Opening operation System Management Console, receives user and inputs parameter;Initial configuration file;Perform Weblogic installs;Create and configure weblogic territory;Start weblogic service;Configuration weblogic territory;Restart Weblogic services;Checking uniprocessor version weblogic installs and territory creates the most successful, and compared to prior art, the present invention realizes An automatic key of Weblogic Yu Oracle is disposed, and step is succinct, saves the set-up time;Oracle is installed and needs 45 points Clock, the present invention installs Oracle and has only to 33.33%, and the common artificial separate unit installation Weblogic time is 1 hour, the present invention Disposing installation for one to have only to 21 minutes, the separate unit set-up time improves 65.00%, it is not necessary to the most progressively input correspondence is joined Confidence ceases, and improves Consumer's Experience, completes to install after Oracle and Weblogic, for disposing application program provide data base and The support of server, the most directly disposes corresponding application program, it is ensured that the safe operation of application program.
Accompanying drawing explanation
In order to be illustrated more clearly that technical scheme, the required accompanying drawing used in embodiment being described below It is briefly described.
Fig. 1 is that in the embodiment of the present invention, a kind of Oracle and Weblogic combines a key automatic deployment method flow process signal Figure.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe wholely.Obviously, described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
Embodiment
The embodiment of the present invention provides a kind of Oracle and Weblogic to combine a key automatic deployment method, as it is shown in figure 1, bag Include:
A kind of Oracle and Weblogic combines a key automatic deployment method, comprises the following steps:
101, obtain Weblogic and compressed package and Oracle installation compressed package are installed;
102, decompress described Oracle and compressed package is installed, obtain the automatic installation script of Oracle and Oracle installation kit;
103, judge whether main frame to be installed is root user;
104, the automatic installation script of described Oracle is run;
105, oracle database software and oracle database are installed;
106, installation temporary file is deleted;
107, check whether described Oralcle database software and described Oracle data install successfully;
108, Weblogic installation directory is created;
109, decompress described Weblogic and compressed package is installed, obtain Weblogic installation kit;
110, opening operation System Management Console, receives user and inputs parameter;
111, initial configuration file;
112, perform weblogic to install;
113, create and configure weblogic territory;
114, weblogic service is started;
115, configuration weblogic territory;
116, weblogic service is restarted;
117, checking uniprocessor version weblogic installs and territory creates the most successful.
Described user inputs parameter and includes:
Weblogic manages console password;
Weblogic domain name claims;
The host name of the virtual machine of weblogic is installed;
The IP address of the virtual machine of weblogic is installed;
The cluster name at the virtual machine place of weblogic is installed.
Described initialization territory configuration file comprises the following steps:
(1) judging whether territory configuration file exists, if existing, deleting;
(2) create territory configuration file, extract described user and input parameter, in the territory configuration file that write creates, form new territory Configuration file.
Described execution weblogic installs, and comprises the following steps:
(1) installation path is created;
(2) create and configure virtual memory;
(3) weblogic is installed and relies on environment JDK;
(4) configuration system host;
(5) identify that weblogic installs version, if version is not inconsistent, point out version error, need update contruction bag version;
(6) configuration verification environment variable;
(7) weblogic installation kit is run with Installation Modes of mourning in silence, it is intended that mourn in silence the configuration file silent_xml needed for installing;
(8) initialising subscriber group, user and password, arrange corresponding authority;
(9) whether checking user and corresponding authority configure correctly.
Described establishment weblogic territory, comprises the following steps:
(1) OS Type is identified;
(2) the territory configuration file domain.cfg of correspondence is quoted according to OS Type;
(3) domain name in reading field configuration file domain.cfg claim, masterplate path, the information such as administrator password believing according to those Breath creates territory.
Described configuration weblogic territory, comprises the following steps:
(1) whether checking weblogic service has started;
(2) product pattern is enabled;
(3) configuration territory root, port, domain name claim, the information such as password, respective hosts title and host ip.
Before running the automatic installation script of described Oracle, also include:
Judge whether main frame to be installed is root user: if so, directly run the automatic installation script of described Oracle;If it is not, First creating root user on described main frame to be installed, rerun the automatic installation script of described Oracle.
After described oracle database software and oracle database are installed, also include:
Delete and temporary file is installed.
After deleting installation temporary file, also include:
Verify described oracle database software and whether described Oracle data install successfully.
A kind of Oracle and Weblogic that the present invention provides combines a key automatic deployment method, compared to prior art, The automatic key that present invention achieves Weblogic Yu Oracle is disposed, and step is succinct, saves the set-up time;Oracle is installed Needing 45 minutes, the present invention installs Oracle and has only to 33.33%, and the Weblogic time installed by common artificial separate unit is 1 little Time, the present invention one disposes installation and has only to 21 minutes, and the separate unit set-up time improves 65.00%, it is not necessary to the most defeated Enter corresponding configuration information, improve Consumer's Experience, after completing Oracle and Weblogic is installed, can direct portion on this basis Affix one's name to corresponding application program, it is ensured that the safe operation of application program.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art in the technical scope that the invention discloses, the change that can readily occur in or replacement, all answer Contain within protection scope of the present invention.Therefore, protection scope of the present invention should be with described scope of the claims Accurate.

Claims (9)

1. Oracle and Weblogic combines a key automatic deployment method, it is characterised in that including:
Obtain Weblogic and compressed package and Oracle installation compressed package are installed;
Decompress described Oracle and compressed package is installed, obtain the automatic installation script of Oracle and Oracle installation kit;Run described The automatic installation script of Oracle;
Oracle database software and oracle database are installed;
Obtain Weblogic and compressed package is installed;
Create Weblogic installation directory;
Decompress described Weblogic and compressed package is installed, obtain Weblogic installation kit;
Opening operation System Management Console, receives user and inputs parameter;
Initial configuration file;
Perform weblogic to install;
Create and configure weblogic territory;
Start weblogic service;
Configuration weblogic territory;
Restart weblogic service;
Checking uniprocessor version weblogic installs and territory creates the most successful.
Oracle and Weblogic the most according to claim 1 combines a key automatic deployment method, it is characterised in that described User inputs parameter and includes:
Weblogic manages console password;
Weblogic domain name claims;
The host name of the virtual machine of weblogic is installed;
The IP address of the virtual machine of weblogic is installed;
The cluster name at the virtual machine place of weblogic is installed.
Oracle and Weblogic the most according to claim 1 combines a key automatic deployment method, it is characterised in that described Initialize territory configuration file to comprise the following steps:
(1) judging whether territory configuration file exists, if existing, deleting;
(2) create territory configuration file, extract described user and input parameter, in the territory configuration file that write creates, form new territory Configuration file.
Oracle and Weblogic the most according to claim 1 combines a key automatic deployment method, it is characterised in that described Perform weblogic to install, comprise the following steps:
(1) installation path is created;
(2) create and configure virtual memory;
(3) weblogic is installed and relies on environment JDK;
(4) configuration system host;
(5) identify that weblogic installs version, if version is not inconsistent, point out version error, need update contruction bag version;
(6) configuration verification environment variable;
(7) weblogic installation kit is run with Installation Modes of mourning in silence, it is intended that mourn in silence the configuration file silent_xml needed for installing;
(8) initialising subscriber group, user and password, arrange corresponding authority;
(9) whether checking user and corresponding authority configure correctly.
Oracle and Weblogic the most according to claim 1 combines a key automatic deployment method, it is characterised in that described Create weblogic territory, comprise the following steps:
(1) OS Type is identified;
(2) the territory configuration file domain.cfg of correspondence is quoted according to OS Type;
(3) domain name in reading field configuration file domain.cfg claim, masterplate path, the information such as administrator password believing according to those Breath creates territory.
Oracle and Weblogic the most according to claim 1 combines a key automatic deployment method, it is characterised in that described Configuration weblogic territory, comprises the following steps:
(1) whether checking weblogic service has started;
(2) product pattern is enabled;
(3) configuration territory root, port, domain name claim, the information such as password, respective hosts title and host ip.
Oracle and Weblogic the most according to claim 1 combines a key automatic deployment method, it is characterised in that in fortune Before the row automatic installation script of described Oracle, also include:
Judge whether main frame to be installed is root user: if so, directly run the automatic installation script of described Oracle;If it is not, First creating root user on described main frame to be installed, rerun the automatic installation script of described Oracle.
Oracle and Weblogic the most according to claim 1 combines a key automatic deployment method, it is characterised in that in peace After filling described oracle database software and oracle database, also include:
Delete and temporary file is installed.
Oracle and Weblogic the most according to claim 6 combines a key automatic deployment method, it is characterised in that deleting After temporary file is installed, also include:
Verify described oracle database software and whether described Oracle data install successfully.
CN201610749695.2A 2016-08-30 2016-08-30 Oracle and Weblogic combined one-key automatic deployment method Pending CN106325954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610749695.2A CN106325954A (en) 2016-08-30 2016-08-30 Oracle and Weblogic combined one-key automatic deployment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610749695.2A CN106325954A (en) 2016-08-30 2016-08-30 Oracle and Weblogic combined one-key automatic deployment method

Publications (1)

Publication Number Publication Date
CN106325954A true CN106325954A (en) 2017-01-11

Family

ID=57788669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610749695.2A Pending CN106325954A (en) 2016-08-30 2016-08-30 Oracle and Weblogic combined one-key automatic deployment method

Country Status (1)

Country Link
CN (1) CN106325954A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544823A (en) * 2017-07-31 2018-01-05 郑州云海信息技术有限公司 A kind of software deployment method and system
CN108632331A (en) * 2017-08-28 2018-10-09 北京视联动力国际信息技术有限公司 A kind of installation method and device regarding working application
CN109189418A (en) * 2018-11-08 2019-01-11 郑州云海信息技术有限公司 A kind of (SuSE) Linux OS Software Create, installation method and system
CN109683921A (en) * 2018-12-28 2019-04-26 国网江苏省电力有限公司信息通信分公司 A kind of whole process system deployment method based on Automation of Electric Systems operation platform
CN109977659A (en) * 2019-02-18 2019-07-05 平安科技(深圳)有限公司 Weblogic automatically creates method, system, device and the storage medium of local user
CN111176668A (en) * 2019-12-30 2020-05-19 支付宝(杭州)信息技术有限公司 Predicter deployment method, device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9231995B2 (en) * 2011-09-30 2016-01-05 Oracle International Corporation System and method for providing asynchrony in web services
CN105224348A (en) * 2014-06-11 2016-01-06 中兴通讯股份有限公司 A kind of installation method of MySQL database and device
CN105786564A (en) * 2016-02-22 2016-07-20 上海新炬网络信息技术有限公司 Automatic custom installation and deployment method for Oracle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9231995B2 (en) * 2011-09-30 2016-01-05 Oracle International Corporation System and method for providing asynchrony in web services
CN105224348A (en) * 2014-06-11 2016-01-06 中兴通讯股份有限公司 A kind of installation method of MySQL database and device
CN105786564A (en) * 2016-02-22 2016-07-20 上海新炬网络信息技术有限公司 Automatic custom installation and deployment method for Oracle

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
匿名: "专家级WebLogic_12c安装使用手册", 《2CTO网站》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544823A (en) * 2017-07-31 2018-01-05 郑州云海信息技术有限公司 A kind of software deployment method and system
CN108632331A (en) * 2017-08-28 2018-10-09 北京视联动力国际信息技术有限公司 A kind of installation method and device regarding working application
CN109189418A (en) * 2018-11-08 2019-01-11 郑州云海信息技术有限公司 A kind of (SuSE) Linux OS Software Create, installation method and system
CN109683921A (en) * 2018-12-28 2019-04-26 国网江苏省电力有限公司信息通信分公司 A kind of whole process system deployment method based on Automation of Electric Systems operation platform
CN109683921B (en) * 2018-12-28 2022-04-15 国网江苏省电力有限公司信息通信分公司 Full-process system deployment method based on power system automation operation and maintenance platform
CN109977659A (en) * 2019-02-18 2019-07-05 平安科技(深圳)有限公司 Weblogic automatically creates method, system, device and the storage medium of local user
CN111176668A (en) * 2019-12-30 2020-05-19 支付宝(杭州)信息技术有限公司 Predicter deployment method, device, electronic equipment and storage medium
CN111176668B (en) * 2019-12-30 2022-04-22 蚂蚁区块链科技(上海)有限公司 Predicter deployment method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106325954A (en) Oracle and Weblogic combined one-key automatic deployment method
CN106325953A (en) Weblogic cluster one-key automatic deployment method
CN108399080A (en) A kind of hot update methods of Android App
US7827548B1 (en) Environment-neutral application build
TWI649694B (en) Android dynamic framework and method thereof
CN106325951A (en) Automatic deployment method for application system supporting multiple databases and multiple middleware types
CN104137065A (en) Deployment and updating of applications and drivers on a client device using and extensible markup language (xml) configuration file
CN104094226A (en) Automatic updating of an application or a driver on a client device using a deployment configuration file
CN113821235B (en) Operating system data updating method, device, storage medium and program product
CN107153571A (en) A kind of dispositions method and device of virtual management node
CN105094913A (en) System, base band fastener and system application upgrading method and device
CN107122212A (en) Firmware encrypting method
US20230229424A1 (en) Operating System Upgrade Method and Device, Storage Medium, and Computer Program Product
CN108874437B (en) Online cloud updating method for android application program
CN104216749A (en) Updating method and updating device for applications
CN107643898A (en) Terminal staging method and device
CN102012990A (en) Method and device for repairing bugs of third-party software
CN104156252A (en) Application software installation method and device
WO2020029967A1 (en) Method and apparatus for repairing fault in operating system
CN103019764B (en) The detection method of Andriod resource bag installability and system
CN103559126A (en) Method, device and computer terminal for testing software versions
WO2016082450A1 (en) Method for upgrading user terminal, and user terminal
CN105468420A (en) Operation system upgrade method and device
CN106406934A (en) One-key automatic deployment method for SQL Server and Weblogic combination
CN107741854A (en) The installation method and device of the trawl performance of a kind of electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111