A croncrond is located in/etc/rc.d/init.d/crond or/ETC/INIT.D or/etc/rc.d/rc5.d/s90crond, the most general reference to/var/lock/subsys/crond. Cron is a timed execution tool under Linux (equivalent to scheduled task under Windows) that runs task
1 History of the Linux1.1 No system timeCard reader, paper jamKeyboard1.2 Unix Period1960 MIT developed the CTSS (compatible time-sharing system), which is a multi-user, multi-tasking, multi-terminal (can support 30 terminal) server operating system,
#Port 22Specifies the port number that the sshd (8) daemon listens on, which defaults to 22. You can listen to multiple ports using multiple instructions.The default is to listen on all network interfaces on this computer, but you can specify to
BackgroundRecently received a demand for daily inspection of the business equipment, and export reports, but the thought of equipment has N, a daily patrol such repetitive work is too much, so decided to write a script to take care of this matter.
First, the basicThe commands that display the number of physical CPUs are as follows:Cat/proc/cpuinfo | grep "Physical ID" | Sort | Uniq | Wc-lThe commands that show the number of cores in each physical CPU (that is, the number of nuclei) are as
1, download the installation version Putty2. Create a new remote connection address, save3. Log in to the connection address of the virtual machine, set up the. SSH directory (hidden) into the directory4. Create a new public key file Authorized_keys,
The first thing to do is the/etc/sysctl.conf configuration file Net.ipv4.ip_forward = 1 default is 0.This allows Iptalbes FORWARD.Vi/etc/sysconfig/iptables adding *nat Segments*nat:P rerouting ACCEPT [0:0]:P ostrouting ACCEPT [0:0]: OUTPUT ACCEPT [0:
Transferred from: http://www.cnblogs.com/peida/archive/2012/10/24/2736501.htmlLinux CD commands can be said to be the most basic Linux command statements, the other command statements to operate, are based on the use of the CD command. Therefore, to
Linux common view Hardware Device information command
System
# uname-a # View kernel/Os/cpu information # head-n 1/etc/issue # view OS version # cat/proc/cpuinfo # View CPU Information # hostname # View computer name # LSPCI-TV # list
The top command is a common performance analysis tool under Linux that shows the resource usage of individual processes in the system in real time, similar to the Task Manager for Windows. Here is a detailed description of how it is used.top-01:06:48
8. using regular Expressions with grep Regular expression: He uses a string to describe, match some of the syntax rules of a string, so that these rules of the syntax of the string, the corresponding processing.Common support for regular expression
Locate allows users to quickly search the file system for specific files. The method is to set up a database that includes all the file names and paths within the system, and then simply query the database when looking for it, rather than actually
Today summarizes the Linux system file permissions, the following first look at a diagram, to understand the file permissions1, the permission bit descriptionThe permission bits of a Linux file or directory are 9 permission bits to control, each of
RHEL7 Network ConfigurationRHEL7 The default NIC name is eno16777736Modify to Eth01. Modify the Grub fileAdd Net.ifnames=0 biosdevname=0 at the end of the line "grub_cmdline_linux="[Email protected] ~]#
Disable screen in CentOS to change the window size when creating a new window
Disable screen in CentOS to change the window size when creating a new window
When you use screen in Centos, such as Xshell or Putty, the size of the window is changed,
Install apache in Linux source code and solve common errors1. Compile and install apache 1. Resolve dependency httpd-2.4.4 requires a newer version of apr and apr-util, so it needs to be upgraded in advance. There are two upgrade Methods: One is
CentOS system modification time
Operation:12
date
–s
'1987-05-02 10:10:10'
clock –w
//
Write date into CMOS
Supplement:
Linux modification usually involves three commands:123
date
: Modify the current system time
Clock: Modify the CMOS time (view
Establish an ssh Trust Relationship in linux and trust the linuxssh Service
Create SSH TrustUse host A as the client (initiate an SSH request ip Address: 192.168.200.170)Host B is used as the server (ip address for receiving ssh requests: 192.168.200
Solution to 553 cocould Not Create File error when transferring files in Linux VsftpThe error message "553 cocould not create file SELinux Settings" appears during logon. For details, refer to SELinux settings [root @ localhost ~]. # Getsebool-a |
Function module of the Nginx ServerDifferences between Nginx and Apache
1. Advantages of Nginx compared with Apache
For this question, it is difficult to say which one is better. They all have advantages and disadvantages. For example, Apache
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