Server side is mainly installed Memcache server side, the latest version is memcached-1.3.0.
Download: http://www.danga.com/memcached/dist/memcached-1.2.2.tar.gzIn addition, Memcache used libevent This library for socket processing, so also need
References in the shell
': Strong reference, variable substitution not performed"": weak reference, able to perform variable substitution': command substitution, referencing the execution result of the command: another symbol for the substitution
If and case two conditional statements in the shell
1. If Syntax 1:IfConditionsThenCommandsElseCommandsFi
Syntax 2 for if:Syntax: If conditionThenCommandsElif conditionsThenCommandsElif conditionsThenCommands....ElseCommandsFi
Description: Read
Check the hard drive information first.
[Root@xenserver-ds-monitor01 ~]# Smartctl--ALL/DEV/SDASMARTCTL 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0+10] (local build)Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org= = = START
With an SSH key login, it turns out that you can't log in with the key, and I'm not allowed to enter the password. Distress.
Enter SSH connection code
Ssh-i private.key-v User@host.com-p22
There is nothing wrong with the information from the
First enter the folder you want to back up to, and then execute the following commandBack up database, SSH command: mysqldump-p database name-u database username > bak.sql (also can be the file name you want)Do not compress backupsMYSQLDUMP-P
Playing Linux under Windows is a virtual machine, but installing the system is still quite a bother. Now everything is automated today, vagrant is such an artifact, based on Ruby Development, using open source VirtualBox as virtualization support,
1) effective after rebootOpen: Chkconfig iptables onClose: Chkconfig iptables off2) immediate effect, restart after failureOpen: Service iptables startOFF: Service iptables stopIt should be explained that for other services under Linux, you can use
When you run the FTP localhost prompt bash:ftp:command the not found command does not exist
This is mainly because the FTP package does not exist, just need to install it, here are several installation methods
RPM Installation Method
1, 5.X
Here is the script implementation process:1. Automatically package the backup on the server to a Web directory (of course this web directory is inaccessible to other people), so that the script to download.2. Download the backup package on the local
Iptables IntroductionIptables is a core based firewall, very powerful, iptables built-in Filter,nat and mangle three tables.Filter is responsible for filtering packets, including the chain of rules, input,output and forward;NAT is concerned with
In a Linux hierarchy, users can create a new directory using the mkdir command in any given directory, or you can use the CD command to convert from one directory to another. However, there is no prompt to tell the user which directory is currently
Let's take a look at the technique of using the ls,grep and WC commands to count the number of files of a specified type in a directory. The interaction between commands is done through named pipes.
grep– a command that a user searches based on a
Green font output:
The code is as follows:
Echo-e "\033[1;32;40mpass\033[0m"Red font output:
The code is as follows:
Echo-e "\033[1;31;40mfail\033[0m"The color of the text terminal can be generated using the ANSI non-normal character sequence.
Just installed Spynner module, the use of Easy_install Spynner installation, a variety of files missing Ah, inadvertently found apt-file command, never worry about compiling software missing a file and overwhelmed.
1, first have to install Apt-file
PersistenceUsing a terminal to log on to the remote development machine coding should be the work of most programmers year after year, but the tragedy is that ghost will cut off your instant chat with the beauty test, fortunately, ssh provides the
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