Operating System and Common commandsLinux02-- Linux02_01? Operating System and Common commands
GNU: GNU is Not Unix.
GPL: General Public License, General Public License, copyright
Copyright, Copyleft
Open-source protocols
LGPL:
qing2005 original Address C # automate log logIn the development of the project, we can not help but use log logging, the most used is log4net and EntLib log, in the need to log the code to add log. Write (log information), suppose I need to track
ProtocolLike a server, it is implemented by this class. Let's look at a short routine:
From twisted.internet.protocol import protocolfrom sys import stdoutclass Echo (protocol): def datareceived (self, Data): stdout.write (data)
In this
OPS engineers must have 150 commands1.mkdir make directory Create directory, example: Mkdir/data means to create a data directory under the root.2.CD Change directorys switch directory, example: CD/ presentation into the root directory.3.ls list
File systemFile system structure:/boot: Boot file directory, kernel files, boot loader are stored in this directory/bin;/sbin : Binary program/lib;/lib64 : library function (/lib/modules: Store kernel version number, driver)/etc: Configuration
First, look at the directory structure of Tomcat:Bin storage starts and closes Tomcat scriptconf contains different configuration files, Server.xml (Tomcat's primary configuration file) and Web. xmlWork stores the class file generated by the JSP
Why should we learn to useFindcommand? Each operating system has thousands of files, and for Linux "All Files" operating system is no exception, everyone should be able to easily use the file lookup under Windows , but the Linux This feature may not
This chapter simply explains the knowledge of the Inode, about the following are all from the commitment to the operation of the friends! And I'm just a porter. Extension: http://www.360doc.com/content/11/0915/17/3200886_148505332.shtmlDelete files
"Demo">"Button"onclick="myFunction ()"> Click here Linux commands6. RmDir Delete Empty directory7. MV Backup files or directories8. CP Copy files or directories9, Touch Modify file timestamp, or create a new existing file10. cat connection file or
Element name
Property
Explain
Server
Port
Specify a port that listens for requests to shut down Tomcat
Shutdown
Specify the command string to send to the port
Service
Name
1. OverviewRecently a friend asked me secondary namenode role, is not namenode backup? Is it to prevent a single point of namenode problem? Indeed, just touching hadoop, literally, would easily put secondary namenode as a backup node; in fact, this
1. rsync Sync Tool1.1, Rsync Introductionrsync (remote sync) is a data mirroring Backup tool under UNIX systems and a fast incremental backup tool that supports remote synchronization, local replication, and more. and rsync not only transmits fast,
Tomcat Server.xml Configuration Detailed
Element name
Property
Explain
Server
Port
Specify a port that listens for requests to shut down Tomcat
Shutdown
Specify the command string to
First, what is the inode?To understand the inode, start with the file storage. The file is stored on the hard disk, and the minimum storage unit for the hard disk is called "Sector" (Sector). Each sector is stored 512 bytes (equivalent to 0.5KB).
PHP ~ Compare with the performance of various acceleration tools ~. Xcache has previously introduced the principles and functions of the PHP accelerator (see the PHP-FPM server of LAMP architecture), xcache as one of the currently widely used PHP
[Opcache]zend_extension= "G:/php/php-5.5.6-win32-vc11-x64/ext/php_opcache.dll";Zend Optimizer + switch, code is no longer optimized when off.Opcache.enable=1;determines if Zend Opcache is enabled for the CLI version of PHPOpcache.enable_cli=1;Zend
Static the currently displayed dynamic PHP page to generate HTML files
/*** This code segment should be placed in modules included on all pages. ** for example, const. php or conn. php ** $ isHTMLModel this variable sets whether to save the page
The touch Command in linux is not commonly used. it is generally used when you use make. The most common usage is touchfileA. if fileA exists, you can use the touch command to change the date and time of the file or directory, including the access
Rsync synchronization art if you are an O & M engineer, you are likely to face dozens, hundreds, or even thousands of servers, in addition to batch operations, environment synchronization and data synchronization are also essential skills. When it
Directory Read process/var/log/aa.log1. Find the following directory (when the system loads to determine), find the root of the file name var corresponding inode 2. ' to ' inode zone find var directory corresponding to block inode , and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.