I suddenly saw a demand point in the past two days. I needed to implement the Incremental backup function and found some information.
Record the following command, which can be used to perform simple Incremental backup.
Win:CopyCodeThe Code is
Use the RENAME Command
======================================
Name
Rename-rename files
SynopsisRename from to file...======================================CopyCodeThe Code is as follows :#! /Bin/shINIFILE = "./dirlist. ini"Curpath = $ (PWD)For
Linux xmodmap modify keyboard ing caps_lock and super_l Interchange
Changed the awesome window manager. Ubuntu unity is still unstable. Occasionally stuck for half a day, can't stand the awesome that was once decisive. There are too many times to
1. Install scheduled tasks
This
ProgramSome systems may not be pre-installed. You need to execute the following command for installation.
Yum install-y vixie-cron
Then start the service
Service crond start
2. Set scheduled tasks(1) execute
I installed Linux on a virtual machine, and the real system was Windows XP. in Windows XP, I used Serv-U software to set up an FTP server, then we can log on to the FTP server in the virtual machine's Linux to download or upload files. The
Take the fedora operating system as an example:
1) install Apache for the first time and add the -- enable-Rewrite option during compilation.
For example. /Configure -- prefix =/usr/local/apachel -- enable-so -- enable-mod-shared = all -- enable-
This article describes how to view hardware information in linux, including the motherboard serial number, cpu information, memory information, hard disk information, and nic information.
1. motherboard information. view the serial number of the
===== Maximum number of threads ===
In linux, the maximum number of threads for a single process has the maximum limit PTHREAD_THREADS_MAX.
This restriction can be viewed in/usr/include/bits/local_lim.h.
The value of linuxthreads is generally 1024,
Error Description: (semop function call, strerror (errno) output result)
Interrupted system call
Platform: RedHat Linux
The description of EINTR in LINUX is as follows:While blocked in this system call, the process caught a signal.The UNIX document
1. Install msmtp
Luther @ gliethttp :~ $ Sudo apt-get install msmtp
2. Edit the configuration script (~ /. Msmtprc is the default configuration file, or you can use the-C option to specify the configuration file path)
Luther @ gliethttp :~ $ Vim
Complete the 10 Gb hard drive plug-in centos5.8 operating system under the VM9 virtual machine.
1. First, divide the hard drive sdb into four areas, each with a size of 200 MB, namely, sdb {5, 6, 7, 8 }. Create the pv of the four partitions.
2.
After being tested by Zhiwen Studio, the relevant configurations are as follows:
Copy codeThe Code is as follows: location ~ \. Php (. *) $ {
Fastcgi_pass unix:/tmp/php-cgi.sock;
Fastcgi_index index. php;
Fastcgi_split_path_info ^ (. + \. php) (. *)
1. Download The hadoop packageWget http://apache.freelamp.com/hadoop/core/stable/hadoop-0.20.2.tar.gz2, tar xvzf hadoop-0.20.2.tar.gz3, install JDK, download JDK directly from the oracle website, address:
Generally, it is necessary for a newbie to build a website using the linuxVPS command. The most important feature of Kloxo is that automatic backup can effectively protect data from loss. After VPS is purchased, some service providers provide
Preparations:
Lftp needs to be installed in VPS in advance. lftp is powerful. CentOS directly runs: yum install lftp and Debian execute: apt-get install lftp.
You need to create the/home/backup/directory on VPS and the backup directory on FTP.
If
When fopen or socket is used in php, an error is reported:
Php_network_getaddresses: getaddrinfo failed: Temporary failure in name.
My code is as follows:
$ Handle = fopen ("http://www.baidu.com/"," r ");Echo "handle:". $ handle;
This means
However, cygwin is too complex and requires a lot of resources to download. In the end, I didn't download it, nor did I use it. In my opinion, GunWin32 is a good choice. GnuWin32 enables windows users to use a variety of linux commands in the
Set to execute my program every minute:
# Crontab-e
**/1 ***/home/lfzhou/vhost
/Sbin/service crond stop // close the service
/Sbin/service crond start // start the service
Or
/Sbin/service crond reload // reload the configuration
Cron is a linux
Taking CentOS as an example, I will briefly summarize how to configure Secure SSH access.
Linux SSH Security Policy 1: Disable irrelevant portsMost hosts attacked on the network are targeted by hackers who use scanning tools for a wide range of
There are two ways to implement website load: one is to purchase hardware, for example, hardware F5 and then Citrix Netscalar. These devices are hundreds of thousands, which are not common users, the other is implemented using software, such as
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