CN113031970A - Automatic installation and deployment method and system - Google Patents

Automatic installation and deployment method and system Download PDF

Info

Publication number
CN113031970A
CN113031970A CN201911348366.7A CN201911348366A CN113031970A CN 113031970 A CN113031970 A CN 113031970A CN 201911348366 A CN201911348366 A CN 201911348366A CN 113031970 A CN113031970 A CN 113031970A
Authority
CN
China
Prior art keywords
installation
software
target
script
target host
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
CN201911348366.7A
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 Shenzhou Taiyue Software Co Ltd
Original Assignee
Beijing Shenzhou Taiyue Software 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 Shenzhou Taiyue Software Co Ltd filed Critical Beijing Shenzhou Taiyue Software Co Ltd
Priority to CN201911348366.7A priority Critical patent/CN113031970A/en
Publication of CN113031970A publication Critical patent/CN113031970A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an automatic installation and deployment method and system, wherein the method comprises the following steps: acquiring an installation and deployment instruction, wherein the installation and deployment instruction comprises operating system version information of a target host and installation information of target software; generating an installation script corresponding to the installation deployment instruction according to the operating system version information of the target host and the installation information of the target software; acquiring address information of a target host according to the installation and deployment instruction; sending the installation script to a target host according to the address information of the target host; and enabling the target host to execute the installation step of the target software according to the installation script. The technical scheme provided by the invention can solve the problem that the existing application software is low in efficiency because installation and deployment personnel need to compile installation and deployment scripts according to actual needs.

Description

Automatic installation and deployment method and system
Technical Field
The invention relates to the technical field of server installation and deployment, in particular to an automatic installation and deployment method and system.
Background
During the development process of the application software, some open source software is usually adopted. During the installation process of the application program, the open source software is generally required to be installed first. However, the installation of the open source software depends on a certain operating system and the number of bits of the operating system; in addition, the installation and deployment personnel have different levels, various problems often occur in installation and deployment, the consumed time is long, and the software delivery is influenced. In addition, in the installation process, when it is necessary to install and deploy on a large number of hosts at the same time, the existing manual installation and deployment method has the defect of low efficiency. In addition, even if the repeated work is reduced by writing the script, the script needs to be written every time the deployment is installed due to the difference of open source software and the difference of operating systems.
Therefore, the existing application software installation needs installation and deployment personnel to compile installation and deployment scripts according to actual needs, and the problem of low efficiency exists.
Disclosure of Invention
In view of the above, the present invention provides an automated installation deployment dimension method and system that overcomes, or at least partially addresses, the above-mentioned problems.
According to one aspect of the invention, there is provided an automated installation and deployment method comprising:
acquiring an installation and deployment instruction, wherein the installation and deployment instruction comprises operating system version information of a target host and installation information of target software;
generating an installation script corresponding to the installation deployment instruction according to the operating system version information of the target host and the installation information of the target software;
acquiring address information of a target host according to the installation and deployment instruction;
sending the installation script to a target host according to the address information of the target host; and enabling the target host to execute the installation step of the target software according to the installation script.
Optionally, the method further comprises:
acquiring operating system version information of a target host, version information of target software and version information of dependent software corresponding to the target software;
setting first installation scripts of the target software aiming at different operating systems according to the version information of each target software;
setting a second installation script of the dependent software aiming at different operating systems according to the version information of each dependent software;
and storing the version information of the target software, the corresponding first installation script, the version information of the dependent software and the corresponding second installation script in a preset storage unit.
Optionally, generating an installation script corresponding to the installation deployment instruction according to the operating system version information of the target host and the installation information of the target software includes:
the method comprises the steps that an operating system of a target host is selected in an operating system column in a visual interface, and target software is selected in a software directory column;
according to the checked operating system and target software of the target host, acquiring a first installation script corresponding to the target software and a second installation script corresponding to the dependent software from the preset storage unit; and integrating the first installation script and the corresponding second installation script to generate an installation script corresponding to the installation deployment instruction.
Optionally, the sending the installation script to the target host according to the address information of the target host includes:
acquiring the IP address of the target host and an account password required by login according to the address information of the target host;
and sending an installation package of the target software, a first installation script corresponding to the target software, an installation package of the dependent software and a second installation script of the dependent software to the target host through a cloud or a designated server.
Optionally, the installation script is sent to the target host according to the address information of the target host; the step of enabling the target host to execute the installation of the target software according to the installation script comprises the following steps:
the target host acquires an installation package of target software from a cloud or a specified server according to the installation script and depends on the installation package of the software;
executing installation of the dependent software according to the second installation script; and after executing installation of the fully partially dependent software, executing installation of the target software according to the first installation script.
According to another aspect of the present invention, there is provided an automated installation deployment system comprising: a console, one or more target hosts; the console includes:
the system comprises an instruction receiving unit, an instruction processing unit and an instruction processing unit, wherein the instruction receiving unit is used for acquiring an installation and deployment instruction, and the installation and deployment instruction comprises operating system version information of a target host and installation information of target software;
the script generating unit is used for generating an installation script corresponding to the installation and deployment instruction according to the operating system version information of the target host and the installation information of the target software;
the task processing unit is used for acquiring the address information of the target host according to the installation and deployment instruction; sending the installation script to a target host according to the address information of the target host; and enabling the target host to execute the installation step of the target software according to the installation script.
Optionally, further comprising: the information acquisition unit is used for acquiring the version information of an operating system of a target host, the version information of target software and the version information of dependent software corresponding to the target software; setting first installation scripts of the target software aiming at different operating systems according to the version information of each target software; setting a second installation script of the dependent software aiming at different operating systems according to the version information of each dependent software; and storing the version information of the target software, the corresponding first installation script, the version information of the dependent software and the corresponding second installation script in a preset storage unit.
Optionally, the script generating unit is configured to select an operating system of the target host in an operating system column in the visual interface, and select target software in a software directory column; according to the checked operating system and target software of the target host, acquiring a first installation script corresponding to the target software and a second installation script corresponding to the dependent software from the preset storage unit; and integrating the first installation script and the corresponding second installation script to generate an installation script corresponding to the installation deployment instruction.
Optionally, the task processing unit is configured to obtain an IP address of the target host and an account password required for login according to the address information of the target host; and sending an installation package of the target software, a first installation script corresponding to the target software, an installation package of the dependent software and a second installation script of the dependent software to the target host through a cloud or a designated server.
Optionally, the target host acquires an installation package of the target software from the cloud or the designated server according to the installation script, and depends on the installation package of the software; executing installation of the dependent software according to the second installation script; and after executing installation of the fully partially dependent software, executing installation of the target software according to the first installation script.
In summary, according to the technical solution disclosed in the present invention, an installation and deployment instruction is obtained, where the installation and deployment instruction includes the operating system version information of a target host and the installation information of target software; generating an installation script corresponding to the installation deployment instruction according to the operating system version information of the target host and the installation information of the target software; acquiring address information of a target host according to the installation and deployment instruction; sending the installation script to a target host according to the address information of the target host; and enabling the target host to execute the installation step of the target software according to the installation script. The problem of current application software's installation, all need installation deployment personnel to compile installation deployment script according to actual need, have inefficiency is solved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 illustrates a flow diagram of an automated installation deployment method in accordance with one embodiment of the present invention;
FIG. 2 illustrates a flow diagram of an automated installation deployment method in accordance with another embodiment of the present invention;
FIG. 3 shows a schematic diagram of an automated installation deployment system, in accordance with one embodiment of the present invention.
FIG. 4 shows a schematic diagram of a console in an automated installation deployment system, in accordance with one embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a flow diagram of an automated installation deployment method according to an embodiment of the invention, see fig. 1, the method comprising:
step S110, obtaining an installation and deployment instruction, wherein the installation and deployment instruction comprises the operating system version information of the target host and the installation information of the target software.
And step S120, generating an installation script corresponding to the installation and deployment instruction according to the operating system version information of the target host and the installation information of the target software.
And step S130, acquiring the address information of the target host according to the installation and deployment instruction.
Step S140, sending the installation script to a target host according to the address information of the target host; and enabling the target host to execute the installation step of the target software according to the installation script.
It can be seen that the method shown in fig. 1 is implemented by writing standard application software associated scripts on different operating systems. When installing, only the selection combination installation is needed according to the operating system and the target software. The problem that installation and deployment personnel need to independently write a set of installation script for each installation is avoided, so that the technical requirements of the installation and deployment personnel can be reduced, the time-consuming problem of installation of various target software in various scenes is solved, and the defects of time consumption and labor consumption in the process of enterprise development that massive host deployment is needed to be carried out in a wrong way are overcome.
FIG. 2 shows a flow diagram of an automated installation deployment method in accordance with another embodiment of the present invention. As described with reference to fig. 2, the method comprises:
step S201, acquiring version information of an operating system of a target host, version information of target software, and version information of dependent software corresponding to the target software.
In one embodiment of the invention, the operating system, the version of the operating system, the number of bits of the operating system, and the version information of the target software and the related dependent software version information are collected and sorted. If the system is Windows7, 8 or 10 under the Windows operating system, the number of bits is 32 bits or 64 bits; also included are, for example, the Cent OS operating system, the Redhat operating system, the Aix operating system, and the like. The target software comprises: JDK, Nginx, jpeg lib, etc., wherein the version information of the target software includes the version number of the target software and also includes the bit number of the target software.
In a specific embodiment of the present invention, in order to facilitate subsequent installation of target software on a target host, the target software is uniformly classified and then the installation package is stored.
Specifically, the same target software can be classified and stored according to different operating systems, and a folder under each root directory corresponds to one target software. For example, 4 sub-folders are respectively set in the JDK file according to a window operating system, a Cent OS operating system, a Redhat operating system and an Aix operating system; setting a plurality of subfolders under the windows subfolders according to the version of the windows operating system; 2 sub-folders are set in 32-bit and 64-bit respectively under the folder of the window7 operating system.
In a specific embodiment of the present invention, the classified installation package of the target software may be stored in a designated server, and the classified installation package of the target software may be stored in a cloud. In this embodiment, all installation packages come from the same data source, so that the stability of installation is ensured, and the problem of deployment is reduced.
Step S202, according to the version information of each target software, setting first installation scripts of the target software aiming at different operating systems.
In a specific embodiment of the invention, for each target software, a first installation script of each target software under a different operating system is written. For example, writing a first installation script for a windows7, 32-bit operating system; a first installation script is written for the windows7, 64-bit operating system, and so on.
In a specific embodiment of the present invention, the content in the first installation script is written to include: pulling of the installation package of the target software, installation, and logging of process logs, among others.
And step S203, setting second installation scripts of the dependent software aiming at different operating systems according to the version information of each dependent software.
Likewise, in a specific embodiment of the present invention, for each dependent software, a second installation script is written for each dependent software under a different operating system. For example, writing a second installation script for the windows7, 32-bit operating system; a second installation script is written for the windows7, 64-bit operating system, and so on.
In a specific embodiment of the present invention, the content in the written second installation script includes: pulling of installation packages, installation of dependent software, logging of process logs, and the like.
Step S204, storing the version information of the target software, the corresponding first installation script, the version information of the dependent software and the corresponding second installation script in a preset storage unit.
In an embodiment of the present invention, version information of the target software, a corresponding first installation script, and version information of the dependent software, a corresponding second installation script may be stored in the standard database. During searching, the corresponding first installation script can be directly searched from the standard database according to the version information of the target software, and the corresponding second installation script can be searched according to the version information of the dependent software. And, there is an association between the target software and the corresponding dependent software. When determining the target software, the corresponding dependent software can be directly determined. For example: the target software is Open office, and the JDK is installed first and then the Open office is installed. The target software Swftool is installed correspondingly depending on FreeType and jpeg, so that the FreeType and jpeg need to be installed first. The number of the target software is one, and the number of the target software is multiple. Moreover, when some target software lacks corresponding dependent software, errors can be reported during installation; runtime errors may also occur.
And S205, checking an operating system of the target host in an operating system column in the visual interface, checking target software in a software directory column, and according to the checked operating system and target software of the target host.
In a specific embodiment of the invention, a visual interface is established on a console, and a checking combination is carried out according to an operating system and target software; and installing target software on the target host according to the checking result.
Step S206, a first installation script corresponding to the target software and a second installation script corresponding to the dependent software are obtained from the preset storage unit; and integrating the first installation script and the corresponding second installation script to generate an installation script corresponding to the installation deployment instruction.
In a specific embodiment of the invention, according to the checking result, a first installation script corresponding to the checked target software and a second installation script corresponding to the dependent software are searched from a standard data source library; and integrating the first installation script and the corresponding second installation script to generate an installation script corresponding to the installation deployment instruction. The integrated installation script is the total script of the target software installed on the target host.
And step S207, acquiring the address information of the target host according to the installation and deployment instruction.
In a specific embodiment of the present invention, after the console acquires the installation and deployment instruction, the console parses the installation and deployment instruction to acquire the address information of the corresponding target host. Specifically, the IP address of the target host is obtained according to the address information of the target host, and then the corresponding target host is searched according to the IP address of the target host. And after the target host is found, logging in the target host according to the acquired account number and password required by logging in.
And step S208, sending the installation package of the target software, the first installation script corresponding to the target software, the installation package of the dependent software and the second installation script of the dependent software to the target host through the cloud.
Step S209, according to the second installation script, executing the installation of the dependent software; and after executing installation of the fully partially dependent software, executing installation of the target software according to the first installation script.
In one embodiment of the invention, after logging in the target host, the target software installation package, the first installation script, the dependent software installation package and the second installation script required for installation are sent to the target host through the cloud or the server. Specifically, after a designated folder is set in the target host and the cloud or server logs in the target host according to the installation and deployment instruction, a target software installation package, a first installation script, a dependent software installation package and a second installation script required for installation are sent to the designated folder set in the target host. And after all the files are sent, the target host sequentially runs the second installation script installation dependent software, and runs the first installation script installation target software after the installation is finished.
In other embodiments of the present invention, the installation package of the target software is sent to the target host through the cloud. And the target host can also directly acquire the installation package of the target software from the cloud or the specified server according to the installation script and rely on the installation package of the software. In this embodiment, only the installation script needs to be sent to the target host, and the target host that acquires the installation script acquires the installation package that depends on the software from the cloud or the server for installation according to the second installation script; and after the installation is finished, acquiring the installation package of the target software from the cloud end or the server end according to the first installation script for installation. In a specific implementation manner of the invention, for a scene with low security requirement, the installation package of the target software can be sent to the target host in a cloud pushing manner. For a scene with a higher security requirement, the first installation script and the second installation script can only be sent to the target host, and the operation of installing the target software is executed in a mode of directly running the corresponding scripts on the target host.
In the above embodiment, in the process that the target host directly acquires the installation package from the cloud, in order to improve the security, the installation package can be obtained by inputting an account password for logging in the cloud or an account password for logging in a designated server. In addition, the security can be improved and the misoperation of installation can be prevented by distributing corresponding permission for reading files on the cloud or the designated server to the current target host in the installation and deployment instruction.
Fig. 3 is a schematic diagram of an automated installation deployment system according to an embodiment of the present invention, and fig. 4 is a schematic diagram of a console in the automated installation deployment system according to an embodiment of the present invention. Referring to fig. 3 and 4, the system comprises: a console 10, one or more target hosts 20. Wherein, the console 10 includes:
the instruction receiving unit 101 is configured to obtain an installation and deployment instruction, where the installation and deployment instruction includes operating system version information of a target host and installation information of target software;
a script generating unit 102, configured to generate an installation script corresponding to the installation deployment instruction according to the operating system version information of the target host and the installation information of the target software;
the task processing unit 103 is configured to obtain address information of the target host according to the installation and deployment instruction; sending the installation script to a target host according to the address information of the target host; and enabling the target host to execute the installation step of the target software according to the installation script.
Optionally, further comprising: the information acquisition unit 104 is configured to acquire version information of an operating system of a target host, version information of target software, and version information of dependent software corresponding to the target software; setting first installation scripts of the target software aiming at different operating systems according to the version information of each target software; setting a second installation script of the dependent software aiming at different operating systems according to the version information of each dependent software; and saving the version information of the target software, the corresponding first installation script, the version information of the dependent software and the corresponding second installation script in a preset storage unit 105.
Optionally, the script generating unit 102 is configured to select an operating system of the target host in an operating system column in the visual interface, and select target software in a software directory column; according to the checked operating system and target software of the target host, acquiring a first installation script corresponding to the target software and a second installation script corresponding to the dependent software from the preset storage unit; and integrating the first installation script and the corresponding second installation script to generate an installation script corresponding to the installation deployment instruction.
Optionally, the task processing unit 103 is configured to obtain an IP address of the target host and an account password required for login according to the address information of the target host; and sending an installation package of the target software, a first installation script corresponding to the target software, an installation package of the dependent software and a second installation script of the dependent software to the target host through the cloud.
Optionally, the target host 20 obtains an installation package of the target software from a cloud or a designated server according to the installation script, and depends on the installation package of the software; executing installation of the dependent software according to the second installation script; and after executing installation of the fully partially dependent software, executing installation of the target software according to the first installation script.
In summary, the technical solution disclosed in the present invention maintains the standard database of the operating system and the target software in a unified manner. Relevant scripts of the application software on different operating systems are written and managed in a unified mode. When installing, only the selection combination installation is needed according to the operating system and the target software. The problem that installation and deployment personnel need to independently write a set of installation script for each installation is avoided, and therefore the technical requirements of the installation and deployment personnel can be reduced. Installation and deployment personnel only need to select the operating system of the target host and the target software to be installed in the visual interface; and the batch installation and deployment can be realized by selecting a plurality of target hosts, the problem of time consumption for installing various target software in various scenes is solved, the defects of time consumption and labor consumption in the process of enterprise development that massive host deployment is needed to be carried out in a wrong way are overcome, and the efficiency of target host deployment is improved. In addition, all installation packages come from the same data source, so that the installation stability is ensured, and the problem of deployment is reduced.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing such a device will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of an apparatus for processing deep learning tasks in large data clusters according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. An automated installation and deployment method, comprising:
acquiring an installation and deployment instruction, wherein the installation and deployment instruction comprises operating system version information of a target host and installation information of target software;
generating an installation script corresponding to the installation deployment instruction according to the operating system version information of the target host and the installation information of the target software;
acquiring address information of a target host according to the installation and deployment instruction;
and sending the installation script to the target host according to the address information of the target host, so that the target host executes the installation step of the target software according to the installation script.
2. The method of claim 1, further comprising:
acquiring operating system version information of a target host, version information of target software and version information of dependent software corresponding to the target software;
setting first installation scripts of the target software aiming at different operating systems according to the version information of each target software;
setting a second installation script of the dependent software aiming at different operating systems according to the version information of each dependent software;
and storing the version information of the target software, the corresponding first installation script, the version information of the dependent software and the corresponding second installation script in a preset storage unit.
3. The method of claim 2, wherein generating an installation script corresponding to the installation deployment instruction according to the operating system version information of the target host and the installation information of the target software comprises:
the method comprises the steps that an operating system of a target host is selected in an operating system column in a visual interface, and target software is selected in a software directory column;
acquiring a first installation script corresponding to the target software and a second installation script corresponding to the dependent software from the preset storage unit according to the checked operating system and the checked target software of the target host; and integrating the first installation script and the corresponding second installation script to generate an installation script corresponding to the installation deployment instruction.
4. The method of claim 3, wherein the sending the installation script to the target host according to address information of the target host comprises:
acquiring the IP address of the target host and an account password required by login according to the address information of the target host;
and sending an installation package of the target software, a first installation script corresponding to the target software, an installation package of the dependent software and a second installation script of the dependent software to the target host through a cloud or a designated server.
5. The method of claim 3, wherein sending the installation script to the target host according to address information of the target host, so that the target host performs the installation of the target software according to the installation script comprises:
the target host acquires an installation package of target software from a cloud or a specified server according to the installation script and depends on the installation package of the software;
executing installation of the dependent software according to the second installation script; and after executing installation of the fully partially dependent software, executing installation of the target software according to the first installation script.
6. An automated installation deployment system, comprising: a console, one or more target hosts; the console includes:
the system comprises an instruction receiving unit, an instruction processing unit and an instruction processing unit, wherein the instruction receiving unit is used for acquiring an installation and deployment instruction, and the installation and deployment instruction comprises operating system version information of a target host and installation information of target software;
the script generating unit is used for generating an installation script corresponding to the installation and deployment instruction according to the operating system version information of the target host and the installation information of the target software;
the task processing unit is used for acquiring the address information of the target host according to the installation and deployment instruction; sending the installation script to a target host according to the address information of the target host; and enabling the target host to execute the installation step of the target software according to the installation script.
7. The system of claim 6, further comprising:
the information acquisition unit is used for acquiring the version information of an operating system of a target host, the version information of target software and the version information of dependent software corresponding to the target software; setting first installation scripts of the target software aiming at different operating systems according to the version information of each target software; setting a second installation script of the dependent software aiming at different operating systems according to the version information of each dependent software; and storing the version information of the target software, the corresponding first installation script, the version information of the dependent software and the corresponding second installation script in a preset storage unit.
8. The system of claim 7,
the script generation unit is used for checking an operating system of the target host in an operating system column in a visual interface and checking target software in a software directory column; according to the checked operating system and target software of the target host, acquiring a first installation script corresponding to the target software and a second installation script corresponding to the dependent software from the preset storage unit; and integrating the first installation script and the corresponding second installation script to generate an installation script corresponding to the installation deployment instruction.
9. The system of claim 8,
the task processing unit is used for acquiring the IP address of the target host and the account password required by login according to the address information of the target host; and sending an installation package of the target software, a first installation script corresponding to the target software, an installation package of the dependent software and a second installation script of the dependent software to the target host through a cloud or a designated server.
10. The system of claim 8,
the target host acquires an installation package of target software from a cloud or a specified server according to the installation script and depends on the installation package of the software; executing installation of the dependent software according to the second installation script; and after executing installation of the fully partially dependent software, executing installation of the target software according to the first installation script.
CN201911348366.7A 2019-12-24 2019-12-24 Automatic installation and deployment method and system Pending CN113031970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911348366.7A CN113031970A (en) 2019-12-24 2019-12-24 Automatic installation and deployment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911348366.7A CN113031970A (en) 2019-12-24 2019-12-24 Automatic installation and deployment method and system

Publications (1)

Publication Number Publication Date
CN113031970A true CN113031970A (en) 2021-06-25

Family

ID=76451782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911348366.7A Pending CN113031970A (en) 2019-12-24 2019-12-24 Automatic installation and deployment method and system

Country Status (1)

Country Link
CN (1) CN113031970A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116225460A (en) * 2023-02-15 2023-06-06 天津赛象科技股份有限公司 Method for simplifying software deployment of operators in industrial personal computers

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8190715B1 (en) * 2004-12-29 2012-05-29 Emc Corporation System and methods for remote agent installation
CN103425511A (en) * 2013-08-16 2013-12-04 北京华胜天成科技股份有限公司 System and method of installing and deploying application software in cloud computing environment
CN105099739A (en) * 2014-05-15 2015-11-25 ***通信集团公司 Plug-in type software deployment method and apparatus, and application server
CN108847950A (en) * 2018-04-02 2018-11-20 重庆金融资产交易所有限责任公司 Electronic device, cloud system software automatic deployment method and storage medium
CN108897547A (en) * 2018-06-27 2018-11-27 北京神州泰岳软件股份有限公司 A kind of software automatic deployment and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8190715B1 (en) * 2004-12-29 2012-05-29 Emc Corporation System and methods for remote agent installation
CN103425511A (en) * 2013-08-16 2013-12-04 北京华胜天成科技股份有限公司 System and method of installing and deploying application software in cloud computing environment
CN105099739A (en) * 2014-05-15 2015-11-25 ***通信集团公司 Plug-in type software deployment method and apparatus, and application server
CN108847950A (en) * 2018-04-02 2018-11-20 重庆金融资产交易所有限责任公司 Electronic device, cloud system software automatic deployment method and storage medium
CN108897547A (en) * 2018-06-27 2018-11-27 北京神州泰岳软件股份有限公司 A kind of software automatic deployment and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116225460A (en) * 2023-02-15 2023-06-06 天津赛象科技股份有限公司 Method for simplifying software deployment of operators in industrial personal computers
CN116225460B (en) * 2023-02-15 2023-10-17 天津赛象科技股份有限公司 Method for simplifying software deployment of operators in industrial personal computers

Similar Documents

Publication Publication Date Title
US10908887B2 (en) Dynamic container deployment with parallel conditional layers
US8108456B2 (en) Method and apparatus for migrating the system environment on which the applications depend
US9417865B2 (en) Determining when to update a package manager software
CN110765026B (en) Automatic test method, device, storage medium and equipment
CN105471675A (en) Method and system of testing nodes in batches
US20090288082A1 (en) System and method for performing designated service image processing functions in a service image warehouse
CN110287696B (en) Detection method, device and equipment for rebound shell process
US20090006493A1 (en) Method For Enabling Traceability And Recovery From Errors During Migration Of Software Applications
CN110673923A (en) XWIKI system configuration method, system and computer equipment
CN104317618A (en) Firmware partitioning method and device
US11144292B2 (en) Packaging support system and packaging support method
CN104850442A (en) Operating system mounting method and device
US20160124795A1 (en) Evaluation method and apparatus
WO2020257973A1 (en) Detecting hard-coded strings in source code
JP2010117957A (en) Configuration management server, name specification method, and name specification program
CN110968478A (en) Log collection method, server and computer storage medium
CN111190823A (en) UI automation test method, electronic device and computer readable storage medium
CN106095680A (en) Verification disk out-of-order automatic test method applied to Linux
CN111367890A (en) Data migration method and device, computer equipment and readable storage medium
CN113760306A (en) Method and device for installing software, electronic equipment and storage medium
CN112615758A (en) Application identification method, device, equipment and storage medium
CN112328179A (en) Configuration method and system of disk array, electronic device and readable storage medium
CN106708727B (en) Distributed virus characteristic sample verification method and system
US11973850B2 (en) System and method for automatic deployment of a cloud environment
CN113031970A (en) Automatic installation and deployment method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination