CN105302610A - Automatic installation method of Linux system - Google Patents
Automatic installation method of Linux system Download PDFInfo
- Publication number
- CN105302610A CN105302610A CN201510778661.1A CN201510778661A CN105302610A CN 105302610 A CN105302610 A CN 105302610A CN 201510778661 A CN201510778661 A CN 201510778661A CN 105302610 A CN105302610 A CN 105302610A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- current system
- linux system
- user
- linux
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses an automatic installation method of a Linux system, belongs to the technical field of computers and solves the technical problem that the Linux system is complex in installation. The automatic installation method of the Linux system includes the steps that the use condition of a current system hard disk is detected; based on the use condition, the total remaining space of the current system hard disc is obtained; whether the remaining space is sufficient for installation the Linux system or not is judged; if yes, the Linux system is installed according to the preset partition mode; if not, after a refresh order from a user is received, the use condition of the current system hard disc is detected again.
Description
Technical field
The present invention relates to field of computer technology, specifically, relate to a kind of automatic installation method of linux system.
Background technology
Computer security issue grows in intensity in recent years, and risen to country's height at present, operating system is as most basic software, and its security is an of paramount importance part in computer security, and therefore the autonomous operating system of research and development China necessitates.
At present the safest, the most effective method be exactly carry out based on open source operating system Linux the autonomous operation system that independent research is applicable to China.First linux system is because of increasing income, and its security is guaranteed; Secondly linux system is the system being absorbed in server, ensure that its stability, validity.
But exactly because Linux open source operating system is absorbed in server, so its is visual and more weak with the ability of user interactions, be difficult to use for domestic consumer.This is fatal for desktop operating system, because the user of desktop operating system does not have computer background knowledge mostly.Therefore Linux open source operating system ubiquity installs more complicated at present, and the problem that user learning cost is higher, have impact on popularization and the use of linux system greatly.
Summary of the invention
The object of the present invention is to provide a kind of automatic installation method of linux system, to solve the technical matters of the installation complexity of linux system.
The invention provides a kind of automatic installation method of linux system, comprising:
Detect the service condition of current system hard disk;
Based on service condition, obtain the total surplus space of current system hard disk;
Judge whether described total surplus space enough installs linux system;
If described total surplus space is enough, then according to the partitioned mode preset, linux system is installed; Otherwise to be received to from after the refresh command of user, again detect the service condition of current system hard disk.
Optionally, the service condition detecting current system hard disk comprises:
Detect the number of current system hard disk;
Detect total volume and the service condition of each current system hard disk.
Optionally, based on described service condition, the remaining space obtaining described current system hard disk comprises:
Based on total volume and the service condition of each current system hard disk, obtain the remaining space of each current system hard disk;
The remaining space of each current system hard disk is sued for peace, obtains the total surplus space of current system hard disk.
Optionally, before detecting the service condition of current system hard disk, also comprise:
Receive the installation order from user.
Optionally, after receiving the installation order from user, also comprise:
Based on the date and time of current system, linux system to be installed and the date and time of installation environment thereof are set.
Optionally, after receiving the installation order from user, also comprise:
Based on the keyboard of current system, linux system to be installed and the keyboard of installation environment thereof are set.
Optionally, after receiving the installation order from user, also comprise:
Based on the language of current system, linux system to be installed and the language of installation environment thereof are set.
Optionally, after receiving the installation order from user, also comprise:
Lookup protocol installs source attribute.
Optionally, after receiving the installation order from user, also comprise:
Obtain the software matrix preset.
Optionally, after receiving the installation order from user, also comprise:
Based on the network condition of current system, and the network of linux system is set.
Present invention offers following beneficial effect: the automatic installation method embodiments providing a kind of linux system, the method can detect the service condition of current system hard disk automatically, understand the total surplus space of current system hard disk, and determine whether Auto-mounting linux system based on total surplus space.Reduce the installation difficulty of linux system, for user installation linux system is provided convenience, be conducive to the popularization of linux system, use.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in instructions, claims and accompanying drawing and obtain.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, accompanying drawing required in describing is done simple introduction below to embodiment:
Fig. 1 is the process flow diagram of the automatic installation method of the linux system that the embodiment of the present invention provides;
Fig. 2 is the structural representation of the operating system of the installation linux system that the embodiment of the present invention provides.
Embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, to the present invention, how application technology means solve technical matters whereby, and the implementation procedure reaching technique effect can fully understand and implement according to this.It should be noted that, only otherwise form conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, and the technical scheme formed is all within protection scope of the present invention.
Embodiments provide a kind of automatic installation method of linux system, as shown in Figure 1, this automatic installation method comprises the steps:
The service condition of step S1, detection current system hard disk.
Because the hard disk number of electronic equipment does not determine sometimes not only only have one.Therefore, in the present embodiment, the number detecting current system hard disk is first needed.Afterwards, detect total volume and the service condition of each current system hard disk in turn, concrete, service condition be the capacity of each current system hard disk occupied, by situation about using.
Step S2, based on service condition, obtain the total surplus space of current system hard disk.
After the total volume learning each current system hard disk and service condition, the remaining space of each current system hard disk can be learnt, afterwards, the remaining space of each current system hard disk be sued for peace, obtains the total surplus space of current system hard disk.
Step S3, judge whether total surplus space enough installs linux system.
Next, can judge whether the total surplus space of the current system hard disk detected enough installs linux system, if enough, perform step S4; Otherwise, perform step S5.
The partitioned mode that step S4, basis are preset installs linux system.
Linux system is installed and must has two subregions at least, be i.e. exchange partition (also known as swap subregion) and root partition (also known as/subregion).Wherein, exchange partition is arranged for realizing virtual memory, / subregion is for depositing all data comprising system program and user data, and its file system type is third generation extended file system (ThirdExtendedFilesystem is called for short ext3) form normally.
In addition, user also can according to self needs, in the electronic product such as computer of linux system to be installed, arranges the partitioned mode needed for self by the mode preset.When linux system is then installed, will automatically reads default partitioned mode and based on this partitioned mode, linux system be installed.
Step S5, receive refresh command from user.
And if the total surplus insufficient space of current system hard disk enough installs linux system, installation can be supspended.User, finding to install termination in the time of pressing between refreshing key, can delete the content or a newly-increased hard disk that store in some current system hard disks, to increase the total surplus space of current system hard disk, install linux system.
Press refreshing key user, after exporting refresh command, now, installation process will return step S1, again detects the service condition of current system hard disk.
The automatic installation method of the linux system that the embodiment of the present invention provides, except automatically detecting the service condition of current system hard disk, installs linux system based on service condition automatically, the characteristics such as all right Lookup protocol date, time, keyboard, language.
The electronic equipments such as general computer, when dispatching from the factory, default system can be installed by producer, and this default system is exactly the current system of electronic equipment.And the characteristic Dou Shi producers such as the date of current system, time, keyboard, language set, or user is in the process used, and is in the personal settings of conveniently carrying out self used.User is on the basis being provided with this current system, when linux system is installed, the corresponding characteristic of linux system can be directly set based on date of current system, time, keyboard, language, like this without the need to user again manual operation input, the characteristics such as date, time, keyboard, language are set, save the running time of user, and for the domestic consumer being unfamiliar with linux system provide convenient.
Concrete, namely the embodiment of the present invention is that the system from is installed and started, and make one and install very shirtsleeve operation system, in installation process, few user that allows participates in as far as possible, for most of user, only need click a step, just can start to install.
In order to install linux system, as shown in Figure 2, the operating system of this installation linux system can comprise an installation procedure principal function, graphical interfaces user interface, a main interface and a multiple interphase.Concrete, main interface is mainly used to control each interfacial setting, and interphase comprises that date and time arranges interphase, language arranges interface, keyboard arranges interphase, installation source arranges interphase, software selects interphase, network settings interphase, store and arrange interphase etc.
Wherein, installation procedure principal function mainly does some initial work, some environmental variances of initialization, initialization thread supervisory routine, initialization daily record, initialization some install required for information; Graphical interfaces Subscriber Interface Module SIM is then mainly used to the main interface module of initialization and initialize graphic interface basis storehouse, and runs figure interface basis storehouse; Main control interface module then each bounding surface module of major control execution and show each bounding surface module perform result.Interphase arrange be all install required for information, comprise date and time, language, keyboard, installation source, software selection, network, storage, the setting of all installation information needed is all parallel to be carried out, and to user transparent, each result of installing information needed setting all will update to main control interface, so that user checks which is arranged and do not arrange successfully, or user is needed manually to go to arrange.
It should be noted that, the every terms of information required for the installation set by interphase, user can participate in the process of configuration information at any time in installation process, and namely user can manually arrange information any one of it.
When each module initialization, installation information needed all robotization is provided with, and user is without the need to participating in any installation information needed setting up procedure, and only need click beginning button installation can start installation procedure, and this flow process specifically comprises the following steps:
The execution of installation procedure principal function module, mainly comprises: some environmental variances of initialization, initialization thread supervisory routine, initialization daily record, initialization some install required for information.
The execution of graphical interfaces Subscriber Interface Module SIM, mainly comprises: the main interface module of initialization, and then initialize graphic interface perform graphic interface program.
The execution of main interface module, mainly comprises: initialization bounding surface module.
Date and time arranges the execution of bounding surface module, mainly comprises: the date and time date and time of installation environment and new system being set to current system acquiescence.
Keyboard arranges the execution of bounding surface module, mainly comprises: the keyboard keyboard of installation environment and new system being set to current system acquiescence.
Language arranges the execution of bounding surface module, mainly comprises: the language language of installation environment and new system being set to current system acquiescence.
Installation source arranges the execution of bounding surface module, mainly comprises: installation system installs source attribute according to the mode Lookup protocol of user installation system.
The execution arranging bounding surface module selected by software, mainly comprises: installation system selects to meet the software matrix of general user's demand voluntarily.
The execution of network settings bounding surface module, mainly comprises: installation system arranges network according to the network condition of current system voluntarily.
Store the execution that bounding surface module is set, mainly comprise: the remaining space of installation system automatic detection current system hard disk, and be that new system carries out subregion according to the partitioned mode that installation procedure is preset.
Above step is installation system and arranges voluntarily, and without the need to customer parameter, user only need click beginning button installation just can start installation system, and interfacial setting is executed in parallel, which greatly enhances the efficiency arranging and install information needed.
To sum up, embodiments provide a kind of automatic installation method of linux system, the method can detect the service condition of current system hard disk automatically, understands the total surplus space of current system hard disk, and determines whether Auto-mounting linux system based on total surplus space.Reduce the installation difficulty of linux system, for user installation linux system is provided convenience, be conducive to the popularization of linux system, use.
Although embodiment disclosed in this invention is as above, the embodiment that described content just adopts for the ease of understanding the present invention, and be not used to limit the present invention.Technician in any the technical field of the invention; under the prerequisite not departing from spirit and scope disclosed in this invention; any amendment and change can be done what implement in form and in details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.
Claims (10)
1. an automatic installation method for linux system, is characterized in that, comprising:
Detect the service condition of current system hard disk;
Based on service condition, obtain the total surplus space of current system hard disk;
Judge whether described total surplus space enough installs linux system;
If described total surplus space is enough, then according to the partitioned mode preset, linux system is installed; Otherwise to be received to from after the refresh command of user, again detect the service condition of current system hard disk.
2. the automatic installation method of linux system according to claim 1, is characterized in that, the service condition detecting current system hard disk comprises:
Detect the number of current system hard disk;
Detect total volume and the service condition of each current system hard disk.
3. the automatic installation method of linux system according to claim 2, is characterized in that, based on described service condition, the remaining space obtaining described current system hard disk comprises:
Based on total volume and the service condition of each current system hard disk, obtain the remaining space of each current system hard disk;
The remaining space of each current system hard disk is sued for peace, obtains the total surplus space of current system hard disk.
4. the automatic installation method of the linux system according to any one of claims 1 to 3, is characterized in that, before detecting the service condition of current system hard disk, also comprises:
Receive the installation order from user.
5. the automatic installation method of linux system according to claim 4, is characterized in that, after receiving the installation order from user, also comprises:
Based on the date and time of current system, linux system to be installed and the date and time of installation environment thereof are set.
6. the automatic installation method of linux system according to claim 5, is characterized in that, after receiving the installation order from user, also comprises:
Based on the keyboard of current system, linux system to be installed and the keyboard of installation environment thereof are set.
7. the automatic installation method of linux system according to claim 6, is characterized in that, after receiving the installation order from user, also comprises:
Based on the language of current system, linux system to be installed and the language of installation environment thereof are set.
8. the automatic installation method of linux system according to claim 7, is characterized in that, after receiving the installation order from user, also comprises:
Lookup protocol installs source attribute.
9. the automatic installation method of linux system according to claim 8, is characterized in that, after receiving the installation order from user, also comprises:
Obtain the software matrix preset.
10. the automatic installation method of linux system according to claim 9, is characterized in that, after receiving the installation order from user, also comprises:
Based on the network condition of current system, and the network of linux system is set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510778661.1A CN105302610A (en) | 2015-11-13 | 2015-11-13 | Automatic installation method of Linux system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510778661.1A CN105302610A (en) | 2015-11-13 | 2015-11-13 | Automatic installation method of Linux system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105302610A true CN105302610A (en) | 2016-02-03 |
Family
ID=55199905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510778661.1A Pending CN105302610A (en) | 2015-11-13 | 2015-11-13 | Automatic installation method of Linux system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105302610A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107766081A (en) * | 2016-08-16 | 2018-03-06 | 鸿富锦精密电子(天津)有限公司 | Movable storage device and allocating operating system method |
CN111949282A (en) * | 2020-08-25 | 2020-11-17 | 深圳市广通软件有限公司 | Operating system deployment method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073529A (en) * | 2011-01-30 | 2011-05-25 | 华为技术有限公司 | Method and computer system for upgrading super kernel component |
CN102158434A (en) * | 2011-03-24 | 2011-08-17 | 东莞中山大学研究院 | Intelligent gateway and method for realizing application program management on intelligent gateway |
US8055948B2 (en) * | 2009-09-14 | 2011-11-08 | International Business Machines Corporation | Resilient software-controlled redundant array of independent disks (RAID) |
CN104866331A (en) * | 2014-02-25 | 2015-08-26 | 中国电信股份有限公司 | Method and device for installing and calling applications on mobile terminal |
-
2015
- 2015-11-13 CN CN201510778661.1A patent/CN105302610A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8055948B2 (en) * | 2009-09-14 | 2011-11-08 | International Business Machines Corporation | Resilient software-controlled redundant array of independent disks (RAID) |
CN102073529A (en) * | 2011-01-30 | 2011-05-25 | 华为技术有限公司 | Method and computer system for upgrading super kernel component |
CN102158434A (en) * | 2011-03-24 | 2011-08-17 | 东莞中山大学研究院 | Intelligent gateway and method for realizing application program management on intelligent gateway |
CN104866331A (en) * | 2014-02-25 | 2015-08-26 | 中国电信股份有限公司 | Method and device for installing and calling applications on mobile terminal |
Non-Patent Citations (2)
Title |
---|
LUPA: "《Linux网络系统管理实用教程》", 30 November 2013, 浙江大学出版社 * |
何世晓等: "《Linux系统管理员》", 30 June 2007 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107766081A (en) * | 2016-08-16 | 2018-03-06 | 鸿富锦精密电子(天津)有限公司 | Movable storage device and allocating operating system method |
CN111949282A (en) * | 2020-08-25 | 2020-11-17 | 深圳市广通软件有限公司 | Operating system deployment method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102999256B (en) | A kind of display terminal icon arrangement method and device | |
EP2649536B1 (en) | Codeless sharing of spreadsheet objects | |
CN103309575B (en) | The method of display icon and terminal | |
WO2010132376A2 (en) | Hierarchically-organized control galleries | |
CN102999364B (en) | A kind of method and apparatus monitoring subject classification and dynamic load based on operation of power networks | |
CN104571819A (en) | Application program management method and application program management device | |
CN105528217A (en) | Partial refreshing method and device based on display list | |
CN102662708A (en) | Linux operating system and display card driving device thereof | |
CN104777983A (en) | Method and terminal for screen splitting type displaying | |
CN103176700A (en) | Method and terminal for quickly displaying status information of application program | |
US20190384460A1 (en) | Surfacing application functionality for an object | |
CN103617209A (en) | File management method and file management device for mobile terminal | |
CN111399941A (en) | Batch configuration method, device and equipment for BMC (baseboard management controller) functions | |
CN104991767A (en) | Information processing method and electronic equipment | |
CN103513977A (en) | Display method and device for group member list | |
CN110532058B (en) | Management method, device and equipment of container cluster service and readable storage medium | |
CN105302610A (en) | Automatic installation method of Linux system | |
US9596654B2 (en) | Association of applications to clusters mapped to logical battery partitions | |
CN106843559B (en) | User instruction identification and processing method and device | |
CN112363783B (en) | Window switching method, device, medium and interactive panel | |
CN104238746A (en) | Information processing method and electronic equipment | |
CN101373464B (en) | Method, apparatus and system for automatically adopting form setting | |
CN105573610A (en) | Spreadsheet operation methods and apparatuses | |
CN110413192A (en) | Shortcut key response method, device, equipment and storage medium | |
CN103870228A (en) | System and method for double display setting of computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20160203 |