CN107515766A - Generation method, deployment installation method and the device of database deployment file - Google Patents

Generation method, deployment installation method and the device of database deployment file Download PDF

Info

Publication number
CN107515766A
CN107515766A CN201710735585.5A CN201710735585A CN107515766A CN 107515766 A CN107515766 A CN 107515766A CN 201710735585 A CN201710735585 A CN 201710735585A CN 107515766 A CN107515766 A CN 107515766A
Authority
CN
China
Prior art keywords
database
mysql database
installation
mysql
deployment
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
CN201710735585.5A
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.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian Technology 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 Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN201710735585.5A priority Critical patent/CN107515766A/en
Publication of CN107515766A publication Critical patent/CN107515766A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of generation method of database deployment file, deployment installation method and device.The generation method of the deployment file includes:Obtain the destination item that developer creates builds bank code, and MySQL database software installation bag;Destination item is built into bank code and MySQL database software installation package conjunction composition finished item MySQL database, and packing generation database tar packaging files are carried out to it using tar functions;According to the installation procedure of finished item MySQL database, Shell scripts are built;Using the combination of database tar packaging files and Shell scripts as database deployment file.By above-mentioned database deployment file, the installation personnel of MySQL database can quickly and easily complete the deployment installation to the MySQL database of finished item, and then improve the deployment installation effectiveness of MySQL database.

Description

Generation method, deployment installation method and the device of database deployment file
Technical field
The present embodiments relate to field of computer technology, more particularly to a kind of generation method of database deployment file, Dispose installation method and device.
Background technology
Database (Database) is to come tissue, storage according to data structure and manage the foundation of data in computer storage Warehouse in equipment.MySQL is a kind of Relational DBMS of open source code, uses the most frequently used data depositary management Manage language --- SQL (SQL) carries out data base administration.Because MySQL is open source code, thus it is any People can download under general public licence (General Public License) license and according to the need of personalization It is modified.
After the completion of a Project-developing using MySQL as storehouse type, generally deployment installment work is given to implementation personnel Complete, and be responsible for the implementation personnel of installation and non-fully understand complicated installation procedure and the development project number of MySQL database According to the installation code in storehouse, the execution operation for building storehouse script etc..Therefore, implementation personnel usually need complete under the guidance of research staff The deployment installation of paired development project database.
The content of the invention
The present invention provides a kind of generation method of database deployment file, deployment installation method and device, thinks and implements people Member's deployment installation MySQL database provides a kind of operating method of simple and fast.
In a first aspect, the embodiments of the invention provide a kind of generation method of database deployment file, including:
Obtain the bank code of building of the destination item that is created under development environment of developer, and with the development environment phase The MySQL database software installation bag of matching, wherein, the development environment is to be taken using the MySQL source code bags of compiled completion The development environment built;
Build bank code and the MySQL database software installation package of the destination item are closed to form and completed item Mesh MySQL database, and packing generation database tar is carried out to the MySQL database of finished item using tar functions and beaten APMB package;
According to the installation procedure of the MySQL database of finished item, Shell scripts are built, wherein, the Shell Script includes being used to control the environment configurations order of installation and the startup of finished item MySQL database and in institute State the ambient parameter inputted needed for the installation of finished item MySQL database and start-up course;
Using the combination of the database tar packaging files and the Shell scripts as the database deployment file.
Second aspect, the embodiment of the present invention additionally provide a kind of database deployment installation method, including:
Loading of databases deployment file, wherein, the database deployment file is by described in any embodiment of the present invention Database deployment file generation method generation;
The Shell scripts are performed, are installed with the deployment completed to the MySQL database of finished item;
Wherein, the Shell scripts include being used for the installation and startup for controlling the finished item MySQL database Environment configurations order and in the ring inputted needed for the installation of the MySQL database of finished item and start-up course Border parameter.
The third aspect, the embodiment of the present invention additionally provide a kind of generating means of database deployment file, including:
File acquisition module, the destination item created for obtaining developer under development environment build bank code, with And the MySQL database software installation bag to match with the development environment, wherein, the development environment is using compiled complete Into the development environment built of MySQL source code bags;
Tar packetization modules, for the destination item to be built into bank code and the MySQL database software installation bag Combination forms finished item MySQL database, and the MySQL database of finished item is beaten using tar functions Bag generation database tar packaging files;
Shell scripts build module, for the installation procedure according to the finished item MySQL database, build Shell scripts, wherein, the Shell scripts include being used to control the installation of finished item MySQL database and opening Dynamic environment configurations order and inputted needed for the installation of the MySQL database of finished item and start-up course Ambient parameter;
Deployment file generation module, for the combination of the database tar packaging files and the Shell scripts to be made For the database deployment file.
Fourth aspect, the embodiment of the present invention additionally provide a kind of database deployment erecting device, including:
Deployment file load-on module, for loading of databases deployment file, wherein, the database deployment file is to pass through The generation method generation of database deployment file described in any embodiment of the present invention;
Execution module is installed, for performing the Shell scripts, to complete to the finished item MySQL database Deployment installation;
Wherein, the Shell scripts include being used for the installation and startup for controlling the finished item MySQL database Environment configurations order and in the ring inputted needed for the installation of the MySQL database of finished item and start-up course Border parameter.
The embodiments of the invention provide a kind of generation method of database deployment file, deployment installation method and device, open The development environment that hair personnel build in the MySQL source code bags using compiled completion, creates building after bank code for destination item, Using tar functions to the project build bank code and MySQL database software installation bag carries out packing generation database tar Packaging file, further according to the installation procedure of finished item MySQL database, Shell scripts are built, Shell scripts include The environment configurations order of installation and the startup of finished item MySQL database and installing and starting described in control The ambient parameter inputted needed for journey, text is disposed using the combination of database tar packaging files and Shell scripts as database Part is supplied to the installation personnel of MySQL database.By above-mentioned database deployment file, the installation personnel of MySQL database can Installed with the deployment quickly and easily completed to the MySQL database of finished item, and then improve MySQL database Dispose installation effectiveness.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the generation method of database deployment file in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of database deployment installation method in the embodiment of the present invention two;
Fig. 3 is a kind of structural representation of the generating means of database deployment file in the embodiment of the present invention three;
Fig. 4 is a kind of structural representation of database deployment erecting device in the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
It also should be noted that for the ease of description, illustrate only in accompanying drawing part related to the present invention rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail Into the processing or method described as flow chart.Although operations (or step) are described as the processing of order by flow chart, It is that many of which operation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be by again Arrange.The processing can be terminated when its operations are completed, it is also possible to the additional step being not included in accompanying drawing. The processing can correspond to method, function, code, subroutine, subprogram etc..
Embodiment one
A kind of flow chart of the generation method for database deployment file that Fig. 1 provides for the embodiment of the present invention one, this implementation Example is applicable to be lifted the situation of the deployment installation effectiveness of MySQL database, and this method can be by provided in an embodiment of the present invention The generating means of database deployment file perform, and the device can be realized by the way of software and/or hardware, and can typically collect Into in computer equipment, as shown in figure 1, the method for the present embodiment specifically includes:
S110, the bank code of building for obtaining the destination item that is created under development environment of developer, and with the exploitation The MySQL database software installation bag that environment matches.
Wherein, the development environment is the development environment built using the MySQL source code bags of compiled completion.
The installation and deployment software kit for the open source code that source code bag refers to, research staff can be directly obtained source code.Adopt It is flexibility height with the advantages of source code bag, can be with unrestricted choice required function, and change source code according to self-defined demand.Compile The MySQL source code bags of completion are translated, in advance compiled completion, that is, need not again be compiled before installing, use can be mounted directly, Installation process more saves the time.
Environmental structure is carried out using the MySQL source codes bag of compiled completion, and in the exploitation of the environmentally finished item. After the completion of MySQL database exploitation in destination item, what developer can generate destination item builds bank code.
Wherein, the bank code of building includes:Data structure and exploitation program code.
The MySQL database software installation bag to match with the development environment, the MySQL source codes of as compiled completion Bag.
S120, built bank code and the MySQL database software installation package of the destination item closed and formed Finished item MySQL database, and packing generation data are carried out to the MySQL database of finished item using tar functions Storehouse tar packaging files.
Tar is the instrument that (SuSE) Linux OS carries, and (can include the file under a file or multiple catalogues Multiple catalogues), on the premise of the structure of its former catalogue is preserved, it is collapsed into an archive file, the filing that compression is obtained File is referred to as tar bags.After tar decompressions, it can solve and extrude the same multilayer bibliographic structure of pre-structure therewith and comprising text Part, the multilayer labyrinth and file of a project can be reduced well in an environment.
The bank code of building is after MySQL database service processes all under developer stops the development environment Obtain, reason is that process can take partial document and can not be packed MySQL database on startup, while services external Opening, which may cause to allow, produces data in MySQL database.Therefore, it is necessary to first stop all service processes of MySQL database Afterwards, then tar packings are carried out, and then ensures a complete finished item MySQL database can be completed into packing.
The bibliographic structure of MySQL database includes MySQL database program operating file catalogue and data storage file mesh Record, therefore, file mesh is deposited to the program operating file catalogue and data of finished item MySQL database using tar functions Record is packed respectively.
In the database tar packaging files that packing generation is carried out using tar functions, including MySQL database installation procedure, The code of database, data structure and function program in project.
S130, the installation procedure according to the finished item MySQL database, structure Shell scripts.
Wherein, the Shell scripts include being used for the installation and startup for controlling the finished item MySQL database Environment configurations order and in the ring inputted needed for the installation of the MySQL database of finished item and start-up course Border parameter.
Shell scripts are similar to batch processing, that is, are placed in advance in all kinds of orders into a file, convenient disposable The program file performed.It can interactively perform the order of user's input with operating system, while can also be by advance First designed a series of order, complete to perform by exectorial order is designed.
, it is necessary to have been manually done substantial amounts of configuration when installing a MySQL database environment, carried using (SuSE) Linux OS The Shell scripts of confession can be pre-created these orders and include MySQL to complete a complete projects in configuration and tar bags The environment decompression installation of database, installation effectiveness and less wrong generation can be improved using Shell script execution commands.
Wherein, Shell scripts include such as issuing orders:Configure the environmental variance of MySQL database, create MySQL data Storehouse user or user's group, set operating system file is maximum open number, create directory, add authority, decompression installation MySQL data Storehouse, startup MySQL database and configuration MySQL database follow operating system together to start.
S140, using the combination of the database tar packaging files and the Shell scripts as database dispose text Part.
The database deployment file that the combination of the database tar packaging files and the Shell scripts obtains is carried Supply installation implementation personnel, installation implementation personnel can quickly and easily complete the deployment to finished item MySQL database Installation.
A kind of generation method for database deployment file that the present embodiment provides, developer is using compiled completion The development environment that MySQL source code bags are built, creates building after bank code for destination item, using tar functions to the project Build bank code and MySQL database software installation bag carries out packing generation database tar packaging files, further according to having completed item The installation procedure of mesh MySQL database, builds Shell scripts, Shell scripts include controlling described in finished item MySQL The environment configurations order of installation and the startup of database and in the ambient parameter inputted needed for installation and start-up course, The peace of MySQL database is supplied to using the combination of database tar packaging files and Shell scripts as database deployment file Dress personnel.By above-mentioned database deployment file, the installation personnel of MySQL database can quickly and easily complete to it is described The deployment installation of finished item MySQL database, and then improve the deployment installation effectiveness of MySQL database.
Embodiment two
Fig. 2 is the flow chart that a kind of database that the embodiment of the present invention two provides disposes installation method, and the present embodiment can fit For the situation for the deployment installation effectiveness for lifting MySQL database, this method can be by database provided in an embodiment of the present invention Erecting device is disposed to perform, the device can be realized by the way of software and/or hardware, and can typically be integrated in computer and set In standby, as shown in Fig. 2 the method for the present embodiment specifically includes:
S210, loading of databases deployment file.
In needing that the operating system of the environment of finished item MySQL database is installed, loading of databases deployment file, Wherein, the database deployment file is the generation method life of the database deployment file provided by any embodiment of the present invention Into.
S220, the Shell scripts are performed, installed with the deployment completed to the MySQL database of finished item.
Wherein, the Shell scripts include being used for the installation and startup for controlling the finished item MySQL database Environment configurations order and in the ring inputted needed for the installation of the MySQL database of finished item and start-up course Border parameter, is specifically included as issued orders:Configure the environmental variance of MySQL database, create MySQL database user or user Group, set operating system file is maximum open number, create directory, add authority, decompression installation MySQL database, start MySQL Database and configuration MySQL database follow operating system together to start.
Perform the Shell scripts, it is possible to MySQL database environment required for completing in whole installation project and The establishment of data structure, function code, and then complete once quick and faultless deployment installation.In the base of the various embodiments described above On plinth, before the Shell scripts are performed, in addition to:
Whether MySQL database is installed in the operating system of detection deployment installation database, installed if so, then unloading MySQL database;And/or
Confirm that MySQL database software version and institute installation operation system match in the tar bags.
, it is necessary to check before installation MySQL database is carried out, the version of operating system and MySQL data in new environment Whether storehouse version matches, if matching, can perform Shell scripts to complete deployment installation, if mismatching, can not carry out pair The installation of finished item MySQL database deployment.
Also need to check, whether MySQL database has been installed in operating system in new environment, can be direct if not having Shell scripts are performed to complete deployment installation, if being already installed with MySQL database, are needed to mounted MySQL database Shell scripts are just can perform after being unloaded to install to complete to dispose finished item MySQL database.
A kind of database deployment installation method that the present embodiment provides, passes through loading of databases deployment file;Described in execution Shell scripts, the technological means installed with the deployment completed to the MySQL database of finished item, you can complete to The deployment installation of finished item MySQL database.MySQL database deployment peace need not be well understood by by this method installation personnel The step flow of dress, the deployment installation to the MySQL database of finished item can also be quickly and easily completed, is improved The deployment installation effectiveness of MySQL database.A project MySQL database can also be quickly completed from one using the above method Migration of the individual working environment to another working environment.
Embodiment three
Fig. 3 show a kind of structural representation of the generating means of database deployment file of the offer of the embodiment of the present invention three Figure, the present embodiment be applicable to lifted MySQL database deployment installation effectiveness situation, the device can use software and/or The mode of hardware is realized, and can be typically integrated in computer equipment, as shown in figure 3, the generation dress of the database deployment file Put and specifically include:File acquisition module 310, tar packetization modules 320, Shell scripts structure module 330 and deployment file life Into module 340, wherein,
File acquisition module 310, the destination item created for obtaining developer under development environment build bank code, And the MySQL database software installation bag to match with the development environment, wherein, the development environment is using compiled The development environment that the MySQL source code bags of completion are built;
Tar packetization modules 320, for the destination item to be built into bank code and MySQL database software peace Fill package and close composition finished item MySQL database, and the MySQL database of finished item is entered using tar functions Row packing generation database tar packaging files;
Shell scripts build module 330, for the installation procedure according to the finished item MySQL database, build Shell scripts, wherein, the Shell scripts include being used to control the installation of finished item MySQL database and opening Dynamic environment configurations order and inputted needed for the installation of the MySQL database of finished item and start-up course Ambient parameter;
Deployment file generation module 340, for by the group of the database tar packaging files and the Shell scripts Cooperate as the database deployment file.
A kind of generating means for database deployment file that the present embodiment provides, developer is using compiled completion The development environment that MySQL source code bags are built, creates building after bank code for destination item, using tar functions to the project Build bank code and MySQL database software installation bag carries out packing generation database tar packaging files, further according to having completed item The installation procedure of mesh MySQL database, builds Shell scripts, Shell scripts include controlling described in finished item MySQL The environment configurations order of installation and the startup of database and in the ambient parameter inputted needed for installation and start-up course, The peace of MySQL database is supplied to using the combination of database tar packaging files and Shell scripts as database deployment file Dress personnel.By above-mentioned database deployment file, the installation personnel of MySQL database can quickly and easily complete to it is described The deployment installation of finished item MySQL database, and then improve the deployment installation effectiveness of MySQL database.In above-mentioned implementation On the basis of example, it is described build bank code be the MySQL database all in the case where developer stops the development environment servicing into Obtained after journey;
The bank code of building includes:Data structure and exploitation program code.
In an optional embodiment of the present embodiment, tar packetization modules 320, specifically for by the target item Purpose builds bank code and the MySQL database software installation package closes and forms finished item MySQL database, and using Program operating file catalogue and data storage file directory of the tar functions to the MySQL database of finished item is beaten respectively Bag.
On the basis of the various embodiments described above, the Shell scripts comprise at least following orders:
The environmental variance of MySQL database is configured, MySQL database user or user's group is created, operating system text is set Part is maximum to be opened number, creaties directory, add authority, decompression installation MySQL database, start MySQL database and configuration MySQL database follows operating system together to start.
The generating means of above-mentioned database deployment file can perform the database deployment that any embodiment of the present invention is provided The generation method of file, possess the corresponding functional module of generation method and beneficial effect of the database deployment file of execution.
Example IV
Fig. 4 show a kind of structural representation of database deployment erecting device of the offer of the embodiment of the present invention four, this reality The situation that example is applicable to be lifted the deployment installation effectiveness of MySQL database is applied, the device can use the side of software and/or hardware Formula is realized, and can be typically integrated in computer equipment, as shown in figure 4, a kind of database deployment erecting device specifically includes: Deployment file load-on module 410 and installation execution module 420, wherein,
Deployment file load-on module 410, for loading of databases deployment file.The database deployment file is to pass through this The generation method generation of database deployment file described in invention any embodiment.
Execution module 420 is installed, for performing the Shell scripts, to complete to the MySQL data of finished item The deployment installation in storehouse.
Wherein, the Shell scripts include being used for the installation and startup for controlling the finished item MySQL database Environment configurations order and in the ring inputted needed for the installation of the MySQL database of finished item and start-up course Border parameter.
A kind of database deployment erecting device that the present embodiment provides, passes through loading of databases deployment file;Described in execution Shell scripts, the technological means installed with the deployment completed to the MySQL database of finished item, you can complete to The deployment installation of finished item MySQL database.MySQL database deployment peace need not be well understood by by this method installation personnel The step flow of dress, the deployment installation to the MySQL database of finished item can also be quickly and easily completed, is improved The deployment installation effectiveness of MySQL database.A project MySQL database can also be quickly completed from one using the above method Migration of the individual working environment to another working environment.On the basis of above-described embodiment, the database deployment installation dress Putting also includes:
Database Unload module, dispose in the operating system of installation database whether MySQL data are installed for detecting Storehouse, if so, then unloading mounted MySQL database;And/or
Operating system matching confirms module, for confirming MySQL database software version in the tar bags and installing behaviour Match as system.
The generating means of above-mentioned database deployment file can perform the database deployment that any embodiment of the present invention is provided The generation method of file, possess the corresponding functional module of generation method and beneficial effect of the database deployment file of execution.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. generation method of database deployment file, it is characterised in that including:
    Obtain the destination item that developer creates under development environment builds bank code, and matches with the development environment MySQL database software installation bag, wherein, the development environment is to be built using the MySQL source code bags of compiled completion Development environment;
    The destination item is built into bank code and the MySQL database software installation package conjunction composition finished item MySQL database, and packing generation database tar packings are carried out to the MySQL database of finished item using tar functions File;
    According to the installation procedure of the MySQL database of finished item, Shell scripts are built, wherein, the Shell scripts Including for control the environment configurations order of installation and the startup of finished item MySQL database and it is described The ambient parameter inputted needed for the installation of finished item MySQL database and start-up course;
    Using the combination of the database tar packaging files and the Shell scripts as database deployment file.
  2. 2. according to the method for claim 1, it is characterised in that the bank code of building is to stop the exploitation in developer Obtained under environment after all MySQL database service processes;
    The bank code of building includes:Data structure and exploitation program code.
  3. 3. according to the method for claim 2, it is characterised in that described to use tar functions to the finished item MySQL Database carries out packing generation database tar packaging files, including:
    File mesh is deposited to the program operating file catalogue and data of the MySQL database of finished item using tar functions Record is packed respectively.
  4. 4. according to the method for claim 1, it is characterised in that the Shell scripts comprise at least following orders:
    The environmental variance of MySQL database is configured, MySQL database user or user's group is created, operating system file is set most It is big to open number, create directory, add authority, decompression installation MySQL database, start MySQL database and configuration MySQL numbers Operating system is followed together to start according to storehouse.
  5. 5. a kind of database disposes installation method, it is characterised in that including:
    Loading of databases deployment file, wherein, the database deployment file is by any one of claim 1-4 generations;
    The Shell scripts are performed, are installed with the deployment completed to the MySQL database of finished item;
    Wherein, the Shell scripts include being used for the ring for controlling installation and the startup of finished item MySQL database Border configuration order and inputted needed for the installation of the MySQL database of finished item and start-up course environment ginseng Number.
  6. 6. according to the method for claim 5, it is characterised in that before the Shell scripts are performed, in addition to:
    Whether MySQL database is installed in the operating system of detection deployment installation database, if so, then unloading mounted MySQL database;And/or
    Confirm that MySQL database software version and institute installation operation system match in the tar bags.
  7. A kind of 7. generating means of database deployment file, it is characterised in that including:
    File acquisition module, the destination item created for obtaining developer under development environment build bank code, Yi Jiyu The MySQL database software installation bag that the development environment matches, wherein, the development environment is using compiled completion The development environment that MySQL source code bags are built;
    Tar packetization modules, for the destination item to be built into bank code and MySQL database software installation package conjunction Finished item MySQL database is formed, and packing life is carried out to the MySQL database of finished item using tar functions Into database tar packaging files;
    Shell scripts build module, for the installation procedure according to the finished item MySQL database, structure Shell pin This, wherein, the Shell scripts include being used for the ring for controlling installation and the startup of finished item MySQL database Border configuration order and inputted needed for the installation of the MySQL database of finished item and start-up course environment ginseng Number;
    Deployment file generation module, for using the combination of the database tar packaging files and the Shell scripts as institute State database deployment file.
  8. 8. device according to claim 7, it is characterised in that the bank code of building is to stop the exploitation in developer Obtained under environment after all MySQL database service processes;
    The bank code of building includes:Data structure and exploitation program code.
  9. 9. device according to claim 7, it is characterised in that the Shell scripts comprise at least following orders:
    The environmental variance of MySQL database is configured, MySQL database user or user's group is created, operating system file is set most It is big to open number, create directory, add authority, decompression installation MySQL database, start MySQL database and configuration MySQL numbers Operating system is followed together to start according to storehouse.
  10. 10. a kind of database disposes erecting device, it is characterised in that including:
    Deployment file load-on module, for loading of databases deployment file, wherein, the database deployment file is to pass through right It is required that any one of 1-4 generations;
    Execution module is installed, for performing the Shell scripts, to complete the portion to the MySQL database of finished item Administration's installation;
    Wherein, the Shell scripts include being used for the ring for controlling installation and the startup of finished item MySQL database Border configuration order and inputted needed for the installation of the MySQL database of finished item and start-up course environment ginseng Number.
CN201710735585.5A 2017-08-24 2017-08-24 Generation method, deployment installation method and the device of database deployment file Pending CN107515766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710735585.5A CN107515766A (en) 2017-08-24 2017-08-24 Generation method, deployment installation method and the device of database deployment file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710735585.5A CN107515766A (en) 2017-08-24 2017-08-24 Generation method, deployment installation method and the device of database deployment file

Publications (1)

Publication Number Publication Date
CN107515766A true CN107515766A (en) 2017-12-26

Family

ID=60723569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710735585.5A Pending CN107515766A (en) 2017-08-24 2017-08-24 Generation method, deployment installation method and the device of database deployment file

Country Status (1)

Country Link
CN (1) CN107515766A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241035A (en) * 2018-08-28 2019-01-18 福建南威软件有限公司 A kind of custom script realizes the automatic deployment method of database
CN109522295A (en) * 2018-11-16 2019-03-26 中国银行股份有限公司 A kind of database object constructs automatically, dispositions method and device
CN110007934A (en) * 2019-03-27 2019-07-12 北京东方国信科技股份有限公司 Distributed data base dispositions method and device
CN111813379A (en) * 2019-04-11 2020-10-23 阿里巴巴集团控股有限公司 Application deployment method and device, electronic equipment and computer readable storage medium
CN112256670A (en) * 2020-10-10 2021-01-22 中国农业银行股份有限公司河北省分行 Data migration method, terminal device and readable storage medium
CN112965954A (en) * 2021-03-12 2021-06-15 中国平安财产保险股份有限公司 Code management method and device, computer equipment and storage medium
CN116107600A (en) * 2023-04-13 2023-05-12 麒麟软件有限公司 Oracle database installation tool and rapid deployment method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235725A (en) * 2013-05-16 2013-08-07 浪潮通信信息系统有限公司 Linux-based rapid deployment method for Oracle database in cloud computing
CN106095408A (en) * 2016-05-31 2016-11-09 浙江网新恒天软件有限公司 A kind of system and method for data monitoring and Code automatic build and deployment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235725A (en) * 2013-05-16 2013-08-07 浪潮通信信息系统有限公司 Linux-based rapid deployment method for Oracle database in cloud computing
CN106095408A (en) * 2016-05-31 2016-11-09 浙江网新恒天软件有限公司 A kind of system and method for data monitoring and Code automatic build and deployment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241035A (en) * 2018-08-28 2019-01-18 福建南威软件有限公司 A kind of custom script realizes the automatic deployment method of database
CN109522295A (en) * 2018-11-16 2019-03-26 中国银行股份有限公司 A kind of database object constructs automatically, dispositions method and device
CN109522295B (en) * 2018-11-16 2021-07-20 中国银行股份有限公司 Automatic database object constructing and deploying method and device
CN110007934A (en) * 2019-03-27 2019-07-12 北京东方国信科技股份有限公司 Distributed data base dispositions method and device
CN110007934B (en) * 2019-03-27 2022-09-13 北京东方国信科技股份有限公司 Distributed database deployment method and device
CN111813379A (en) * 2019-04-11 2020-10-23 阿里巴巴集团控股有限公司 Application deployment method and device, electronic equipment and computer readable storage medium
CN111813379B (en) * 2019-04-11 2024-05-31 阿里巴巴集团控股有限公司 Application deployment method and device, electronic equipment and computer readable storage medium
CN112256670A (en) * 2020-10-10 2021-01-22 中国农业银行股份有限公司河北省分行 Data migration method, terminal device and readable storage medium
CN112965954A (en) * 2021-03-12 2021-06-15 中国平安财产保险股份有限公司 Code management method and device, computer equipment and storage medium
CN112965954B (en) * 2021-03-12 2023-08-08 中国平安财产保险股份有限公司 Code management method, device, computer equipment and storage medium
CN116107600A (en) * 2023-04-13 2023-05-12 麒麟软件有限公司 Oracle database installation tool and rapid deployment method thereof

Similar Documents

Publication Publication Date Title
CN107515766A (en) Generation method, deployment installation method and the device of database deployment file
CN106843837B (en) Construction method for containerization of openstack component
CN106933570B (en) Aerospace test, launch and control software platform based on plug-in technology
US9971590B2 (en) Package design and generation
CN107908421A (en) The method and device of software code versions management and issue
CN103955363B (en) A kind of manufacture method of program upgrade installation package
CN109491695A (en) A kind of increment updating method of integrated Android application
CN108027722A (en) The dynamically renewal application in compiling and deployment
CN102567051A (en) Method and device for preparing graphical installation system of Loongson platform
CN106775723A (en) The method and Android device of the system firmware customization based on Android platform
CN106681956A (en) Method and device for operating large-scale computer cluster
CN106155651A (en) The method and system that the automation of application version is issued and updated
CN103235725A (en) Linux-based rapid deployment method for Oracle database in cloud computing
CN103488738A (en) Method and system for automatically realizing JAVA object and data table SQL (structured query language) file
US20120124550A1 (en) Facilitating database application code translation from a first application language to a second application language
CN102541996A (en) JDBC (java database connectivity) based data access layer building method and device utilizing same
CN108228170A (en) A kind of embedded software componentization customizes assemble method
CN109725958A (en) The method and device that the file of resource manager management is handled
CN112506505A (en) Method for producing program code by code template engine
CN103164200B (en) A kind of control method for application system development
CN108073393A (en) A kind of storage design method based on EF frames
CN107273136A (en) Support multilingual method and device
CN105607914A (en) Method for customizing IPMItool function
Kuhn et al. FAME, a polyglot library for metamodeling at runtime
CN110719293A (en) Security service generation method and related equipment

Legal Events

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

Application publication date: 20171226

RJ01 Rejection of invention patent application after publication