CN109254784B - Distributed software installation method and system based on web interface - Google Patents

Distributed software installation method and system based on web interface Download PDF

Info

Publication number
CN109254784B
CN109254784B CN201811150512.0A CN201811150512A CN109254784B CN 109254784 B CN109254784 B CN 109254784B CN 201811150512 A CN201811150512 A CN 201811150512A CN 109254784 B CN109254784 B CN 109254784B
Authority
CN
China
Prior art keywords
installation
node
software
web
address
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.)
Active
Application number
CN201811150512.0A
Other languages
Chinese (zh)
Other versions
CN109254784A (en
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.)
GUANGZHOU DINGJIA COMPUTER TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU DINGJIA COMPUTER 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 GUANGZHOU DINGJIA COMPUTER TECHNOLOGY Co Ltd filed Critical GUANGZHOU DINGJIA COMPUTER TECHNOLOGY Co Ltd
Priority to CN201811150512.0A priority Critical patent/CN109254784B/en
Publication of CN109254784A publication Critical patent/CN109254784A/en
Application granted granted Critical
Publication of CN109254784B publication Critical patent/CN109254784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

The present invention relates to a kind of distributed software installation method and system, computer equipment, computer storage medium based on web interface.The above method includes: the browser display installation page for installing service operation by web after installation file operation, several nodes to be installed of user's selection are read by the installation page;According to node configuration node installation parameter to be installed, software installation is carried out in each node to be installed respectively;Whether the installation progress information that each node to be installed of service acquisition is installed by web, complete software installation according to installation progress infomation detection;The access address of the node to be installed is jumped to the software newly installed after server end starts the software newly installed at the node to be installed by the server end of poll cluster after the completion of software installation.This invention simplifies distributed software installation processes can also make user more experience the software of above-mentioned new installation in time on the basis of improving node software installation effectiveness to be installed.

Description

Distributed software installation method and system based on web interface
Technical field
The present invention relates to computer software technical fields, pacify more particularly to a kind of distributed software based on web interface Fill method and system, computer equipment, computer storage medium.
Background technique
Select software installation scheme appropriate that can dramatically promote the usage experience of distributed type assemblies.Distribution collection Distributed software mounting means in group usually requires to rely on shell (pure order line) or shell dialog is (graphical Shell), the cluster installation being directed to needs to execute in different scripts from the two installation processes of node installation, is easy Keep the distributed software installation process of cluster complicated.
Summary of the invention
Based on this, it is necessary to be easy to ask the technology of the distributed software installation process complexity of cluster for traditional scheme Topic, provides a kind of distributed software installation method and system, computer equipment, computer storage medium based on web interface.
A kind of distributed software installation method based on web interface, comprising:
The browser display installation page for installing service operation by web after installation file operation, passes through the installation The page reads several nodes to be installed of user's selection;
According to the node configuration node installation parameter to be installed, software installation is carried out in each node to be installed respectively;
The installation progress information that each node to be installed of service acquisition is installed by the web, according to the installation progress Whether infomation detection completes software installation;
The server end of poll cluster after the completion of software installation starts at the node to be installed in the server end The access address of the node to be installed is jumped into the software newly installed after the software newly installed.
The above-mentioned distributed software installation method based on web interface can install controlling terminal operation installation file, pass through Web installs the browser display installation page of service operation, several for needing to carry out software installation are read by the installation page Node to be installed carries out software peace in each node to be installed respectively according to above-mentioned node configuration node installation parameter to be installed Dress carries out corresponding software installation to control each node to be installed by above-mentioned installation controlling terminal, simplifies point of cluster Cloth software installation process can also install the installation progress information of each node to be installed of service acquisition, according to institute by web State whether installation progress infomation detection completes software installation, the server end of poll cluster after the completion of software installation, described Server end jumps to the access address of the node to be installed newly after starting the software newly installed at the node to be installed The software of installation jumps to the software of the installation file characterization, newly installs to each node to be installed in time convenient for user Software accordingly detected, on the basis of improving node software installation effectiveness to be installed, user can also be made more timely Experience the software of above-mentioned new installation in ground.
In one embodiment, described that peace is shown by the browser that web installs service operation after installation file operation The page is filled, before the process that several nodes to be installed that user selects are read by the installation page, further includes:
Start installation file, decompresses the associated file packet of the installation file, starting web installation service, into the web The browser of service operation is installed.
In one embodiment, described according to the node configuration node installation parameter to be installed, respectively each wait pacify Dress node carry out software installation process include:
Read the root password of user's input, the node IP address of Setup Type and each node to be installed;
The validity of each node IP address of service verification is installed by web;
If the node IP address is effective, the associated outer net network interface card of the node IP address is selected, the outer net net is configured The cluster installation parameter of card installs service verification cluster installation parameter by web;
If the cluster installation parameter by verifying, carries out software installation in each node to be installed respectively.
The present embodiment can carry out root password, the section of Setup Type and each node to be installed by an interface The reading of the nodes installation parameters such as IP address is put, the page quantity in streamlined software installation process is further simplified software installation Process.
As one embodiment, it is described by web install each node IP address of service verification validity process it Afterwards, further includes:
If the node IP address is invalid, the root password for executing and reading user's input, Setup Type and each are returned The process of the node IP address of node to be installed.
The present embodiment returns to execute and reads the root password that user inputs when node IP address is invalid, Setup Type, with And the process of the node IP address of each node to be installed, root password needed for making user re-enter software installation, installation The node IP address of type and each node to be installed guarantees the validity of subsequent node IP address, to guarantee to be installed The smooth installation of software at node.
As one embodiment, if the node IP address is effective, service verification cluster installation ginseng is installed by web After several processes, further includes:
If the cluster installation parameter, which not over verifying, returns to execute, selectes the associated outer net net of the node IP address Card, configures the process of the cluster installation parameter of the outer net network interface card.
For the present embodiment in cluster installation parameter not over verifying, it is associated outer that the node IP address is selected in return execution Net network interface card configures the process of the cluster installation parameter of the outer net network interface card, the configuration of cluster installation parameter is re-started, with timely Above-mentioned cluster installation parameter is accordingly corrected in amendment, makes it through verifying, can make tribute for the smooth installation of subsequent software It offers.
In one embodiment, the server end of poll cluster after the completion of software installation, in the server end Start the access address of the node to be installed is jumped to after the software newly installed at the node to be installed newly install it is soft After the process of part, further includes:
It identifies the newly-increased node newly accessed, chooses any one node in the cluster as control node;
Installation file is run in the control node, the browser display installation page of service operation is installed by web, is led to The node installation parameter for increasing node described in the installation page configuration newly is crossed, carries out software installation in the newly-increased node.
The present embodiment can identify the newly-increased node newly accessed by installation controlling terminal, choose any one section in the cluster Point is that newly-increased node carries out corresponding software installation as control node, improves the convenience of newly-increased node software installation process Property.
As one embodiment, after the newly-increased node carries out software installation, further includes:
The installation progress information for increasing node described in service acquisition newly is installed by the web, is believed according to the installation progress Breath detects whether the newly-increased node completes software installation;
The access address of newly-increased node is jumped to the software newly installed after the completion of the software installation.
The present embodiment can obtain the installation progress information of newly-increased node at control node, pacify to the software of newly-increased node The exhibition of threading is accordingly monitored, and the access address of newly-increased node can also be jumped to new installation after corresponding software is installed Software, show the software newly installed on newly-increased node in time.
A kind of distributed software installation system based on web interface, comprising:
Display module, for the browser display installation page of service operation to be installed by web after installation file is run, Several nodes to be installed of user's selection are read by the installation page;
Configuration module is used for according to the node configuration node installation parameter to be installed, respectively in each node to be installed Carry out software installation;
Module is obtained, for installing the installation progress information of each node to be installed of service acquisition by the web, according to Whether the installation progress infomation detection completes software installation;
Poller module starts institute in the server end for the server end of poll cluster after the completion of software installation It states and the access address of the node to be installed is jumped into the software newly installed after the software newly installed at node to be installed.
The above-mentioned distributed software installation system based on web interface can install controlling terminal operation installation file, pass through Web installs the browser display installation page of service operation, several for needing to carry out software installation are read by the installation page Node to be installed carries out software peace in each node to be installed respectively according to above-mentioned node configuration node installation parameter to be installed Dress carries out corresponding software installation to control each node to be installed by above-mentioned installation controlling terminal, simplifies the soft of cluster Part installation process can also install the installation progress information of each node to be installed of service acquisition, according to the installation by web Progress msg detects whether to complete software installation, the server end of poll cluster after the completion of software installation, in the server End, which starts to jump to the access address of the node to be installed after the software newly installed at the node to be installed, newly installs Software jumps to the software of the installation file characterization, the software newly installed to each node to be installed in time convenient for user It is accordingly detected, on the basis of improving node software installation effectiveness to be installed, user can also be made more to experience in time The software of above-mentioned new installation.
A kind of computer equipment, including memory, processor and be stored on the memory and can be in the processing The computer program run on device, the processor realize the base that any of the above-described embodiment provides when executing the computer program In the distributed software installation method of web interface.
A kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor The distributed software installation method based on web interface that any of the above-described embodiment of Shi Shixian provides.
Distributed software installation method according to the present invention based on web interface, the present invention also provides a kind of computers to set Standby and computer storage medium, for realizing the above-mentioned distributed software installation method based on web interface by program.Above-mentioned meter The operating quantity in cluster distributed software installation process can be reduced by calculating machine equipment and computer storage medium, improve software installation Efficiency.
Detailed description of the invention
Fig. 1 is the distributed software installation method flow chart based on web interface of one embodiment;
Fig. 2 is the distributed software installation system structural schematic diagram based on web interface of one embodiment;
Fig. 3 is the computer system module map of one embodiment.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, And the scope of protection of the present invention is not limited.
It should be noted that term involved in the embodiment of the present invention " first second third " be only distinguish it is similar Object does not represent the particular sorted for object, it is possible to understand that ground, " first second third " can be mutual in the case where permission Change specific sequence or precedence.It should be understood that the object that " first second third " is distinguished in the appropriate case can be mutual It changes, so that the embodiment of the present invention described herein can be real with the sequence other than those of illustrating or describing herein It applies.
The term " includes " of the embodiment of the present invention and " having " and their any deformations, it is intended that cover non-exclusive Include.Such as contain series of steps or module process, method, system, product or equipment be not limited to it is listed Step or module, but optionally further comprising the step of not listing or module, or optionally further comprising for these processes, side Method, product or equipment intrinsic other steps or module.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Referenced herein " multiple " refer to two or more."and/or", the association for describing affiliated partner are closed System indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, individualism These three situations of B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Refering to what is shown in Fig. 1, Fig. 1 is the distributed software installation method flow chart based on web interface of one embodiment, packet It includes:
S10 installs the browser display installation page of service operation, by described after installation file operation by web Several nodes to be installed that the page reads user's selection are installed;
Cluster includes one group of mutually independent node, the smart machines such as each node configuration computer.Above-mentioned installation file It can be installation file corresponding to distributed storage software distributed software, installation file may include shell script.In When needing to carry out distributed software installation to one or more node in distributed type assemblies, it can be selected in distributed type assemblies Take any one node as installation controlling terminal, in installation files such as above-mentioned installation controlling terminal operation shell scripts.
After above-mentioned installation file is run successfully, installation controlling terminal can be set according to user for Current software installation requirements The nodal information set prints node and port where installation service, and user can select to need by the above-mentioned installation page Several nodes to be installed for carrying out software installation make to install the page to the node to be installed progress phase for needing to carry out software installation It should read;Above-mentioned node to be installed can be all nodes of cluster currently, or the current included a part of cluster Node.
S20 carries out software peace in each node to be installed respectively according to the node configuration node installation parameter to be installed Dress;
Above-mentioned node installation parameter carries out corresponding configuration according to node to be installed, and node installation parameter may include root close The information such as the node IP address of code, Setup Type, each node to be installed.Above-mentioned steps can join the node installation configured Number is verified, such as using the legitimacy and necessity of related regular expression detection node installation parameter, to above-mentioned node Installation parameter is accordingly verified, and after above-mentioned node installation parameter is by verifying, is carried out respectively in each node to be installed soft Part installation, to guarantee the validity of software installation work on each node to be installed.
S30 installs the installation progress information of each node to be installed of service acquisition by the web, according to the installation Progress msg detects whether to complete software installation;
Controlling terminal is installed in the software installation process of each node to be installed, GET method poll cluster can be used Server end (end server), monitor installation progress, the end server can return current each to be installed after each poll Node installation progress percentage specifically can render progress bar by JavaScript, obtain installation controlling terminal each wait pacify Fill the installation progress information of node;Any one installation progress information can be specifically installed by installation controlling terminal with this respectively The corresponding node to be installed of degree information is associated, corresponding to be identified by each associated installation progress information of node to be installed Whether the software installation process of node to be installed is normal, and the software installation process of node to be installed is abnormal (exception) if it exists, Software (corresponding distributed software) install failure for showing current cluster can show install failure reason, prompt solution party Formula, and execution is returned according to the node configuration node installation parameter to be installed, software is carried out in each node to be installed respectively The process of installation;If the software installation process of node to be installed continues normally, until corresponding progress bar has rendered, show current soft Part installation is completed.
S40, the server end of poll cluster after the completion of software installation start the section to be installed in the server end The access address of the node to be installed is jumped into the software newly installed after the software newly installed at point.
In above-mentioned steps after the completion of software installation, installation controlling terminal can make above-mentioned clothes with the server end of poll cluster Business device end starts the software newly installed at the node to be installed, and installation controlling terminal in this way can be by the node to be installed Access address jump to the software newly installed, carried out convenient for the software that user in time newly installs each node to be installed corresponding Detection or experience.
Distributed software installation method provided in this embodiment based on web interface can install controlling terminal operation peace File is filled, the browser display installation page of service operation is installed by web, needs to carry out software peace by installation page reading Several nodes to be installed of dress, according to above-mentioned node configuration node installation parameter to be installed, respectively in each node to be installed Software installation is carried out, corresponding software installation is carried out to control each node to be installed by above-mentioned installation controlling terminal, simplifies The software installation process of cluster can also pass through the installation progress information that web installs service acquisition each node to be installed, root Whether software installation is completed according to the installation progress infomation detection, the server end of poll cluster, In after the completion of software installation The server end jumps the access address of the node to be installed after starting the software newly installed at the node to be installed To the software newly installed, that is, the software of the installation file characterization is jumped to, it is new to each node to be installed in time convenient for user The software of installation is accordingly detected, and on the basis of improving node software installation effectiveness to be installed, can also make user more The software of above-mentioned new installation is experienced in time.
In one embodiment, described that peace is shown by the browser that web installs service operation after installation file operation The page is filled, before the process that several nodes to be installed that user selects are read by the installation page, further includes:
Start installation file, decompresses the associated file packet of the installation file, starting web installation service, into the web The browser of service operation is installed.
Above-mentioned installation file may include shell script, and the present embodiment can execute web_ in installation controlling terminal Install.sh decompresses the file packet of above-mentioned shell script association to start corresponding shell script, initial configuration file, Start web installation service, after shell script execution is successfully installation file operation, prints the section where web installation service Point and port, into the browser of web installation service operation, so that the browser display installation page, above-mentioned installation page Face can install configuration information setting selection input frame to cluster, so that user can be by selecting the information such as node to be installed Input mode inputs the corresponding nodal information of Current software installation requirements, by keyboard etc. cumbersome in traditional software installation process Input mode is reduced to mouse known to user and clicks, and promotes the ease for use in installation process;Installation controlling terminal can also lead to It crosses the above-mentioned installation page and reads user according to the selected node to be installed of Current software installation requirements, guarantee subsequent software installation Validity.
In one embodiment, described according to the node configuration node installation parameter to be installed, respectively each wait pacify Dress node carry out software installation process include:
Read the root password of user's input, the node IP address of Setup Type and each node to be installed;
The validity of each node IP address of service verification is installed by web;
If the node IP address is effective, the associated outer net network interface card of the node IP address is selected, the outer net net is configured The cluster installation parameter of card installs service verification cluster installation parameter by web;
If the cluster installation parameter by verifying, carries out software installation in each node to be installed respectively.
The present embodiment can carry out root password, the section of Setup Type and each node to be installed by an interface The reading of the point nodes installation parameter such as IP address, specifically can to all root passwords included by cluster, Setup Type and The nodes installation parameter such as node IP address is stored in advance, and setting selection input frame makes user by pulling down the input mode of selection Input above-mentioned root password, the node IP address of Setup Type and each node to be installed, to combine the control in installation process Part, the page quantity in streamlined software installation process, is further simplified software installation process.
It is alternatively possible to by POST mode, by the validity of the web installation each node IP address of service verification, true Determine node IP address it is effective after, carry out outer net network interface card cluster installation parameter configuration, to guarantee the validity of configuration work.On The cluster installation parameter for stating outer net network interface card includes the parameters such as outer net VIP, mask, in the cluster installation parameter of configuration outer net network interface card Afterwards, service verification cluster installation parameter can be installed by web, whether just to detect above-mentioned cluster installation parameter by POST mode Really, if cluster installation parameter is normal, show that cluster installation parameter by verifying, if cluster installation parameter is incorrect, shows cluster Installation parameter is not over verifying;After cluster installation parameter is by verifying, software peace is carried out in each node to be installed respectively Dress further ensures the validity of software installation work.
As one embodiment, it is described by web install each node IP address of service verification validity process it Afterwards, further includes:
If the node IP address is invalid, the root password for executing and reading user's input, Setup Type and each are returned The process of the node IP address of node to be installed.
The present embodiment returns to execute and reads the root password that user inputs when node IP address is invalid, Setup Type, with And the process of the node IP address of each node to be installed, root password needed for making user re-enter software installation, installation The node IP address of type and each node to be installed guarantees the validity of subsequent node IP address, to guarantee to be installed The smooth installation of software at node.
As one embodiment, if the node IP address is effective, service verification cluster installation ginseng is installed by web After several processes, further includes:
If the cluster installation parameter, which not over verifying, returns to execute, selectes the associated outer net net of the node IP address Card, configures the process of the cluster installation parameter of the outer net network interface card.
For the present embodiment in cluster installation parameter not over verifying, it is associated outer that the node IP address is selected in return execution Net network interface card configures the process of the cluster installation parameter of the outer net network interface card, the configuration of cluster installation parameter is re-started, with timely Above-mentioned cluster installation parameter is accordingly corrected in amendment, makes it through verifying, can make tribute for the smooth installation of subsequent software It offers.
In one embodiment, the server end of poll cluster after the completion of software installation, in the server end Start the access address of the node to be installed is jumped to after the software newly installed at the node to be installed newly install it is soft After the process of part, further includes:
It identifies the newly-increased node newly accessed, chooses any one node in the cluster as control node;
Installation file is run in the control node, the browser display installation page of service operation is installed by web, is led to The node installation parameter for increasing node described in the installation page configuration newly is crossed, carries out software installation in the newly-increased node.
Include: above by the process for installing the node installation parameter of newly-increased node described in page configuration
The node IP address (node IP of newly-increased node) that user's input is read by the installation page, by the side POST Formula (specifically can be used regular expression proving correctness and pass through later by web installation service verification node IP address validity POST mode is sent to the end server verifying availability), if node IP address is effective, software peace is carried out in the newly-increased node Dress;If node IP address is invalid, the process for executing the node IP address that user's input is read by the installation page is returned, Until the verification result of node IP address is effective.
Specifically, above-mentioned control node can star the installation files such as shell script, decompression related dependant packet (installation text The associated file packet of part), initial configuration file, starting web installation service is successfully installation file fortune in shell script execution After row, node and the port at web installation service place are printed, into the browser of web installation service operation, so that The browser display installation page.
The present embodiment can identify the newly-increased node newly accessed by installation controlling terminal, choose any one section in the cluster Point is that newly-increased node carries out corresponding software installation as control node, improves the convenience of newly-increased node software installation process Property.
As one embodiment, after the newly-increased node carries out software installation, further includes:
The installation progress information for increasing node described in service acquisition newly is installed by the web, is believed according to the installation progress Breath detects whether the newly-increased node completes software installation;
The access address of newly-increased node is jumped to the software newly installed after the completion of the software installation.
The server end of GET request poll cluster can be used in the software installation process of newly-increased node in control node (end server) monitors installation progress, and the end server can return to newly-increased node after each poll and be currently installed on progress percentage Than making control node obtain the installation progress information of newly-increased node in real time;Control node can also identify the software of newly-increased node Whether installation process is normal, and the software installation process for increasing node newly if it exists is abnormal (exception), shows currently to increase node newly soft Part install failure can show install failure reason, prompt settling mode, and return to execution by installation page configuration institute State the process of the node installation parameter of newly-increased node;If the software installation process of newly-increased node continues normally, until corresponding progress Item has rendered, and shows that Current software installation is completed, the access address that control node can control newly-increased node jumps to new peace The software of dress, the software of its new installation is accordingly detected and be experienced in newly-increased node.
The present embodiment can obtain the installation progress information of newly-increased node at control node, pacify to the software of newly-increased node The exhibition of threading is accordingly monitored, and the access address of newly-increased node can also be jumped to new installation after corresponding software is installed Software, show the software newly installed on newly-increased node in time.
The distributed software installation system structural representation based on web interface of one embodiment is shown with reference to Fig. 2, Fig. 2 Figure, comprising:
Display module 10, for installing the browser display installation page of service operation by web after installation file is run Several nodes to be installed of user's selection are read in face by the installation page;
Configuration module 20 is used for according to the node configuration node installation parameter to be installed, respectively in each section to be installed Point carries out software installation;
Module 30 is obtained, for installing the installation progress information of each node to be installed of service acquisition, root by the web Whether software installation is completed according to the installation progress infomation detection;
Poller module 40 starts for the server end of poll cluster after the completion of software installation in the server end The access address of the node to be installed is jumped into the software newly installed after the software newly installed at the node to be installed.
In one embodiment, the above-mentioned distributed software installation system based on web interface can also include:
Starting module decompresses the associated file packet of the installation file, starting web installation clothes for starting installation file Business, into the browser of web installation service operation.
In one embodiment, the configuration module is further used for:
Read the root password of user's input, the node IP address of Setup Type and each node to be installed;
The validity of each node IP address of service verification is installed by web;
If the node IP address is effective, the associated outer net network interface card of the node IP address is selected, the outer net net is configured The cluster installation parameter of card installs service verification cluster installation parameter by web;
If the cluster installation parameter by verifying, carries out software installation in each node to be installed respectively.
As one embodiment, the configuration module is further used for:
If the node IP address is invalid, the root password for executing and reading user's input, Setup Type and each are returned The process of the node IP address of node to be installed.
As one embodiment, the configuration module is further used for:
If the cluster installation parameter, which not over verifying, returns to execute, selectes the associated outer net net of the node IP address Card, configures the process of the cluster installation parameter of the outer net network interface card.
In one embodiment, the above-mentioned distributed software installation system based on web interface can also include:
Identification module, the newly-increased node newly accessed for identification choose any one node as control node in the cluster;
Module is run, for running installation file in the control node, the browser for installing service operation by web is aobvious Show the installation page, by increasing the node installation parameter of node described in the installation page configuration newly, is carried out in the newly-increased node Software installation.
As one embodiment, the above-mentioned distributed software installation system based on web interface can also include:
Detection module, for installing the installation progress information for increasing node described in service acquisition newly by the web, according to institute It states and increases whether node completes software installation newly described in installation progress infomation detection;
Jump module, for the access address of newly-increased node is jumped to after the completion of the software installation newly install it is soft Part.
Fig. 3 is the module map for being able to achieve a computer system 1000 of the embodiment of the present invention.The computer system 1000 An only example for being suitable for the invention computer environment is not construed as proposing appointing to use scope of the invention What is limited.Computer system 1000 can not be construed to need to rely on or the illustrative computer system 1000 with diagram In one or more components combination.
Computer system 1000 shown in Fig. 3 is the example for being suitable for computer system of the invention.Have Other frameworks of different sub-systems configuration also can be used.Such as to have big well known desktop computer, notebook etc. similar Equipment can be adapted for some embodiments of the present invention.But it is not limited to equipment enumerated above.
As shown in figure 3, computer system 1000 includes processor 1010, memory 1020 and system bus 1022.Including Various system components including memory 1020 and processor 1010 are connected on system bus 1022.Processor 1010 is one For executing the hardware of computer program instructions by arithmetic sum logical operation basic in computer system.Memory 1020 It is one for temporarily or permanently storing the physical equipment of calculation procedure or data (for example, program state information).System is total Line 1020 can be any one in the bus structures of following several types, including memory bus or storage control, outer If bus and local bus.Processor 1010 and memory 1020 can carry out data communication by system bus 1022.Wherein Memory 1020 includes read-only memory (ROM) or flash memory (being all not shown in figure) and random access memory (RAM), RAM Typically refer to the main memory for being loaded with operating system and application program.
Computer system 1000 further includes display interface 1030 (for example, graphics processing unit), display 1040 (example of equipment Such as, liquid crystal display), audio interface 1050 (for example, sound card) and audio frequency apparatus 1060 (for example, loudspeaker).Show equipment 1040 can be used for the display at the interfaces such as the related installation page.
Computer system 1000 generally comprises a storage equipment 1070.Storing equipment 1070 can from a variety of computers It reads to select in medium, computer-readable medium refers to any available medium that can be accessed by computer system 1000, Including mobile and fixed two media.For example, computer-readable medium includes but is not limited to, flash memory (miniature SD Card), CD-ROM, digital versatile disc (DVD) or other optical disc storages, cassette, tape, disk storage or other magnetic storages are set Any other medium that is standby, or can be used for storing information needed and can be accessed by computer system 1000.
Computer system 1000 further includes input unit 1080 and input interface 1090 (for example, I/O controller).User can With by input unit 1080, such as the touch panel equipment in keyboard, mouse, display device 1040, input instruction and information are arrived In computer system 1000.Input unit 1080 is usually connected on system bus 1022 by input interface 1090, but It can also be connected by other interfaces or bus structures, such as universal serial bus (USB).
Computer system 1000 can carry out logical connection with one or more network equipment in a network environment.Network is set It is standby to can be PC, server, router, tablet computer or other common network nodes.Computer system 1000 is logical It crosses local area network (LAN) interface 1100 or mobile comm unit 1110 is connected with the network equipment.Local area network (LAN) refers to having It limits in region, such as family, school, computer laboratory or the office building using the network media, interconnects the computer of composition Network.WiFi and twisted pair wiring Ethernet are two kinds of technologies of most common building local area network.WiFi is a kind of to make to calculate 1000 swapping data of machine system or the technology that wireless network is connected to by radio wave.Mobile comm unit 1110 can be one It answers and makes a phone call by radio communication diagram while movement in a wide geographic area.Other than call, move Dynamic communication unit 1110 is also supported to carry out internet visit in 2G, 3G or the 4G cellular communication system for providing mobile data service It asks.
It should be pointed out that other includes than the computer system of the more or fewer subsystems of computer system 1000 It can be suitably used for inventing.As detailed above, being suitable for the invention computer system 1000 can execute based on web interface The specified operation of distributed software installation method.Computer system 1000 operates in computer-readable medium by processor 1010 In the form of software instruction execute these operations.These software instructions from storage equipment 1070 or can pass through local area network Interface 1100 is read into memory 1020 from another equipment.The software instruction being stored in memory 1020 makes processor 1010 execute the above-mentioned distributed software installation method based on web interface.In addition, passing through hardware circuit or hardware circuit knot Closing software instruction also can equally realize the present invention.Therefore, realize that the present invention is not limited to any specific hardware circuit and softwares Combination.
The distributed software installation system based on web interface of the invention and the distribution of the invention based on web interface Software installation method corresponds, in the technology that the embodiment of the above-mentioned distributed software installation method based on web interface illustrates Feature and its advantages are suitable for the embodiment of the distributed software installation system based on web interface.
Based on example as described above, a kind of computer equipment is also provided in one embodiment, the computer equipment packet The computer program that includes memory, processor and storage on a memory and can run on a processor, wherein processor executes It realizes when described program such as any one distributed software installation method based on web interface in the various embodiments described above.
Above-mentioned computer equipment realizes software installation in cluster by the computer program run on the processor The simplification of process.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, it is non-volatile computer-readable that the program can be stored in one It takes in storage medium, in the embodiment of the present invention, which be can be stored in the storage medium of computer system, and by the calculating At least one processor in machine system executes, and includes the distributed software installation method as above-mentioned based on web interface with realization Embodiment process.Wherein, the storage medium can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Accordingly, a kind of computer storage medium is also provided in one embodiment, is stored thereon with computer program, In, it realizes when which is executed by processor such as any one distributed software based on web interface in the various embodiments described above Installation method.
Above-mentioned computer storage medium can simplify the distribution based on web interface by the computer program that it is stored Software installation process improves software installation efficiency.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of distributed software installation method based on web interface characterized by comprising
The browser display installation page for installing service operation by web after installation file operation, passes through the installation page Read several nodes to be installed of user's selection;
According to the node configuration node installation parameter to be installed, software installation is carried out in each node to be installed respectively;
The installation progress information that each node to be installed of service acquisition is installed by the web, according to the installation progress information It detects whether to complete software installation;
The server end of poll cluster after the completion of software installation starts in the server end and newly pacifies at the node to be installed The access address of the node to be installed is jumped into the software newly installed after the software of dress;
The installation progress information for installing each node to be installed of service acquisition by the web specifically includes: using the side GET The wheel of the law askes the server end of cluster, monitors installation progress, obtains server end after each poll, is rendered by JavaScript Current each node installation progress percentage to be installed that progress bar returns;
It is described according to the node configuration node installation parameter to be installed, carry out software installation tool in each node to be installed respectively Body includes;
Read the root password of user's input, the node IP address of Setup Type and each node to be installed;
The validity of each node IP address of service verification is installed by web;
If the node IP address is effective, the associated outer net network interface card of the node IP address is selected, the outer net network interface card is configured Cluster installation parameter installs service verification cluster installation parameter by web;
If the cluster installation parameter by verifying, carries out software installation in each node to be installed respectively;
It is described by web install each node IP address of service verification validity the step of include:
By POST mode, by the validity of the web installation each node IP address of service verification.
2. the distributed software installation method according to claim 1 based on web interface, which is characterized in that described to pacify The browser display installation page for installing service operation after dress running paper by web, passes through the installation page and reads user Before the step of several nodes to be installed of selection, further includes:
Start installation file, decompress the associated file packet of the installation file, starting web installation service is installed into the web The browser of service operation.
3. the distributed software installation method according to claim 1 based on web interface, which is characterized in that the outer net The cluster installation parameter of network interface card includes outer net VIP and mask.
4. the distributed software installation method according to claim 3 based on web interface, which is characterized in that described to pass through Web was installed after the step of validity of each node IP address of service verification, further includes:
If the node IP address is invalid, the root password for executing and reading user's input, Setup Type and each wait pacify are returned The step of filling the node IP address of node.
5. the distributed software installation method according to claim 3 based on web interface, which is characterized in that if the institute After the step of it is effective to state node IP address, installs service verification cluster installation parameter by web, further includes:
If the cluster installation parameter, which not over verifying, returns to execute, selectes the associated outer net network interface card of the node IP address, The step of configuring the cluster installation parameter of the outer net network interface card.
6. the distributed software installation method according to any one of claims 1 to 5 based on web interface, which is characterized in that The server end of poll cluster after the completion of software installation starts in the server end and newly pacifies at the node to be installed After the step of access address of the node to be installed is jumped to the software newly installed after the software of dress, further includes:
It identifies the newly-increased node newly accessed, chooses any one node in the cluster as control node;
Installation file is run in the control node, the browser display installation page of service operation is installed by web, passes through institute The node installation parameter for increasing node described in installation page configuration newly is stated, carries out software installation in the newly-increased node.
7. the distributed software installation method according to claim 6 based on web interface, which is characterized in that described new Increasing node carries out after software installation, further includes:
The installation progress information for increasing node described in service acquisition newly is installed by the web, is examined according to the installation progress information Survey whether the newly-increased node completes software installation;
The access address of newly-increased node is jumped to the software newly installed after the completion of the software installation.
8. a kind of distributed software installation system based on web interface characterized by comprising
Display module passes through for installing the browser display installation page of service operation by web after installation file is run The installation page reads several nodes to be installed of user's selection;
Configuration module, for being carried out in each node to be installed respectively according to the node configuration node installation parameter to be installed Software installation;
Module is obtained, for installing the installation progress information of each node to be installed of service acquisition by the web, according to described Whether installation progress infomation detection completes software installation;
Poller module, for the server end of poll cluster after the completion of software installation, server end starting it is described to The access address of the node to be installed is jumped into the software newly installed after the software newly installed at installation node;
The acquisition module is specifically used for: using the server end of cluster described in GET method poll, monitoring installation progress, obtains Server end renders current each node installation progress to be installed that progress bar returns after each poll, through JavaScript Percentage;
The configuration module is further used for:
Read the root password of user's input, the node IP address of Setup Type and each node to be installed;
The validity of each node IP address of service verification is installed by web;
If the node IP address is effective, the associated outer net network interface card of the node IP address is selected, the outer net network interface card is configured Cluster installation parameter installs service verification cluster installation parameter by web;
If the cluster installation parameter by verifying, carries out software installation in each node to be installed respectively;
The configuration module is also used to:
By POST mode, by the validity of the web installation each node IP address of service verification.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to Distributed software installation method described in 7 any one based on web interface.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor The Shi Shixian distributed software installation method as claimed in any one of claims 1 to 7 based on web interface.
CN201811150512.0A 2018-09-29 2018-09-29 Distributed software installation method and system based on web interface Active CN109254784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811150512.0A CN109254784B (en) 2018-09-29 2018-09-29 Distributed software installation method and system based on web interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811150512.0A CN109254784B (en) 2018-09-29 2018-09-29 Distributed software installation method and system based on web interface

Publications (2)

Publication Number Publication Date
CN109254784A CN109254784A (en) 2019-01-22
CN109254784B true CN109254784B (en) 2019-11-12

Family

ID=65044792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811150512.0A Active CN109254784B (en) 2018-09-29 2018-09-29 Distributed software installation method and system based on web interface

Country Status (1)

Country Link
CN (1) CN109254784B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109684B (en) * 2019-04-04 2023-06-09 平安科技(深圳)有限公司 Block chain link point management proxy service installation method, electronic device and storage medium
CN113010820B (en) * 2021-03-22 2023-07-04 中国联合网络通信集团有限公司 Page data updating method, device, electronic equipment, medium and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487891A (en) * 2015-11-26 2016-04-13 航天恒星科技有限公司 Distributed cluster deploying method and system
CN106897093A (en) * 2017-02-24 2017-06-27 郑州云海信息技术有限公司 A kind of dispositions method and device of windows operating systems
CN108228197A (en) * 2016-12-20 2018-06-29 阿里巴巴集团控股有限公司 A kind of method and apparatus for installing software in the cluster

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9715516D0 (en) * 1997-07-22 1997-10-01 Orange Personal Comm Serv Ltd Data communications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487891A (en) * 2015-11-26 2016-04-13 航天恒星科技有限公司 Distributed cluster deploying method and system
CN108228197A (en) * 2016-12-20 2018-06-29 阿里巴巴集团控股有限公司 A kind of method and apparatus for installing software in the cluster
CN106897093A (en) * 2017-02-24 2017-06-27 郑州云海信息技术有限公司 A kind of dispositions method and device of windows operating systems

Also Published As

Publication number Publication date
CN109254784A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
US9940119B2 (en) Providing limited versions of applications
US9336023B2 (en) Visual generation of mobile applications based on data models
CN109325195A (en) Rendering method and system, computer equipment, the computer storage medium of browser
US10362089B1 (en) Methods and systems for dynamically generating and reusing dynamic web content
CN111669284B (en) OpenStack automatic deployment method, electronic device, storage medium and system
CN109901985B (en) Distributed test apparatus and method, storage medium, and electronic device
US10908948B2 (en) Multiple application instances in operating systems that utilize a single process for application execution
CN112988281B (en) Application starting method and device
US9396053B2 (en) Error handling in a network resource generation environment
CN109254784B (en) Distributed software installation method and system based on web interface
CN109522500A (en) Webpage display process, device, terminal and storage medium
EP3374857A1 (en) Dashboard as remote computing services
CN107368420A (en) API method of testings, device and electronic equipment
CN109147022A (en) VR data rendering method and system, computer equipment, computer storage medium
CN109542470A (en) Configuration, installation method and configuration device
US7496551B1 (en) Methods and apparatus associated with advisory generation
CN114661375A (en) Application integration method and device
CN112714166B (en) Multi-cluster management method and device for distributed storage system
CN106708569B (en) Hot loading method and device for VOBC configuration file in over-the-line train
CN109388420A (en) Application upgrade test method, device, computer equipment and storage medium
CN104750553A (en) Application operating method and device
CN110471744A (en) Password amending method, device, equipment and computer readable storage medium
CN106330595A (en) Heartbeat detection method and apparatus of distributed platform
CN115237441A (en) Upgrade test method, device and medium based on cloud platform
US20220038444A1 (en) Cloud device, application processing method, electronic device and storage medium

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Distributed software installation method and system based on web interface

Effective date of registration: 20211217

Granted publication date: 20191112

Pledgee: Shanghai Pudong Development Bank Limited by Share Ltd. Guangzhou branch

Pledgor: Guangzhou Dingjia Computer Technology Co.,Ltd.

Registration number: Y2021980015367

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20221115

Granted publication date: 20191112

Pledgee: Shanghai Pudong Development Bank Limited by Share Ltd. Guangzhou branch

Pledgor: Guangzhou Dingjia Computer Technology Co.,Ltd.

Registration number: Y2021980015367

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Distributed software installation method and system based on web interface

Effective date of registration: 20221125

Granted publication date: 20191112

Pledgee: Industrial Bank Co.,Ltd. Guangzhou Development Zone sub branch

Pledgor: Guangzhou Dingjia Computer Technology Co.,Ltd.

Registration number: Y2022440000317

PE01 Entry into force of the registration of the contract for pledge of patent right