As a new thing, Linux attracts a lot of eyeballs, but whether it is quick and easy to share with Windows resources is a very important issue. As you know, you can use Network Neighborhood to share resources between windows, and you can use NFS for
Data mirroring: Real-time, transparent, synchronous (returned after all successful servers), asynchronous (returned after the local server succeeds)
Install DRBD
wget http://oss.linbit.com/drbd/8.4/drbd-8.4.1.tar.gzTar XF drbd-8.4.1.tar.gzCD drbd-8
Many IDC will divide the hard disk into two pieces, system disk and data disk, especially the use of some cloud technology merchants. This disk usually reads and writes faster than the data disk. If you do not care about the size of the hard disk,
Their own Linux server time and PC time is not very right, log time is not good, not easy to tune information judgment, so need to sync the Linux server time and their Windows time, the two are consistent, only convenient mode of view.
In the virtualization and cloud computing and container ages, we migrated many of the applications run by physical servers to the Xen virtualized private cloud. This is the problem with the physical server migrating to the virtual server. Migrating
1, a few CPU
# More/proc/cpuinfo |grep "Physical ID" |uniq|wc-l
2, each CPU is a few cores (assuming the same CPU configuration)
# More/proc/cpuinfo |grep "Physical id" |grep "0" |wc-l# Cat/proc/cpuinfo | grep processor
3, view the number of
RVM is a command-line tool that provides the management and switching of a convenient, multiple-version ruby environment.https://rvm.io/Installation:
# GPG--keyserver hkp://keys.gnupg.net--recv-keys d39dc0e3# curl-l Get.rvm.io | Bash-s Stable#
When you use Git, you often find that you create a large number of branches unconsciously. So, the trouble is coming, so many abandoned branches, what should be done?
You can't always do a git branch-d branchname delete it!
Here's a way to bulk
Download jdk1.6
Access to Oracle official website, select Downloads-->java se--> pull down the bottom of the page, click Previous Releases-java Archive after the Doenload button, select Java SE 6, select Java SE Development Kit 6u45, download this
Today, my colleagues asked me to help Mount NFS, the past two or three after the end, colleagues have to say that the NFS client does not write permissions, in the NFS directory to operate what is read-only, I think wrong ah, I have a few units have
The Linux command line attracts most Linux enthusiasts. A normal Linux user typically has about 50-60 commands to handle daily tasks. Linux commands and their transformations are the most valuable treasures for Linux users, Shell scripting
Download a module
The code is as follows
Copy Code
wget ftp://ftp.aconus.com/fc5/mod_encoding/mod_encoding-2.2.0-1.i386.tar.gzTar zxf mod_encoding-2.2.0-1.i386.tar.gzRPM-IVH mod_encoding-2.2.0-1.i386.rpm
Recently @ Big tall in toss Nginx, for a while I wrote this post in the middle of the night, to write down I have been tossing nginx of those who do not regret youth, here to CentOS as an example:
Directory conventionsStart by agreeing on some
Do you ever know where the glamour or power of Linux comes from? That is, as many distributions Bloom, the Linux camp is growing, each distribution has a large number of users, developers volunteer to devote energy to related projects. Linux
Close port
The code is as follows:Iptables-a input-p TCP--dport 111-j DROPOpen port
The code is as follows:Iptables-a input-p TCP--dport 111-j ACCEPTDevelop discontinuous ports (including single):
The code is as follows:Iptables-a input-p tcp-m
By default, Nginx access logs are stored in a file. After a long time, the log content becomes unusually large. It is not conducive to archiving, backup, and analysis of log files. You can run scripts on a daily basis to automatically cut logs and
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