Start and stop1. Order:
The code is as follows:
Service Iptables Start/stop/restart
Or go straight to the/etc/init.d/.
2, configuration file:
/etc/sysconfig/iptables
If not, you can use Iptables-save to generate
Frames:
Tcpcopy can be used as a stress testing tool, but also to gain real user access traffic to simulate a real-world operating environment, as Tcpcopy's developers introduce it: Tcpcopy is a request-replication (all TCP-based packets) tool with a wide
Using RM-RF * When we want to delete tens of thousands of or hundreds of thousands of or even millions of of files in a Linux system is not very useful because it takes a long time to wait. In this case, we can use the Linux system command rsync to
Shared memory-related knowledge
Shared memory is the common use of the same piece of physical memory space between multiple processes, and it is achieved by mapping the same piece of physical memory to the virtual space of different processes.
What is the relationship between Nginx Tengine openresty?
Tengine is equivalent to Nginx's two development, making some changes that add unique featuresOpenresty is an enhanced version of Nginx that extends a number of modules, featuring the LUA
First, we assume that the server on which the site is located is a server and that the backup server is a B server. The way to install rsync is not to say, Linux directly yum/apt-get install rsync can be
1. Create a public key and key on Server A
1.For file operations, although they are implemented through function calls, they can be divided into two categories: system calls and library functions.2.In Linux, almost everything can be seen as a file.This means that ordinary programs can use
First, introduce
Linux under the nload is a very useful tool, the function is very strong, but relatively single, can only view the total flow. Can monitor the traffic of the network card in real time, divide incoming,outgoing two parts, namely
The IO performance of a disk is an important indicator of the overall performance of the computer. Linux provides the IOSTAT command to obtain disk input/output (i.e. IO) statistics, and Windows provides a WMI interface that allows you to write a
After two days of unremitting efforts, finally recovered a mistake to delete production server data. Record this accident process and solution, alert yourself, also suggest others mo make this mistake. Also hope that friends who encounter problems
Rewrite is a kind of server rewrite pulse technology, it can enable the server to support URL rewriting, is a popular server technology. It also implements the ability to restrict specific IP access to a Web site. In many cases, access to an IP can
Application scenario: One day, in our server PHP code path more than a log file, never noticed this log file, but the log file format is obviously not our generation, the format is relatively simple, even no function name,log level, is obviously the
In the process of helping customers maintain the site environment, often need to back up the original data, the faster way is directly through SSH transfer files to other FTP space, note the method steps:
Suppose the directory to be backed up
The system administrator must maintain the healthy operation of their servers. One important part of this is memory. When server memory usage is too high, it degrades server performance. Linux has a tool called free to monitor memory usage.
What's
Crontab is a service that most Linux distributions bring with them a timed execution program. The CRONTAB-E command enables you to open a text editor to edit a timed task for the current user.
The specific format is as follows:
Name: crontab
Use
IMG File compression and decompressionThe initrd.img in the 2.6 kernel is cpio compressed and is no longer a ext2 format used by the 2.4 kernel and cannot be mounted using the Mount-o loop. Need to decompress with gunzip and then use Cpio to unpack
Recently, the logs for new projects are very large, and it is very difficult to use vim to open them.You can use the split tool to split files and then open them easily.Split Command-split filesSyntax: split [-help] [-version] [-] [-l] [-B] [-C] [-d]
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