Linux rsync+inotify implementation of Web page automatic synchronization configuration

Load balancing with multiple Web servers to keep resources consistent on the front-end Web server can be synchronized to other from the server (read-only server) by rsync on the primary server (writable data), but not automatically for real-time

Linux hosts Shield ping with iptables rules

Through Iptables fire Strong Take CentOS as an example, add the following three rules to the iptables: -A rh-firewall-1-input-s 192.168.0.100-p icmp-m ICMP--icmp-type 0-j ACCEPT-A rh-firewall-1-input-s 192.168.0.100-p icmp-m ICMP--icmp-type 8-j

Use Nginx to do reverse proxy under Linux

vps

I. Preparatory work First of all, you need a stable foreign cheap vps, the old high recommended to the bricklayer, of course you have do such as faster and more expensive VPS on the exception, the Old high blog is built on this VPS. How to get

Limit values are not limited after SSH login in Linux

ssh

Review the limits situation of the process for the next related build application and find the modified value. (cat/proc/pid/limits) When I use Su-user, I find that the value of ULIMIT-A also shows success. So what's the problem? SSH login does

Linux system OpenSSH source code compilation installation steps detailed

1, install the response devel package, or to the error header file can not find. Yum install zlib-devel openssl-devel tcp_wrappers-devel libselinux-devel 2, download the latest OpenSSL. wget ftp://ftp5.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/

Supervisor Process Management under Linux

Function Advantages Simple configurationAccurate managementProcess Group ManagementRPC ExtensionsAPI supportFASTCGI Process ManagementEvent support (such as timed tasks) Disadvantages The managed process must be run by the foregroundWithdrawal

Linux disk space is full of some solutions to share

1. Find files larger than 10M under Linux Find. -type f-size +10000k 2. Delete all empty directoriesFind/data-type d-empty-exec rm-rf {} \;3, Linux Bulk Delete empty files (size equals 0 of the file) methodFind/data-type f-size 0c-exec rm-rf {}

Monitor user's action Logging command in Linux system

First we create a log file that puts the action record The code is as follows Copy Code Touch/var/log/rootlog.txt Write and append permissions for this file The code is as follows Copy Code

In Linux, Apache and MYSQLD join service system Services

Let's add MySQL to Linux's system services. Mysql: The code is as follows Copy Code Cd/usr/local/mysql/share/mysqlCP Mysql.server/etc/init.d/mysqldChkconfig--add mysqldChkconfig mysqld onService mysqld Restart

Linux Modify SSH default port method detailed

First type:01 If you want to change the Linux SSH default port (22), then you only have to modify:/etc/ssh/sshd_config Port 22, here 22 into their own to set the port on the line, but do not set and now have the same port, in case of unknown

Linux ACL Permissions Guide

Linux file permissions are divided into ACL-enabled and ACL-enabled permissions If ACL permissions are not enabled LS-L can see the following, Master: RW, Group: RW, others: R-rw-rw-r–-1 www. 0 June 3 23:46 test Look again. Enable ACL permissions

Linux VI Command usage detailed

There are two modes of VI: instruction mode and input mode. The keystrokes entered in instruction mode are processed as instructions: input a,vi is considered to be inserting characters at the current position. In the input mode, vi is the input of

A detailed explanation of Linux Timing Task Setup method

(1) at command If we just want to make a particular task run once, then we need to use the at monitor. Setting the AT command is simple, indicating the time of the scheduled run, and then when it will run. At a similar print process, the task is

Linux configuration IP Address instance description

Linux configuration IP address method; Vi/etc/sysconfig/network-scripts/ifcfg-eth0 Ipaddr= "192.168.x.x"Netmask= "255.255.255.0″Gateway= "192.168.x.x"Vi/etc/resolv.conf NameServer 8.8.8.8 Service Network restart It feels a little bit messy, I'

Linux does not release disk space after deleting large files or a large number of files occupying disks

I have encountered a number of times that the linux system disk is full before, but no records have been recorded. Record this time. Previously, when an online server disk is full, we often find large files on the disk, find the deleted files, and

In linux, SVN hooks post-commit and rsync enable automatic data synchronization.

We know through the previous article SVN hook introduction and common hook instructions that SVN hooks are actually shell scripts. Today, we will use the post-commit hook to update svn data and use rsync to automatically synchronize data.Take the

File wildcards, file creation, copying, and other operations in linux

1: bash feature status return valueVariable $ ?, It is used to save the status of successful command execution. 0 indicates successful, 1-indicates failed, take the command ls as an example:Execution successful[Root @ localhost ~] # Ls/usr/Bin etc

Notes for Linux file Operation Commands

I. Special directories:Directory Description. Indicates the current directory.. Indicates the last Directory-Indicates the previous working directory.~ The main folder where "current user identity" is located~ Account indicates the user's main

File Directory operation code for linux Platform (1/3)

1. File typeStat (), fstat (), and lstat () functionsThe fstat function is similar to the stat function. Instead of using the path name of a file as the identifier, the fstat uses the file descriptor to identify the target file and obtain relevant

One-click installation package for lanmp/lamp/lnmp in linux

[My linux makes linux easier to use] this installation package is the most traffic-consuming web application lamp. The lnmp architecture one-click installation package. After downloading and unzipping the package, execute a script to complete the

Total Pages: 5467 1 .... 3039 3040 3041 3042 3043 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.