The tail command is also a very commonly used file View Class command, today to introduce the use of the Linux Tail command.
More Linux command details see: Linux Command Quick Search manual
The Linux Tail command is primarily used to write files
First, configure Nginx to support HTTPS protocol access, you need to compile the installation Nginx to add the corresponding modules --with-http_ssl_module
View Nginx Compilation parameters:/usr/local/nginx/sbin/nginx-v
As shown below:
System call is a set of interfaces that the operating system provides to interact with hardware devices such as CPUs, disks, printers, and so on, for processes running in user state. When a system call is required by a user process, the CPU switches
The Linux program has continued to touch some of the land, the appropriate summary today, the time is hasty, summary of the relatively fragmented.
Linux segment:Text: The machine code of the compiled program.
. Rodata: Read-only data. A format
Dynamically view memory usage for a process
Copy Code code as follows:
1. Top commandtop-d 1-p pid [, pid ...]//set to delay 1s, default is delay 3s
If you want to sort by memory usage, you can shift + m (sort by memory usage)
First, the realization principle
SSH logon is done using a method known as "Public key" authentication. A simple explanation for the "public Key" authentication method is:
First create a pair of public private keys on the client (public key file: ~
1, DF command
Linux can be used with DF command to obtain the use of hard disk, through the man can get the details of the DF command. The parameters commonly used by the DF command are:
A: Displays all the file systems and the disk usage
Here are my iptables settings.
Copy Code code as follows:
*filter
: INPUT DROP [0:0]
: FORWARD ACCEPT [0:0]
: OUTPUT ACCEPT [49,061:9,992,130]
-A input-i lo-j ACCEPT does not open a lot of services can not be used, open
1. Set the console font by Console-tools
1.1. Select and test the appropriate fonts and font files:
Copy Code code as follows:
# ls/usr/share/consolefonts/
1.2. The test chooses the favorite font file:
Copy Code code as
This article uses the command Debian and CentOS General, the file directory default and lnmp the same, please make the appropriate changes.
An example of www.xxx.com binding on the Wwwroot catalogue of VPS1 in this paper
1.VPS1 Data Packaging (
Monitoring Application Interface: News interface, weather interface Processing method: Automatically restart Tomcat when application interface is not available, and send alert email to relevant people
#!/bin/bash #---------------------------
But on the server, many use Linux server, the source program uses UTF-8, so it is easy to generate character encoding problems.
If you just transcoding the CSV file to UTF-8, then there is no problem on the Windows Server,
On RedHat5.5, in an
This is because you need to create a timed task to determine the status of the SNMP service. The is judged by the following code tmp= '/etc/init.d/snmpd status ' snmpd_status = ' echo $tmp | grep -Eo ' running ' ' if [ $snmpd _status = '
There has been such a demand, at that time asked, also did not search method, now unexpectedly both asked, also searched, hey, the world really can not force Ah!In Linux kernel debugging, the often used method of printing function call stacks is
RPM (Install, query, uninstall, upgrade, verify)InstallationInstallation is usually done using the instruction RPM-IVH-I Installation-V Show More information-H Show progress bar--nodeps (cancellation of dependencies, most likely not available after
Reprint: http://blog.csdn.net/shanzhizi/article/details/47320595On linux servers, there are some zombie processes , and here's how to quickly find and destroy these zombie processesFirst, we can use the top command to see if the server currently has
The file identifier is an integer ending from 0 to 9, indicating the specific data flow source associated with the process. When a Linux system initiates a process that may be used to execute a shell command, three files are automatically opened
The RSTAT protocol allows users on the network to obtain performance parameters for each machine on the same network.You need to download 3 packages:(1) rsh-0.17-14.i386.rpm(2) rsh-server-0.17-14.i386.rpm(3) rpc.rstatd-4.0.1.tar.gzFirst,
Then yesterday's review.1, bash under the userAdministrator, command prompt for #650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8D/00/wKiom1iBXxShNd_zAAAN_9YTrKY635.png "title=" 2.PNG " alt= "Wkiom1ibxxshnd_zaaan_9ytrky635.png"/>For
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