CN107302453A - A kind of method built based on the keys of M13 machine K UX systems VNCserver mono- - Google Patents
A kind of method built based on the keys of M13 machine K UX systems VNCserver mono- Download PDFInfo
- Publication number
- CN107302453A CN107302453A CN201710457964.2A CN201710457964A CN107302453A CN 107302453 A CN107302453 A CN 107302453A CN 201710457964 A CN201710457964 A CN 201710457964A CN 107302453 A CN107302453 A CN 107302453A
- Authority
- CN
- China
- Prior art keywords
- keys
- mono
- machine
- vnc server
- built based
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0889—Techniques to speed-up the configuration process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Abstract
The invention discloses a kind of method built based on the keys of M13 machine K UX system VNC server mono-, comprise the following steps:1), script judges that local mirror image yum sources whether there is;2), if local mirror image yum sources are present, step 3 is performed) operation;Otherwise, the local mirror image yum sources of addition addition in carry K UX system files, perform step 1) operation;3), script execution command installs software kit;4), script execution command carries out a key configuration to VNC server.Realize that the keys of M13 machine K UX system VNC Server mono- are built, so as to conveniently go to complete the certain operations under desktop using remote desktop function.
Description
Technical field
It is specifically a kind of to be based on M13 machine K-UX systems VNCserver the present invention relates to remote access technology field
The method that one key is built.
Background technology
VNCServer is the VNC server softwares that general Linux releases can all be attached, in order to meet distributed user
Resource above shared server, and the service opened on the server, corresponding client software is vncviewer;
It can also be different operating systems, such as a kind of remote access side of Linux system resource is remotely accessed using windows
Formula.
The content of the invention
The invention provides a kind of method built based on the keys of M13 machine K-UX systems VNCserver mono-, without appointing
More facilitate on the basis of what hardware and quickly realize the control of remote desktop.
The technical scheme adopted by the invention to solve the technical problem is that:One kind is based on M13 machine K-UX systems
The method that the keys of VNCserver mono- are built, it is characterized in that, comprise the following steps:
1), script judges that local mirror image yum sources whether there is;
2), if local mirror image yum sources are present, step 3 is performed) operation;Otherwise, add in carry K-UX system files
Local mirror image yum sources are attached, step 1 is performed) operation;
3), script execution command installs software kit;
4), script execution command carries out a key configuration to VNCserver.
Further, each script is after order is performed, while implementing result return value is write into daily record.
Further, implementing result return value includes 0 and non-zero;When implementing result return value is 0, expression performs order
Success;When implementing result return value is non-zero, then it represents that perform order and there is problem.
Further, step 1) operation in, script judges that the standard that local mirror image yum sources whether there is is:It is truncated to
Enabled fields.
Further, software kit is installed to perform by yuminstall orders.
Further, key configuration is carried out to VNCserver to be included configuration fire wall, modification configuration parameter, adds and start shooting
Startup item is simultaneously finally starting VNC services.
Further, configuration fire wall is instructed by sed and performed;Configuration parameter is changed to perform by chmod+x orders;Add
Increase machine startup item and performed finally starting VNC services by systemctl orders.
The beneficial effects of the invention are as follows:
The present invention realizes that the keys of M13 machine K-UX systems VNCServer mono- are built, so as to conveniently use remote desktop
Function is gone to complete the certain operations under desktop, and Server remote desktop management can typically be realized by BMC virtual KVM,
Because M13 machines delete BMC for virtual KVM support, all remaining schemes in terms of long- distance tabletop control are exactly hardware
KVM machines or VNC Server, VNCServer are realized on the basis of without any hardware undoubtedly more to be facilitated and fast
It is prompt.
The present invention also achieves command execution results writing daily record, can pass through day while VNCServer is built
Will checks whether execution wrong, and implementing result of the invention is 0 or non-zero, when for 0 when, represent to perform and order successfully, otherwise order
Perform mistake.The present invention can get information about very much the order run-time error of which part, can be changed in time.
Brief description of the drawings
Fig. 1 is flow chart of the method for the present invention.
Embodiment
In order to be able to the technical characterstic of clear explanation this programme, below by embodiment, and its accompanying drawing is combined, to this
Invention is described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention
Structure.In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples are described.In addition, the present invention can be with
Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated
Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale
Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
As shown in figure 1, a kind of method built based on the keys of M13 machine K-UX systems VNCserver mono-, including following step
Suddenly:
1), script judges that local mirror image yum sources whether there is;
2), if local mirror image yum sources are present, step 3 is performed) operation;Otherwise, add in carry K-UX system files
Local mirror image yum sources are attached, step 1 is performed) operation;
3), script execution command installs software kit;
4), script execution command carries out a key configuration to VNCserver.
Each script is after order is performed, while implementing result return value is write into daily record.
Implementing result return value includes 0 and non-zero;When implementing result return value is 0, represents to perform and order successfully;When holding
When row result return value is non-zero, then it represents that perform order and there is problem.
Step 1) operation in, script judges that the standard that local mirror image yum sources whether there is is:It is truncated to enabled fields.
Code can be:
Software kit is installed to perform by yuminstall orders:
Yuminstall-ytigervnctigervnc-server## installs VNC software kits
echo"vncserver_packages_install:$">>result.txt
echo"Iptablesstartstointall"
To VNCserver carry out a key configuration include configuration fire wall, modification configuration parameter, addition starting up item and
Finally start VNC services.
Configure fire wall and execution is instructed by sed:sed-i"`awk'/22/{printNR}'/etc/sysconfig/
iptables`a-AINPUT-mstate--stateNEW-mtcp-p tcp--dport5900:5903-jACCEPT"/etc/
Sysconfig/iptables## add-on systems fire wall is set.
Configuration parameter is changed to perform by chmod+x orders:chmod+x/etc/systemd/system/
vncserver@:1.service
sed-i-e's/<USER>/root/g'-e's/\/home//'/etc/systemd/system/vncserver@:
1.service## changes profile parameters.
Add starting up and performed finally starting VNC services by systemctl orders:systemctlenabl
evncserver@:1.service## adds starting up.
One embodiment of the invention realizes that the whole code of function can be as follows:
Simply the preferred embodiment of the present invention described above, for those skilled in the art,
Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also regarded as this hair
Bright protection domain.
Claims (7)
1. a kind of method built based on the keys of M13 machine K-UX system VNC server mono-, it is characterized in that, comprise the following steps:
1), script judges that local mirror image yum sources whether there is;
2), if local mirror image yum sources are present, step 3 is performed) operation;Otherwise, add in carry K-UX system files
Plus local mirror image yum sources, perform step 1) operation;
3), script execution command installs software kit;
4), script execution command carries out a key configuration to VNC server.
2. a kind of method built based on the keys of M13 machine K-UX system VNC server mono- according to claim 1, it is special
Levying is, each script is after order is performed, while implementing result return value is write into daily record.
3. a kind of method built based on the keys of M13 machine K-UX system VNC server mono- according to claim 2, it is special
Levying is, implementing result return value includes 0 and non-zero;When implementing result return value is 0, represents to perform and order successfully;When performing knot
When fruit return value is non-zero, then it represents that perform order and there is problem.
4. a kind of method built based on the keys of M13 machine K-UX system VNC server mono- according to claim 1, it is special
Levying is, step 1) operation in, script judges that the standard that local mirror image yum sources whether there is is:It is truncated to enabled fields.
5. a kind of method built based on the keys of M13 machine K-UX system VNC server mono- according to claim 1, it is special
Levying is, installs software kit and is performed by yum install orders.
6. a kind of method built based on the keys of M13 machine K-UX system VNC server mono- according to claim 1, it is special
Levying is, key configuration is carried out to VNC server to be included configuration fire wall, modification configuration parameter, add starting up and most
Start VNC services afterwards.
7. a kind of method built based on the keys of M13 machine K-UX system VNC server mono- according to claim 6, it is special
Levying is, configuration fire wall is instructed by sed and performed;Configuration parameter is changed to perform by chmod+x orders;Add starting up
And performed finally starting VNC services by systemctl orders.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710457964.2A CN107302453A (en) | 2017-06-16 | 2017-06-16 | A kind of method built based on the keys of M13 machine K UX systems VNCserver mono- |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710457964.2A CN107302453A (en) | 2017-06-16 | 2017-06-16 | A kind of method built based on the keys of M13 machine K UX systems VNCserver mono- |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107302453A true CN107302453A (en) | 2017-10-27 |
Family
ID=60135382
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710457964.2A Pending CN107302453A (en) | 2017-06-16 | 2017-06-16 | A kind of method built based on the keys of M13 machine K UX systems VNCserver mono- |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107302453A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567063A (en) * | 2012-01-20 | 2012-07-11 | 飞天诚信科技股份有限公司 | Method and device for automatically installing software |
CN102609216A (en) * | 2012-01-13 | 2012-07-25 | 武汉噢易科技有限公司 | Network disk implementation and maintenance method based on local caching |
US8725318B1 (en) * | 2011-05-20 | 2014-05-13 | Rockwell Collins, Inc. | Systems and methods for incorporating virtual network computing into a cockpit display system and controlling a remote aircraft system with the VNC-incorporated CDS |
CN104375891A (en) * | 2014-11-04 | 2015-02-25 | 普华基础软件股份有限公司 | Application program management system |
-
2017
- 2017-06-16 CN CN201710457964.2A patent/CN107302453A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8725318B1 (en) * | 2011-05-20 | 2014-05-13 | Rockwell Collins, Inc. | Systems and methods for incorporating virtual network computing into a cockpit display system and controlling a remote aircraft system with the VNC-incorporated CDS |
CN102609216A (en) * | 2012-01-13 | 2012-07-25 | 武汉噢易科技有限公司 | Network disk implementation and maintenance method based on local caching |
CN102567063A (en) * | 2012-01-20 | 2012-07-11 | 飞天诚信科技股份有限公司 | Method and device for automatically installing software |
CN104375891A (en) * | 2014-11-04 | 2015-02-25 | 普华基础软件股份有限公司 | Application program management system |
Non-Patent Citations (2)
Title |
---|
廉文娟,花嵘,曾庆田主编: "《现代操作系统与网络服务管理》", 31 March 2014, 北京邮电大学出版社 * |
李国忠: "基于RHEL5 的各类软件安装方法攻略", 《湖南工业职业技术学院学报》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11343326B2 (en) | Techniques for implementing persistently interactive software robots | |
US10664302B2 (en) | Automated orchestration of a virtualized computing environment | |
US8433757B2 (en) | Centralized management of applications and desktop preferences without requiring configuration of clientside operating systems | |
US6314428B1 (en) | Method and apparatus for application management in computer networks | |
US8126928B2 (en) | Systems and methods for merging data into documents | |
US20060136872A1 (en) | Integrated setup for generating customization XML | |
WO2010113160A1 (en) | A method and system for emulating desktop software applications in a mobile communication network | |
US11314622B2 (en) | Systems and methods for implementing an automated parallel deployment solution | |
CN102843416A (en) | Set-up of thin client computer | |
CN102567075A (en) | Virtual machine context setting method in cloud computing environment | |
CN107430669A (en) | computing system and method | |
JP2009510563A (en) | Method and system for managing and organizing installation of software packages | |
US20100077090A1 (en) | Fast switching between multiple user sessions | |
Richardson | Getting started with BeagleBone: Linux-powered electronic projects with Python and JavaScript | |
US20190327209A1 (en) | System and method for data security management | |
CN114244604A (en) | Integrated authority management method and system suitable for bastion machine, electronic device and readable storage medium | |
CN107766055A (en) | A kind of client linux system installation method based on GUI module | |
US10958720B2 (en) | Methods, apparatuses and systems for cloud based disaster recovery | |
CN107302453A (en) | A kind of method built based on the keys of M13 machine K UX systems VNCserver mono- | |
AU2019477233A1 (en) | Systems and methods for automated application launching | |
US20120017157A1 (en) | Workstation Management Application | |
CN114389936A (en) | Cross-cloud multi-cluster deployment operation and maintenance method, system, processor and storage medium | |
CN104102555B (en) | Increase income data backup and resume method | |
CN101729495A (en) | Network servo system and method of remotely installing file thereof | |
CN104166562B (en) | Generation method and device for application program magnet in Windows |
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 |
Application publication date: 20171027 |
|
RJ01 | Rejection of invention patent application after publication |