What is INotify?
INotify is a powerful, fine-grained, asynchronous file system time monitoring mechanism, which can replace Crond with rsync trigger file synchronization, thus monitoring the file system to add, delete, modify, move and other
Operating system: CentOS6.3
Linux can be controlled by using an SSH remote connection, or it can be projected on the host by executing the following command.
[root@localhost ~]# export display=ipaddress:0
[root@localhost ~]# xhost +
This command
SSH connection to CentOS display garbled solution
In order for putty to appear normal, you need to do the following:
1. Set the/etc/sysconfig/i18n on the CentOS as follows
Lang= "ZH_CN. UTF-8 "
2. In the Putty Putty Configuration window, set the
Under Linux, configuring multiple IPs is usually eth0.0. eth0.1.. eth0.x and so on, then if you want to configure a large number of IP, so configuration is also possible, but cumbersome, although this situation is very small.
For the addition of a
SSH is a remote login service similar to Telnet, but faster/safer than Telnet.1. View the status of the SSH serviceEnter the following command:Root user directlyService sshd StatusFront of non-root user plus sudosudo service sshd statusIf you
command format is as follows:
* * * * command
Time-sharing and Lunar Week command
The 1th column represents minutes 1~59 per minute with * or */1
The 2nd column represents the hour 1~23 (0 for 0 points)
The 3rd column represents the date 1~31
The safest way to kill a process is simply to use the KILL command.
First use the PS-EF command to determine the PID to kill the process, and then enter the following command:# Kill-pidNote: The standard KILL command usually achieves the purpose.
First, the system agreement
1. System environment
Linux:centos-4.4.servercd
apache:2.2.4
mysql:4.0.26
php:4.3.11
zendoptimizer:3.2.2
phpmyadmin:2.10.0.2
2, the source package storage location:/USR/LOCAL/SRC
#为什么一定要在/usr/local/src/under the tarball?
A. Download Nginx
Download the latest version of Nginx from Nginx's official website (http://nginx.org/en/download.html), where I am downloading nginx-1.9.12.
When the download is complete, get a compressed package as shown in the following
1. Install Nginx
1.1 Select stable version
We compile and install Nginx to customize our own modules, machines CentOS 6.2 x86_64 . First install the missing dependency pack:
# yum -y install gcc gcc-c++ make libtool zlib zlib-devel openssl
In general, we will automatically install the system after the installation of the VSFTP service, but sometimes it is necessary to do their own, such as the two days in the configuration for my friend, the process to record down, so that when needed
Recent unit live more, so very little update, at night the internet happened to see an introduction about Sersync, personal feeling more standard than rsync+inotify configuration, just recently preface, summed up under, share to everyone.
The
CENTOS6after the virtual machine is cloned, the NIC name changes, and the default network card name is eth0. The network card for the cloned virtual machine is eth1. Default configuration file:/etc/sysconfig/network-scripts/ifcfg-eth01 , and the
System environment: CentOS Linux 7 x64Current User: Normal userInstalling the Tomcat version: apache-tomcat-9.0.8.tar.gz: https://tomcat.apache.org/download-90.cgi1. Drag the Tomcat 9 that you downloaded from the physical machine to the virtual
Here's the VMware Workstation 8.0 installation step is not said, mainly on the CentOS 6.5_64 bit installation instructions
Select Create a new virtual machine, creating a fresh VM:
Select Typical on the new Virtual Machine Wizard
One, Redis source installationAs of 2016.8.11,redis, the latest stable version is 3.2.3. This article is based on this version, we will explain the relevant.Download the Redis source code and do the following:wget
Redhat has a paid commercial version and a free open source version, and the commercial version of the industry is called the Rhel (Red Hat Enterprise Linux) series,This CentOS (Community ENTerprise Operating System) is compiled from the source code
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