CN113885893A - Configuration method, system, equipment and medium of software management tool - Google Patents

Configuration method, system, equipment and medium of software management tool Download PDF

Info

Publication number
CN113885893A
CN113885893A CN202111007696.7A CN202111007696A CN113885893A CN 113885893 A CN113885893 A CN 113885893A CN 202111007696 A CN202111007696 A CN 202111007696A CN 113885893 A CN113885893 A CN 113885893A
Authority
CN
China
Prior art keywords
server
configuration
software management
management tool
pxe
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.)
Withdrawn
Application number
CN202111007696.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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111007696.7A priority Critical patent/CN113885893A/en
Publication of CN113885893A publication Critical patent/CN113885893A/en
Withdrawn 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
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

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

Abstract

The invention discloses a configuration method of a software management tool, which comprises the following steps: detecting the configuration of a software management tool of each server by using a PXE server; responding to the fact that no configuration file of the software management tool exists in a preset directory of the server, and establishing a configuration file of the software management tool in the preset directory of the server to be configured by using the PXE server; acquiring a version of a system installed in the server, and determining a directory address of a corresponding system image file in the PXE server according to the version; acquiring configuration parameters of a preset software management tool in the PXE server; and writing the system image file address and the configuration parameters into the configuration file as configuration items. The scheme provided by the invention can automatically configure the yum source or the apt source of the batch server in the system installation or operation process, so that the subsequent yum install or apt-get install software package can be directly used.

Description

Configuration method, system, equipment and medium of software management tool
Technical Field
The invention relates to the field of servers, in particular to a configuration method, a configuration system, a configuration device and a storage medium of a software management tool.
Background
And installing the software package in the Linux system, and directly installing a corresponding rpm package or a deb package or compiling and installing a source code package. But the simplest way is to use a software management tool provided by Linux systems, such as RHEL, CentOS yum, ubuntu, debian apt-get. The yum source or the apt source corresponding to the tools contains the dependency relationship among the software packages, and compared with the former two installation methods, the yum or apt-get installation method can automatically solve the dependency relationship among the software packages, so that the installation of the software packages becomes extremely simple and reliable.
To implement the installation of the software package using package management tools such as yum, apt-get, etc., yum sources or apt sources need to be configured first. Aiming at the problem that a server with a service running in a client intranet environment cannot be directly configured by using an yum source in the internet environment, the most common method at present is to manually configure the yum source by a method of locally mounting an iso image after the system is installed, and then update a software package. However, the number of the data center servers is large, the configuration is different, the installed systems are different, and the yum source and the apt source cannot be automatically configured in batch, so that the operation and maintenance pressure is reduced, and the operation and maintenance efficiency is improved.
Disclosure of Invention
In view of the above, in order to overcome at least one aspect of the above problems, an embodiment of the present invention provides a configuration method of a software management tool, including the following steps:
detecting the configuration of a software management tool of each server by using a PXE server;
responding to the fact that no configuration file of the software management tool exists in a preset directory of the server, and establishing a configuration file of the software management tool in the preset directory of the server to be configured by using the PXE server;
acquiring a version of a system installed in the server, and determining a directory address of a corresponding system image file in the PXE server according to the version;
acquiring configuration parameters of a preset software management tool in the PXE server;
and writing the system image file address and the configuration parameters into the configuration file as configuration items.
In some embodiments, further comprising:
a PXE server is used to install a system for each server.
In some embodiments, installing a system for each server using a PXE server further comprises:
creating a plurality of subdirectories under a preset directory of the PXE server;
and respectively storing different versions of system image files under each subdirectory.
In some embodiments, further comprising:
and installing HTTP or FTP service in the PXE server, and setting a firewall through which the access to the HTTP service or the FTP service can pass through the PXE server.
In some embodiments, further comprising:
in response to the fact that the configuration files of the software management tools exist in the preset directories of the plurality of servers, judging whether the configuration items in the configuration files are correct or not; and
in response to the configuration item being incorrect, acquiring a version of a system installed in the server, and determining a directory address where a corresponding system image file in the PXE server is located according to the version;
acquiring configuration parameters of a preset software management tool in the PXE server;
and writing the system image file address and the configuration parameters into the configuration file as configuration items.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a configuration system of a software management tool, including:
the detection module is configured to detect the configuration of the software management tool of each server by using the PXE server;
the newly-built module is configured to respond to the fact that no configuration file of the software management tool exists in the preset directory of the server, and newly build the configuration file of the software management tool in the preset directory of the server to be configured by using the PXE server;
the first acquisition module is configured to acquire a version of a system installed in the server and determine a directory address where a corresponding system image file in the PXE server is located according to the version;
the second acquisition module is configured to acquire configuration parameters of a software management tool preset in the PXE server;
and the writing module is configured to write the system image file address and the configuration parameters into the configuration file as configuration items.
In some embodiments, further comprising an installation module configured to:
a PXE server is used to install a system for each server.
In some embodiments, the installation module is further configured to:
creating a plurality of subdirectories under a preset directory of the PXE server;
and respectively storing different versions of system image files under each subdirectory.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and
a memory storing a computer program operable on the processor, wherein the processor executes the program to perform the steps of any of the software management tool configuration methods described above.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which when executed by a processor performs the steps of the configuration method of any one of the software management tools described above.
The invention has the following beneficial technical effects: the scheme provided by the invention can automatically configure yum sources or apt sources of batch servers in the system installation or operation process aiming at the conditions that the number of data center servers is large, the system versions are different, and the external network yum sources or apt sources cannot be directly used by connecting with the external network, so that the subsequent yum install or apt-get install software packages can be directly used.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a configuration method of a software management tool according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a configuration system of a software management tool according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
According to an aspect of the present invention, an embodiment of the present invention provides a configuration method of a software management tool, as shown in fig. 1, which may include the steps of:
s1, detecting the configuration of the software management tool of each server by using the PXE server;
s2, in response to the fact that no configuration file of the software management tool exists in the preset directory of the server, newly building a configuration file of the software management tool in the preset directory of the server to be configured by using the PXE server;
s3, acquiring the version of the system installed in the server, and determining the directory address of the corresponding system image file in the PXE server according to the version;
s4, acquiring configuration parameters of a software management tool preset in the PXE server;
s5, writing the system image file address and the configuration parameter as configuration items into the configuration file.
The scheme provided by the invention can automatically configure yum sources or apt sources of batch servers in the system installation or operation process aiming at the conditions that the number of data center servers is large, the system versions are different, and the external network yum sources or apt sources cannot be directly used by connecting with the external network, so that the subsequent yum install or apt-get install software packages can be directly used.
In some embodiments, further comprising:
the system is installed for each server using the PXE server.
In some embodiments, installing the system to the server using the PXE server further comprises:
creating a plurality of subdirectories under a preset directory of the PXE server;
and respectively storing different versions of system image files under each subdirectory.
In some embodiments, further comprising:
and installing HTTP or FTP service in the PXE server, and setting a firewall through which the access to the HTTP service or the FTP service can pass through the PXE server.
In some embodiments, further comprising:
in response to the fact that the configuration files of the software management tools exist in the preset directories of the plurality of servers, judging whether the configuration items in the configuration files are correct or not;
in response to the configuration item being incorrect, acquiring the version of the system installed in the server, and determining the directory address of the corresponding system image file in the PXE server according to the version;
acquiring configuration parameters of a preset software management tool in the PXE server;
and writing the system image file address and the configuration parameters into the configuration file as configuration items.
In some embodiments, the solution proposed by the present invention can be implemented by a source server configuration module, a source configuration setting module, a source configuration installation implementation module, and a source configuration check execution module.
In some embodiments, the source server configuration module is responsible for building an yum source or apt source server accessible through http or ftp, and the specific steps include: installing http or ftp service in an origin server (the origin server and a PXE server are the same server), and setting that the access to an http or ftp service port can pass through a firewall of the origin server; closing SELinux; and establishing a subdirectory for each specific system version under the/var/www/html directory through script setting, and automatically copying specific contents in the iso file corresponding to each system version to the/var/www/html corresponding directory.
In some embodiments, the source configuration setting module is specifically presented in the form of: yum source or apt source configures a script, which is located on the source server. Taking the yum source configuration example, the specific implementation logic of the yum source configuration script includes: the method comprises the steps of checking a system version, and creating a new corresponding system version under a/etc/yum. Note that: for RHEL8 or CentOS8 series systems, the repo configuration file needs to contain two parts of the source configuration, one pointing to the BaseOS in the image file and one pointing to the APPSTREAm.
In some embodiments, the source configuration installation implementation module specifically includes: the system adopts a PXE installation mode, an yum source or apt source configuration script of a source configuration setting module is called in a% post (i.e. a kitkstart file) of a PXE installation configuration file, after PXE automatic installation starts, yum source configuration is automatically carried out in the last stage of system installation, and after installation is finished, a software package can be directly installed by using the yum source.
In some embodiments, the source configuration check execution module is implemented to include: the source server periodically checks the source configuration of all servers in the data center. For a server to be deployed which does not adopt a PXE installation mode and does not perform source configuration or is configured incorrectly, the source server automatically issues an yum source or apt source configuration script of a source configuration setting module, executes the script, and performs yum source configuration on the server to be deployed.
The following specifically describes the solution proposed by the embodiment of the present invention by taking as an example a server to be installed with RHEL8.4 and a server installed with RHEL7.9 but not configured with yum source in a data center.
The source server configuration module is responsible for building an yum source or apt source server which can be accessed through http or ftp, and the specific steps comprise: installing http or ftp service in an origin server (the origin server and a PXE server are the same server), and setting that the access to an http or ftp service port can pass through a firewall of the origin server; closing SELinux; and establishing a subdirectory for each specific system version under the/var/www/html directory through script setting, and automatically copying specific contents in the iso file corresponding to each system version to the/var/www/html corresponding directory.
Assume the source server address: 192.168.10.1, adopting a yum source access mode in an http form, the content of the iso image file of RHEL8.4 consists of two parts, namely BaseOS and AppStream, which are automatically copied to the directory of/var/www/html/RHEL 8_4/x86_64/BaseOS and/var/www/html/RHEL 8_4/x86_64/APPSTREAM, and the content of the iso image file of RHEL7.9 is automatically copied to the directory of/var/www/html/RHEL 7_9/x86_ 64.
The presentation form of the source configuration setting module is specifically as follows: yum source or apt source configures a script, which is located on the source server. Taking yum source configuration as an example, the method specifically comprises the following steps: the method comprises the steps of checking a system version, and creating a new corresponding system version under a/etc/yum.respo.d/directory, wherein baseurl in the repo configuration file points to the directory where the source server system version image file is located, enabling 1 is set, and enabling the repo source and abandoning gpg check when gpgcheck is 0.
The source configuration installation implementation module specifically includes: the system adopts a PXE installation mode to install the RHEL8.4, an yum source or apt source configuration script of a source configuration setting module is called in a% post of a PXE installation configuration file, and the specific content of the configuration script for the RHEL8.4 system is as follows: the configuration file is created in/etc/yum.respo.d/RHEL 8_4. respo, the RHEL8_4. respo configuration file comprises two respo sources of BaseOS and APPSTREAM according to the composition characteristics of an RHEL8 series system software package, the baseuri of the two respo sources points to the directory where the image file corresponding to the system version is located, and the two sources are respectively as follows: http://192.168.10.1:80/RHEL8_4/BaseOS and http://192.168.10.1:80/RHEL8_4/AppStream, both repo sources set enabled to 1, gpgcheck to 0 enables the repo source and discards the gpg check.
After PXE automatic installation starts, yum source configuration is automatically performed in the final stage of system installation, and after installation is completed, a/etc/yum.
The source configuration checking execution module is specifically implemented by the following steps: the source server periodically checks the source configuration of all servers in the data center. For example, if a server installed with the RHEL7.9 is checked, under the condition of/etc/yum.repo.d/directory, there is no RHEL7_9.repo file, or the baseurl in the content of the file cannot be accessed and is incorrect, the source server automatically issues the yum source or apt source configuration script of the source configuration setting module, executes the script, performs yum source configuration on the server to be deployed, and finally generates the RHEL7_9.repo file under the condition of/etc/yum.repo.d/directory, wherein the baseurl in the file points to the directory http://192.168.10.1:80/RHEL7_ 9/. Installation of the software package without taking dependencies into account can then be done directly using yum install.
The scheme provided by the embodiment of the invention aims at the condition that the number of data center servers is large, the system versions are different, and the external network yum source or apt source cannot be directly used by connecting with the external network, automatically configures the yum source or apt source in the PXE installation process by configuring the source server, regularly checks the source configuration condition after the system installation is finished, and automatically issues and executes a yum source or apt source configuration script aiming at the server which does not make yum source or apt source configuration or is not configured correctly, so as to configure the yum source or the apt source. The implementation mode of automatically configuring yum sources and apt sources in batches provided by the invention can reduce operation and maintenance pressure and improve operation and maintenance efficiency.
It should be particularly noted that, the steps in the embodiments of the configuration method of the software management tool described above can be mutually intersected, replaced, added, and deleted, so that these reasonable permutation and combination transformations applied to the configuration method of the software management tool also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a configuration system 400 of a software management tool, as shown in fig. 2, including:
a detection module 401 configured to detect the configuration of the software management tool of each server by using the PXE server;
a newly building module 402, configured to respond to a detection that there is no configuration file of the software management tool in the preset directory of the server, and build a configuration file of the software management tool in the preset directory of the server to be configured by using the PXE server;
a first obtaining module 403, configured to obtain a version of a system installed in the server, and determine, according to the version, a directory address where a corresponding system image file in the PXE server is located;
a second obtaining module 404, configured to obtain configuration parameters of a software management tool preset in the PXE server;
a writing module 405 configured to write the system image file address and the configuration parameter as configuration items into the configuration file.
In some embodiments, further comprising an installation module configured to:
the system is installed for each server using the PXE server.
In some embodiments, the installation module is further configured to:
creating a plurality of subdirectories under a preset directory of the PXE server;
and respectively storing different versions of system image files under each subdirectory.
The scheme provided by the embodiment of the invention aims at the condition that the number of data center servers is large, the system versions are different, and the external network yum source or apt source cannot be directly used by connecting with the external network, automatically configures the yum source or apt source in the PXE installation process by configuring the source server, regularly checks the source configuration condition after the system installation is finished, and automatically issues and executes a yum source or apt source configuration script aiming at the server which does not make yum source or apt source configuration or is not configured correctly, so as to configure the yum source or the apt source. The implementation mode of automatically configuring yum sources and apt sources in batches provided by the invention can reduce operation and maintenance pressure and improve operation and maintenance efficiency.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 3, an embodiment of the present invention further provides a computer apparatus 501, comprising:
at least one processor 520; and
a memory 510, the memory 510 storing a computer program 511 executable on the processor, the processor 520 executing the program to perform the steps of:
s1, detecting the configuration of the software management tool of each server by using the PXE server;
s2, in response to the fact that no configuration file of the software management tool exists in the preset directory of the server, newly building a configuration file of the software management tool in the preset directory of the server to be configured by using the PXE server;
s3, acquiring the version of the system installed in the server, and determining the directory address of the corresponding system image file in the PXE server according to the version;
s4, acquiring configuration parameters of a software management tool preset in the PXE server;
s5, writing the system image file address and the configuration parameter as configuration items into the configuration file.
The scheme provided by the invention can automatically configure yum sources or apt sources of batch servers in the system installation or operation process aiming at the conditions that the number of data center servers is large, the system versions are different, and the external network yum sources or apt sources cannot be directly used by connecting with the external network, so that the subsequent yum install or apt-get install software packages can be directly used.
In some embodiments, further comprising:
the system is installed for each server using the PXE server.
In some embodiments, installing the system to the server using the PXE server further comprises:
creating a plurality of subdirectories under a preset directory of the PXE server;
and respectively storing different versions of system image files under each subdirectory.
In some embodiments, further comprising:
and installing HTTP or FTP service in the PXE server, and setting a firewall through which the access to the HTTP service or the FTP service can pass through the PXE server.
In some embodiments, further comprising:
in response to the fact that the configuration files of the software management tools exist in the preset directories of the plurality of servers, judging whether the configuration items in the configuration files are correct or not;
responding to the incorrect version, acquiring the version of the system installed in the server, and determining the directory address of the corresponding system image file in the PXE server according to the version;
acquiring configuration parameters of a preset software management tool in the PXE server;
and writing the system image file address and the configuration parameters into the configuration file as configuration items.
In some embodiments, the solution proposed by the present invention can be implemented by a source server configuration module, a source configuration setting module, a source configuration installation implementation module, and a source configuration check execution module.
The scheme provided by the embodiment of the invention aims at the condition that the number of data center servers is large, the system versions are different, and the external network yum source or apt source cannot be directly used by connecting with the external network, automatically configures the yum source or apt source in the PXE installation process by configuring the source server, regularly checks the source configuration condition after the system installation is finished, and automatically issues and executes a yum source or apt source configuration script aiming at the server which does not make yum source or apt source configuration or is not configured correctly, so as to configure the yum source or the apt source. The implementation mode of automatically configuring yum sources and apt sources in batches provided by the invention can reduce operation and maintenance pressure and improve operation and maintenance efficiency.
It should be particularly noted that, the steps in the embodiments of the configuration method of the software management tool described above can be mutually intersected, replaced, added, and deleted, so that these reasonable permutation and combination transformations applied to the configuration method of the software management tool also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 4, an embodiment of the present invention further provides a computer-readable storage medium 601, where the computer-readable storage medium 601 stores computer program instructions 610, and the computer program instructions 610, when executed by a processor, perform the following steps:
s1, detecting the configuration of the software management tool of each server by using the PXE server;
s2, in response to the fact that no configuration file of the software management tool exists in the preset directory of the server, newly building a configuration file of the software management tool in the preset directory of the server to be configured by using the PXE server;
s3, acquiring the version of the system installed in the server, and determining the directory address of the corresponding system image file in the PXE server according to the version;
s4, acquiring configuration parameters of a software management tool preset in the PXE server;
s5, writing the system image file address and the configuration parameter as configuration items into the configuration file.
The scheme provided by the invention can automatically configure yum sources or apt sources of batch servers in the system installation or operation process aiming at the conditions that the number of data center servers is large, the system versions are different, and the external network yum sources or apt sources cannot be directly used by connecting with the external network, so that the subsequent yum install or apt-get install software packages can be directly used.
In some embodiments, further comprising:
the system is installed for each server using the PXE server.
In some embodiments, installing the system to the server using the PXE server further comprises:
creating a plurality of subdirectories under a preset directory of the PXE server;
and respectively storing different versions of system image files under each subdirectory.
In some embodiments, further comprising:
and installing HTTP or FTP service in the PXE server, and setting a firewall through which the access to the HTTP service or the FTP service can pass through the PXE server.
In some embodiments, further comprising:
in response to the fact that the configuration files of the software management tools exist in the preset directories of the plurality of servers, judging whether the configuration items in the configuration files are correct or not;
responding to the incorrect version, acquiring the version of the system installed in the server, and determining the directory address of the corresponding system image file in the PXE server according to the version;
acquiring configuration parameters of a preset software management tool in the PXE server;
and writing the system image file address and the configuration parameters into the configuration file as configuration items.
In some embodiments, the solution proposed by the present invention can be implemented by a source server configuration module, a source configuration setting module, a source configuration installation implementation module, and a source configuration check execution module.
The scheme provided by the embodiment of the invention aims at the condition that the number of data center servers is large, the system versions are different, and the external network yum source or apt source cannot be directly used by connecting with the external network, automatically configures the yum source or apt source in the PXE installation process by configuring the source server, regularly checks the source configuration condition after the system installation is finished, and automatically issues and executes a yum source or apt source configuration script aiming at the server which does not make yum source or apt source configuration or is not configured correctly, so as to configure the yum source or the apt source. The implementation mode of automatically configuring yum sources and apt sources in batches provided by the invention can reduce operation and maintenance pressure and improve operation and maintenance efficiency.
It should be particularly noted that, the steps in the embodiments of the configuration method of the software management tool described above can be mutually intersected, replaced, added, and deleted, so that these reasonable permutation and combination transformations applied to the configuration method of the software management tool also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for configuring a software management tool, comprising the steps of:
detecting the configuration of a software management tool of each server by using a PXE server;
responding to the fact that no configuration file of the software management tool exists in a preset directory of the server, and establishing a configuration file of the software management tool in the preset directory of the server to be configured by using the PXE server;
acquiring a version of a system installed in the server, and determining a directory address of a corresponding system image file in the PXE server according to the version;
acquiring configuration parameters of a preset software management tool in the PXE server;
and writing the system image file address and the configuration parameters into the configuration file as configuration items.
2. The method of claim 1, further comprising:
a PXE server is used to install a system for each server.
3. The method as claimed in claim 2, wherein installing a system for each server using PXE servers, further comprises:
creating a plurality of subdirectories under a preset directory of the PXE server;
and respectively storing different versions of system image files under each subdirectory.
4. The method of claim 3, further comprising:
and installing HTTP or FTP service in the PXE server, and setting a firewall through which the access to the HTTP service or the FTP service can pass through the PXE server.
5. The method of claim 1, further comprising:
in response to the fact that the configuration files of the software management tools exist in the preset directories of the plurality of servers, judging whether the configuration items in the configuration files are correct or not; and the number of the first and second groups,
in response to the configuration item being incorrect, acquiring a version of a system installed in the server, and determining a directory address where a corresponding system image file in the PXE server is located according to the version;
acquiring configuration parameters of a preset software management tool in the PXE server;
and writing the system image file address and the configuration parameters into the configuration file as configuration items.
6. A configuration system for a software management tool, comprising:
the detection module is configured to detect the configuration of the software management tool of each server by using the PXE server;
the newly-built module is configured to respond to the fact that no configuration file of the software management tool exists in the preset directory of the server, and newly build the configuration file of the software management tool in the preset directory of the server to be configured by using the PXE server;
the first acquisition module is configured to acquire a version of a system installed in the server and determine a directory address where a corresponding system image file in the PXE server is located according to the version;
the second acquisition module is configured to acquire configuration parameters of a software management tool preset in the PXE server;
and the writing module is configured to write the system image file address and the configuration parameters into the configuration file as configuration items.
7. The system of claim 6, further comprising an installation module configured to:
a PXE server is used to install a system for each server.
8. The system of claim 7, wherein the installation module is further configured to:
creating a plurality of subdirectories under a preset directory of the PXE server;
and respectively storing different versions of system image files under each subdirectory.
9. A computer device, comprising:
at least one processor; and
memory storing a computer program operable on the processor, characterized in that the processor executes the program to perform the steps of the method according to any of claims 1-5.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1-5.
CN202111007696.7A 2021-08-30 2021-08-30 Configuration method, system, equipment and medium of software management tool Withdrawn CN113885893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111007696.7A CN113885893A (en) 2021-08-30 2021-08-30 Configuration method, system, equipment and medium of software management tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111007696.7A CN113885893A (en) 2021-08-30 2021-08-30 Configuration method, system, equipment and medium of software management tool

Publications (1)

Publication Number Publication Date
CN113885893A true CN113885893A (en) 2022-01-04

Family

ID=79011869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111007696.7A Withdrawn CN113885893A (en) 2021-08-30 2021-08-30 Configuration method, system, equipment and medium of software management tool

Country Status (1)

Country Link
CN (1) CN113885893A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884812A (en) * 2022-04-20 2022-08-09 深圳市同泰怡信息技术有限公司 Method and device for automatically installing OS (operating system) by sharing same PXE (PCI extensions for instrumentation) server by multiple platforms

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884812A (en) * 2022-04-20 2022-08-09 深圳市同泰怡信息技术有限公司 Method and device for automatically installing OS (operating system) by sharing same PXE (PCI extensions for instrumentation) server by multiple platforms

Similar Documents

Publication Publication Date Title
US10922067B1 (en) System and method for installing, updating and uninstalling applications
US10430204B2 (en) System and method for cloud provisioning and application deployment
EP1142309B1 (en) Method and apparatus for operating system downloads in a set-top box environment
US8938735B2 (en) Bootstrapper and software download manager
US6301710B1 (en) System and method for creating a substitute registry when automatically installing an update program
RU2451326C2 (en) System analysis and control
CN1266597C (en) System for mounting and starting network application program
CN107368331B (en) Configuration file updating method and device for application program
WO2000068836A2 (en) Methods for managing the distribution of client bits to client computers
WO2006110991A1 (en) Method and system for controlling software version updates
US20020092011A1 (en) Methods and arrangements for managing devices
CN112506518A (en) Compiling method and device based on configuration file
CN113885893A (en) Configuration method, system, equipment and medium of software management tool
US8453141B1 (en) High performance install update
CN115421765A (en) Big data management deployment method applied to domestic operating system
CN111176720A (en) Control method and control device for running application programs in multiple systems
CN116303099A (en) Cross-platform rapid deployment method, device, medium and equipment for automatic test environment
US20150331772A1 (en) Methods for updating diagnostic tools on a hardware device and devices thereof
CN114448788A (en) Installation method, system, equipment and medium of switch system
US11500651B2 (en) Method and system for management of a local craft terminal application executed by a network element
US9389851B1 (en) System and method for providing consistency between software library repositories
Cisco Release Notes for Cisco Internetwork Performance Monitor, Release 2.3
CN112685071A (en) Application program repairing method, device, equipment and storage medium
CN110362320B (en) Command implementation method and device of application development platform
CN106959870B (en) Nginx dynamic module loading method and device

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220104