CN109445803A - A kind of method of automated quick deployment installation K-UX operating system - Google Patents
A kind of method of automated quick deployment installation K-UX operating system Download PDFInfo
- Publication number
- CN109445803A CN109445803A CN201811207617.5A CN201811207617A CN109445803A CN 109445803 A CN109445803 A CN 109445803A CN 201811207617 A CN201811207617 A CN 201811207617A CN 109445803 A CN109445803 A CN 109445803A
- Authority
- CN
- China
- Prior art keywords
- operating system
- installation
- file
- tftp
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention belongs to field of computer technology, and be related to a kind of method of automated quick deployment installation K-UX operating system, the described method comprises the following steps: setting generates automatic set-mounted archives;PXE environment is built based on Dynamic Host Configuration Protocol server and tftp server;Startup file needed for replication client is to tftp server;Dispose NFS service;Open automatic installation.The present invention once realizes every design parameter of deployment, rather than each will reconfigure once according to configuration documentation, and deployment engineer need to only establish an automatic set-mounted shelves, wherein containing all setting values required for installation K-UX.In this way, more machines will complete the work of system installation according to this archives, the set-up time is dramatically saved, improves working efficiency, reduces cost of labor.
Description
Technical field
The invention belongs to field of computer technology, are related to a kind of side of automated quick deployment installation K-UX operating system
Method.
Background technique
National 863 plan key special subjects during Langchao Tiansuo K1 is tide 11th Five-Year " high-end fault-tolerant computer development with answer
With popularization " project achievement, realize multiprocessor CC-NUMA architecture.K-UX is exactly that Langchao Tiansuo's K1 system development is set
Meter carry out using a set of operating system, be one kind of Unix operating system.
When carrying out operating system installation at present for each K1 machine, mostly using using install medium USB flash disk or
One platform of CD goes to be installed, deployment, and every machine mounting system takes around 40 minutes time, more time-consuming,
Arduously, working efficiency is greatly influenced, cost of labor is increased.
Summary of the invention
The present invention is directed to above situation, a kind of method for proposing automated quick deployment installation K-UX operating system.
To achieve the goals above, the technical scheme is that
A kind of method of automated quick deployment installation K-UX operating system, the described method comprises the following steps:
Setting generates automatic set-mounted archives;
PXE environment is built based on Dynamic Host Configuration Protocol server and tftp server;
Startup file needed for replication client is to tftp server;
Dispose NFS service;
Open automatic installation.
Specifically, the setting generates the specific steps of automatic set-mounted archives are as follows:
Set basic configuration;
Mounting means, power-on management formula are set;
Set firewall.
Specifically, generating automatic set-mounted archives by kickstart setting.
Specifically, the basic configuration includes language, keyboard, mouse, time zone, root password, family of languages support.
Specifically, the position of the automatic set-mounted archives is in/root/anaconda-ks.cfg.
Specifically, the specific steps for building PXE environment are as follows:
Configuration DHCP server, be appointed as the network of 192.168.8./24 distribution dynamic IP addressing, dynamic address pond from
192.168.8.10 to 192.168.8.200, the gateway address that client obtains is 192.168.8.2, and the address TFTP is
192.168.8.5 the entitled pxelinux.0 of startup file starts Dynamic Host Configuration Protocol server;
Tftp server is installed, configuration file disable=yes is revised as disable=no, starting xinetd service.
Specifically, specific steps of the startup file needed for the replication client to tftp server are as follows:
Software package syslinux is installed, file pxelinux.0 is copied under the root of tftp service;
Starting image file in mirror image and starting configuration text in ISO file mount file system/media, will will be installed
Part copies under TFTP share directory.
Specifically, the concrete operations of the deployment NFS service are as follows:
Nfs service support packet is installed;
Editor/etc/exports sets the IP of user or the permission of host name and share directory;
Start NFS and carries out catalogue sharing.
The invention has the benefit that
The present invention once realizes every design parameter of deployment by kickstart tool, rather than each will root
It is reconfigured once according to configuration documentation, deployment engineer need to only establish an automatic set-mounted shelves, wherein containing installation K-UX
Required all setting values.In this way, more machines will complete the work of system installation according to this archives, greatly save
Set-up time improves working efficiency, reduces cost of labor.
Detailed description of the invention
Fig. 1 is the flow diagram for the method that automated quick deployment of the invention installs K-UX operating system.
Specific embodiment
In order to clarify the technical characteristics of the invention, below by specific embodiment, and its attached drawing is combined, to this hair
It is bright to be described in detail.According to following embodiments, the present invention may be better understood.However, those skilled in the art is easy
Understand, the following examples are only intended to illustrate the technical solution of the present invention more clearly, and it is of the invention to cannot be used as a limitation limitation
Protection scope.
Fig. 1 is the flow diagram for the method that automated quick deployment of the invention installs K-UX operating system, such as Fig. 1 institute
Show, a kind of method of automated quick deployment installation K-UX operating system the described method comprises the following steps:
Setting generates automatic set-mounted archives;
PXE environment is built based on Dynamic Host Configuration Protocol server and tftp server;
Startup file needed for replication client is to tftp server;
Dispose NFS service;
Open automatic installation.
The setting generates the specific steps of automatic set-mounted archives are as follows:
Set basic configuration;
Mounting means, power-on management formula are set;
Set firewall.
Automatic set-mounted archives are generated by kickstart setting.The basic configuration include language, keyboard, mouse,
Time zone, root password, the family of languages support that the position of the automatic set-mounted archives is in/root/anaconda-ks.cfg.
Configured archives are as follows:
Install
Harddrive--partition=sdc4--dir=
key–skip
lang en_US.UTF-8
keyboard us
rootpw--iscrypted$1$UL4AT5zu$RA5VvUQA1gg5GuzhxPxoA.
Firewall--enabled--port=22:tcp
authconfig--enableshadow--enablemd5
selinux–enforcing
timezone--utc Asia/Shanghai
Bootloader--location=mbr--driveorder=sda, sdb, sdc--append=" console
=ttyS0,115200quiet "
#The following is the partition information you requested
#Note that any partitions you deleted are not expressed
#here so unless you clear all partitions first,this is
#not guaranteed to work
#clearpart--linux--drives=sda
#part/boot/efi--fstype vfat--noformat--onpart sda1
#part pv.9--size=0--grow--ondisk=sda
#volgroup VolGroup00--pesize=32768pv.9
#logvol/--fstype ext3--name=LogVol00--vgname=VolGroup00--size=
1024–grow
#logvol swap--fstype swap--name=LogVol01--vgname=VolGroup00--size=
1000--grow--maxsize=262944
……
…….
@development-tools
@graphical-internet
One complete PXE environment, which will be run, must service Dynamic Host Configuration Protocol server and tftp server to be had.Pass through PXE client
End carries out network booting, and basic PXE environment is exactly in this way, building the specific steps of PXE environment are as follows:
(1) configuration DHCP server:
Modify configuration file: vim/etc/dhcp/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.8.0netmask 255.255.255.0{
range 192.168.8.10 192.168.8.200;
option routers 192.168.8.2;
next-server 192.168.8.5
filename"pxelinux.0";
Configuration instruction: being appointed as the network of 192.168.8./24 distribution dynamic IP addressing,
Dynamic address pond is from 192.168.8.10 to 192.168.8.200;Client obtain gateway address be
192.168.8.2;The address TFTP is 192.168.8.5, the entitled pxelinux.0 of startup file.
Start DHCP service: service dhcpd start;
(2) tftp server is installed:
#yum install-y tftp-server
Modify configuration file: vim/etc/xinetd.d/tftp
service tftp
{
Disable=no starts server
Socket_type=dgram
Protocol=udp
Wait=yes
User=root
Server=/usr/sbin/in.tftpd
Server_args=-s/var/ftp/tftpboot overlapping trees are /var/ftp/tftpboot.
Per_source=11
Cps=100 2
Flags=IPv4
Tftp server is provided by tftp-server software package, and default is managed by the super service of xinetd, therefore is matched
It sets file and is located at/etc/xinetd.d/tftp.As long as " disable=yes " is changed to " disable=no " when configuration, then
Restart xinetd service.
Bootstrap for PXE network installation is pxelinux.0, is provided by software package syslinux, the duplication visitor
Startup file needed for the end of family to tftp server specific steps are as follows:
Software package syslinux is installed, is then also copied to file pxelinux.0 under the root of tftp service
yum install-y syslinux
cp/usr/share/syslinux/pxelinux.0/var/ftp/tftpboot/
Starting image file in mirror image and starting configuration text in ISO file mount file system/media, will will be installed
Part copies under TFTP share directory:
cp/media/images/pxeboot/vmlinuz/var/ftp/tftpboot/
cp/media//images/pxeboot/initrd.img/var/ftp/tftpboot/
Starting menu is used to instruct the bootup process of client computer, includes how to call kernel, how to load initialization mirror image,
The starting menu file of default is default, should be placed in the pxelinux.cfg subdirectory of tftp root, typically open
Dynamic menu configuration can refer to following operation and establish manually:
mkdir/var/ftp/tftpboot/pxelinux.cfg
cp/media/images/pxeboot/isolinux.cfg
/var/ftp/tftpboot/pxelinux.cfg/default
Modification starting configuration file is as follows:
vim/var/ftp/tftpboot/pxelinux.cfg/default
######################
default vesamenu.c32
#prompt 1# shows ' boot:' prompt.For when 0' ' do not prompt then, it will directly initiate ' default' parameter
In specify content,
Time-out time of the timeout 600# before user inputs
Display boot.msg# shows the content of some file, pays attention to the path of file.Default is in/var/ftp/
Under tftpboot/ catalogue.Also can specify position it is similar ' as/install/boot.msg', path+filename,
menu background splash.jpg
menu title Welcome to K-UX!
menu color border 0#ffffffff#00000000
The keyword that label linux#'label' specifies you to input under ' boot:' prompt, such as boot:linux
[ENTER], this will start ' kernel the and initrd.img file that marks under label linux',
menu label^Install or upgrade an existing system
menu default
Kernel vmlinuz#kernel parameter specifies kernel to be started.
Append initrd=initrd.img ks=nfs:192.168.8.5:/ks/ks.cfg
label vesa
menu label Install system with^basic video driver
kernel vmlinuz
Append initrd=initrd.img xdriver=vesa nomodeset
label rescue
menu label^Rescue installed system
kernel vmlinuz
Append initrd=initrd.img rescue
label local
menu label Boot from^local drive
localboot 0xffff
label memtest86
menu label^Memory test
kernel memtest
append-
Configuration instruction: the specified default guidance mode of default, i.e., the following various guidance modes started with label;
What kernel was specified is system kernel file;Subsequent ks parameter can specify the position of automatic response file, and this example is set as
NFS sharing mode by accessing 192.168.8.5 reads kickstart file.
Restart tftp service: service xinetd restart.
The effect of configuration DHCP server is the position that the IP and bootstrap file used is returned to client computer.
The purpose of configuration tftp server is to place security medium, is loaded and is pacified to client computer using ftp or nfs service transmission
Fill mirror image.
Specifically, the concrete operations of the deployment NFS service are as follows:
Installation nfs service support packet is carried out first:
#yum-y install nfs-utils;
Editor/etc/exports sets the IP of user or the permission of host name and share directory:
vim/etc/exports
/ks 192.168.8.0/255.255.255.0(ro)
/media 192.168.8.0/255.255.255.0(ro);
The catalogue sharing that starting NFS will can just have been set:
service nfs start。
For the client computer installed for the first time, installation source can not find from CD-ROM or hard disk, can find naturally from network
Installation source, to open automatic installation.
The above is only the specific embodiment of the application, is made skilled artisans appreciate that or realizing this Shen
Please, the protection scope of the application can not be limited with this.All equivalent change or modifications done according to the application Spirit Essence, all
It should contain in the protection scope of lid the application.
Claims (8)
1. a kind of method of automated quick deployment installation K-UX operating system, which comprises the following steps:
It is arranged and generates automatic set-mounted archives;
PXE environment is built based on Dynamic Host Configuration Protocol server and tftp server;
Startup file needed for replication client is to tftp server;
Dispose NFS service;
Open automatic installation.
2. a kind of method of automated quick deployment installation K-UX operating system as described in claim 1, which is characterized in that logical
It crosses kickstart setting and generates automatic set-mounted archives.
3. a kind of method of automated quick deployment installation K-UX operating system as claimed in claim 2, which is characterized in that institute
It states setting and generates the specific steps of automatic set-mounted archives are as follows:
Set basic configuration;
Mounting means, power-on management formula are set;
Set firewall.
4. a kind of method of automated quick deployment installation K-UX operating system as claimed in claim 3, which is characterized in that institute
Stating basic configuration includes language, keyboard, mouse, time zone, root password, family of languages support.
5. a kind of method of automated quick deployment installation K-UX operating system as claimed in claim 3, which is characterized in that institute
The position of automatic set-mounted archives is stated in/root/anaconda-ks.cfg.
6. a kind of method of automated quick deployment installation K-UX operating system as described in claim 1, which is characterized in that institute
State the specific steps for building PXE environment are as follows:
Configuration DHCP server, be appointed as the network of 192.168.8./24 distribution dynamic IP addressing, dynamic address pond from
192.168.8.10 to 192.168.8.200, the gateway address that client obtains is 192.168.8.2, and the address TFTP is
192.168.8.5 the entitled pxelinux.0 of startup file starts Dynamic Host Configuration Protocol server;
Tftp server is installed, configuration file disable=yes is revised as disable=no, starting xinetd service.
7. a kind of method of automated quick deployment installation K-UX operating system as described in claim 1, which is characterized in that institute
State the specific steps of startup file needed for replication client to tftp server are as follows:
Software package syslinux is installed, file pxelinux.0 is copied under the root of tftp service;
By in ISO file mount file system/media, the starting image file installed in mirror image and starting configuration file are answered
It makes under TFTP share directory.
8. a kind of method of automated quick deployment installation K-UX operating system as described in claim 1, which is characterized in that institute
State the concrete operations of deployment NFS service are as follows:
Nfs service support packet is installed;
Editor/etc/exports sets the IP of user or the permission of host name and share directory;
Start NFS and carries out catalogue sharing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811207617.5A CN109445803A (en) | 2018-10-17 | 2018-10-17 | A kind of method of automated quick deployment installation K-UX operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811207617.5A CN109445803A (en) | 2018-10-17 | 2018-10-17 | A kind of method of automated quick deployment installation K-UX operating system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109445803A true CN109445803A (en) | 2019-03-08 |
Family
ID=65546535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811207617.5A Pending CN109445803A (en) | 2018-10-17 | 2018-10-17 | A kind of method of automated quick deployment installation K-UX operating system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109445803A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112130917A (en) * | 2020-09-22 | 2020-12-25 | 北京计算机技术及应用研究所 | Remote loading system mirroring method |
CN112230942A (en) * | 2020-09-28 | 2021-01-15 | 烽火通信科技股份有限公司 | Automatic deployment method and system supporting various domestic operating systems |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100060505A (en) * | 2008-11-27 | 2010-06-07 | 에스케이커뮤니케이션즈 주식회사 | Method and system for automatically installing operating system, and media that can record computer program sources thereof |
US9286047B1 (en) * | 2013-02-13 | 2016-03-15 | Cisco Technology, Inc. | Deployment and upgrade of network devices in a network environment |
CN106250174A (en) * | 2016-07-21 | 2016-12-21 | 浪潮(北京)电子信息产业有限公司 | The method and system of LINUX system are installed based on PXE technology batch |
CN106855819A (en) * | 2017-01-01 | 2017-06-16 | 国云科技股份有限公司 | A kind of method of automatic deployment operating system |
CN107229492A (en) * | 2017-05-17 | 2017-10-03 | 东软集团股份有限公司 | Installation method, device, system, storage medium and the equipment of server system |
CN107800580A (en) * | 2016-08-30 | 2018-03-13 | 北京神州泰岳软件股份有限公司 | A kind of installment state monitoring method, server and the system of high-volume operating system |
CN108415712A (en) * | 2018-03-09 | 2018-08-17 | 山东超越数控电子股份有限公司 | A method of based on PXE server batch installation acceptance of the bid kylin operating system |
-
2018
- 2018-10-17 CN CN201811207617.5A patent/CN109445803A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100060505A (en) * | 2008-11-27 | 2010-06-07 | 에스케이커뮤니케이션즈 주식회사 | Method and system for automatically installing operating system, and media that can record computer program sources thereof |
US9286047B1 (en) * | 2013-02-13 | 2016-03-15 | Cisco Technology, Inc. | Deployment and upgrade of network devices in a network environment |
CN106250174A (en) * | 2016-07-21 | 2016-12-21 | 浪潮(北京)电子信息产业有限公司 | The method and system of LINUX system are installed based on PXE technology batch |
CN107800580A (en) * | 2016-08-30 | 2018-03-13 | 北京神州泰岳软件股份有限公司 | A kind of installment state monitoring method, server and the system of high-volume operating system |
CN106855819A (en) * | 2017-01-01 | 2017-06-16 | 国云科技股份有限公司 | A kind of method of automatic deployment operating system |
CN107229492A (en) * | 2017-05-17 | 2017-10-03 | 东软集团股份有限公司 | Installation method, device, system, storage medium and the equipment of server system |
CN108415712A (en) * | 2018-03-09 | 2018-08-17 | 山东超越数控电子股份有限公司 | A method of based on PXE server batch installation acceptance of the bid kylin operating system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112130917A (en) * | 2020-09-22 | 2020-12-25 | 北京计算机技术及应用研究所 | Remote loading system mirroring method |
CN112230942A (en) * | 2020-09-28 | 2021-01-15 | 烽火通信科技股份有限公司 | Automatic deployment method and system supporting various domestic operating systems |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3518099B1 (en) | Installation of operating system | |
US9081747B1 (en) | Computer program deployment to one or more target devices | |
CN104932919A (en) | Linux unattended installation implementation method | |
JP6058628B2 (en) | Multi-node application deployment system | |
US8132166B2 (en) | Methods and systems for provisioning software | |
US20060080522A1 (en) | Method, apparatus, and system for facilitating secure computing | |
US8407458B2 (en) | Embedded device for implementing a boot process on a host | |
US20100058328A1 (en) | Systems and methods for differential software provisioning on virtual machines having different configurations | |
US20100082799A1 (en) | Methods and systems for managing network connections in a software provisioning environment | |
WO2004025486A2 (en) | Use of off-motherboard resources in a computer system | |
CN112130917A (en) | Remote loading system mirroring method | |
CN103049295A (en) | Network installation method for Linux operating systems with godson platforms | |
CN106250174A (en) | The method and system of LINUX system are installed based on PXE technology batch | |
CN109445803A (en) | A kind of method of automated quick deployment installation K-UX operating system | |
Cisco | Introduction | |
CN107817991A (en) | The preparation method that a kind of Linux system based on grub2 starts bootloader | |
Lange | Fai guide (fully automatic installation) | |
CN116755728A (en) | System deployment method and device, computer readable storage medium and electronic equipment | |
Rhodes et al. | An Introduction to Windows Installation Methodologies and Tools | |
Vainio | WDS Server for Hybrid Delivery of Windows and Linux Operating Systems | |
Bettany et al. | Exam Ref 70-698 Installing and Configuring Windows 10 | |
Vallee et al. | OSCAR testing with Xen | |
Poublon et al. | Byoc: build your own cluster, part ii? installation | |
Allen et al. | Windows XP cookbook | |
Stanek | Windows 7 Administrator's Pocket Consultant |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190308 |