1. Write a shell script called Tomcat, which reads as follows (can be rewritten according to the actual situation):
#!/bin/bash # chkconfig:2345 # Description:start and Stop Tomcat by service export java_home=/usr/java/jdk1.8.0_51 Export
Original link: http://blog.csdn.net/u013063153/article/details/53894711
. Tar unpack: Tar xvf Filename.tarPacking: Tar cvf filename.tar dirname(Note: Tar is packed, not compressed.) )———————————————. gzDecompression 1:gunzip
Overview
Figure 1 Linux system process big view
first-stage boot loader
The primary boot loader in the MBR is a 512-byte image that contains program code and a small partitioned table (see Figure 2). The first 446 bytes are the primary boot
Inotify is a Linux kernel feature that monitors file systems and issues related event warnings to specialized applications, such as delete, read, write, and uninstall operations. You can also track details such as the source and destination of the
1, view the public IP:
Curl Members.3322.org/dyndns/getip
Expand:
Curl Command
function: Perform download file operation
①curl http://www.baidu.com
Will print out the Baidu home page HTML source code.
②curl-o mbaidu.html
Under Linux There are many classic operations, especially the classic is the combination of commands, whether as a parameter, or the coordination between the order, have done more perfect. Let's take a look at some of the commonly used commands.
1,
1. Introduction sed is a non-interactive editor. It does not modify the file unless you use Shell redirection to save the results. By default, all output lines are printed to the screen. The SED editor processes files (or inputs) line-by-row and
1,Linux memory space
A. Linux's memory space has 4G of process address space, including user space and kernel space. The user space is allocated 3G, and the kernel space is assigned 1G. User processes typically have access only to virtual addresses
1, directly view all the content of the article: Cat, TAC, NL
(1) Cat: File output from the first line to the last row
(2) TAC: Writing is the reverse of cat, output is also from the last line to the first line
(3) NL: Similar to cat commands,
Centos7 Use the Firewall-cmd command to configure the firewall. Firewall-cmd has the concept of "domain" (zones). The default zone is public. The Firewall-cmd command basically takes a zone parameter and specifies which domain to operate on. We
Hard link is in the original inode reference plus one, with Ls-li can be seen, hard connected file and source file Inode value is the same, and soft connection is to create an inode, specifically to point to the actual file inode, such as shortcuts.
interrupt and interrupt handlers
interruptedCan be generated at any time, interrupt the execution of the CPU, the CPU instead of processing interrupts. Different devices correspond to interrupts, and each interrupt is passed through a unique
There are many Linux Chinese editor, the most commonly used is vi,vim, of course, there are simple gedit and nano and so on. The Vim is VI upgrade version, and gedit Edit and window notepad similar, nano usage is also very simple, here will no
Uboot at the end of the call Start_kernel (/3.1.10/INIT/MAIN.C) function to start Linux
Start_kernel to do memory initialization, operating system data structure initialization, scheduling system initialization, various resource initialization will
Nginx is a powerful server, it can deploy high-performance cluster, it allows engineers to write their own functional modules, recommend the reader in the preparation of their own functional modules, before the Nginx to a more comprehensive
System boot log: Bringing up interface Eth0:pcnet32 device eth0 does not seem to be present, delaying initialization.
Ifconfig output: No eth0
System-> Network configuration: Has eth0, in inactive state. An error occurred while trying to activate:
Reference: "Linux kernel design and implementation" 13th Chapter virtual file system
The virtual file system (VFS), as the kernel child operating system, provides a file and file system-related interface for user-space programs. Programs can use
The Linux boot service is to use service + TFTPD, the (Ubuntu) service will go to find/ETC/INIT.D under the launch program, service +TFTPD can run.
Chkconfig is used to add the service to the boot list.
Chkconfig--add tftpd
chkconfig--list
Compared with TCP, we know that UDP is oriented to connectionless and unreliable communication, it is suitable for data transmission data and the reliability of the data is not high, because it is connectionless, so it's high efficiency of data
The ability to operate with service commands is the system service that has been registered as Linux. Windows can also be registered as a method of system services.
Service command used a lot of times, is more related points, used many times, or
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service