Using rsync + Lsync to achieve real-time file synchronization, this article describes how to configure Rsync + Lsync. and test the file synchronization function.Server information:
Main: 10.86.255.154From: 10.86.255.155
1. From the service set up.
First go to the official under the latest version of Memcached (memcached-1.4.22.tar.gz) and dependent package libevent (libevent-2.0.21-stable.tar.gz):
http://www.memcached.org/files/
http://libevent.org/
There are two more PHP expansion packs:
The tech blog uses a Aliyun server, the lowest-configured type (only 512M of RAM). When installing the latest version of MARIADB, it always fails to install because of insufficient memory. So tech decided to turn on swap.
Since opening swap reduces
Configure soft raid under Linux system
One, set up diskHere we take RAID 1 as an example, and the other RAID level settings are similar. Riad 1 requires two hard drives, I added 2 80G hard drives to the VPS. In the system, use the Fdisk–l command
When the installation of LNMP through Putty or SECURECRT, the network suddenly dropped or accidentally putty turned off, and so on, causing LNMP installation process was interrupted, in fact, to prevent this phenomenon is very simple, as long as the
PS, which represents the abbreviation for process status English, is mainly used to list detailed system processes. Like ordinary Linux server users more commonly used is the top command to list and view the current server snapshot process
Often use Windows System installation node to do some operations, for Linux or for the first time, Baidu, a note.
First on the NODEJS official website download Linux version of node, the compression package uploaded to Linux above, in fact, any
Now many servers are equipped with raid, general software RAID or motherboard comes with raid is not software-assisted, you can understand the basic RAID through the system commands, of course, the best use of hardware RAID cards, usually with the
1, Vmstat
Shortly after it was started, even though the incremental report was collected, the first line of values showed the average since the system started, and the second line began to show what is happening now.
Procs
R This column shows how
Configuring clients
Install Agent
Linux, UX Agent is compiled, do not install
#useradd Zabbix
#cd/usr/local/zabbix
#tar ZXVF zabbix_agents_1.8.linux2_6.i386.tar.gz
To get a copy of the zabbix_agnetd.conf from the server to the local, and then
Fault Description Recently finally updated the next Gentoo, reboot found that my eth0 network card failed to start: * Bringing up interface eth0* Error:interface eth0 does not exist* Ensure that you have loaded the correct kernel module for your
Umount command
Unpack the file system. Umount [-ahnrvv][-t ][file system]
Umount can dismount a file system currently attached to a Linux directory.
There was a problem with NFS access on the line, which caused the/data1 directory LS to be out of
NFS is the shorthand for network file system, which is the network filesystem.
The network file system is one of the file systems supported by Linux, also known as NFS. NFS allows a system to share directories and files with others on the network.
Before we look at the code, we're going to get some commands.
Iptables Open and close
1) effective after reboot
The code is as follows
Copy Code
Open: Chkconfig iptables onClose: Chkconfig iptables off
2)
The DF command is used to view the system's space and inode usage, and is also one of the common commands in System management and shipping dimension.
-a,–all displays all file systems, including local and mounted network file systems-b,–block-size=
Let's take a look at nginx commands.Last-this Flag is basically used.Break-abort Rewirte and do not continue matchingRedirect-return the HTTP status 302 of the temporary redirectPermanent-returns the HTTP status 301 for permanent redirectionThis
Find the rows in the two files with the same field content, merge them, and output them to the standard output device.SyntaxJoin [-I] [-a ] [-e ] [-o ] [-t ] [-v ] [-1 ] [-2 ][-- Help] [-- version] [file 1] [File 2]Parameters: -A not only
Ispell uses the/usr/lib/ispell/english. hash dictionary file to check text files. If no dictionary words are found in the checked files, ispell will recommend the words or ask you to add new words to the personal dictionary.SyntaxIspell
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