DRBD is a distributed storage system in the storage layer of the Linux kernel. Now we need to share Block devices between two Linux servers as clusters. Here we choose drbd. (Iscsi also works)
Host Name IP address system environment
Node1 192.168.1.5
I spent a weekend studying how to build the android development environment of Qt5.1.0Beta. The past two days have passed, which is a small achievement. I would like to share it with you here.
First, let's take a look at the new features of
1. on the boot page, select to install or upgrade the existing system.
For more information, see CentOS 6.4 installation settings.
Install or upgrade anexisting system Install or upgrade the existing system
Install system with basicvideo driver
Background
My work in Qunar is O & M development. Therefore, I need to connect to the remote development machine through a terminal. Due to security and other factors, I need to log on to the development machine first, connect to the development
After the postfix is installed through the rpm package that comes with CentOS 6, the mail-s... test fails. Maillog is as follows: May 29 10:44:04 cl101 postfix/pickup [31536]: BA5662A0AFC: uid = 0 from = May 29 10:44:04 cl101 postfix/cleanup [31559]:
The Swiss Army Knife mentioned here refers to the work that a simple command can complete a large piece of code in other advanced languages.
The following content is a summary of Joshua Levy on Quora:
You can use sort/uniq to obtain the
Ubuntu is a GNU/Linux operating system based on desktop applications. The latest version is version 13.04. It is an open source code, powerful, and free operating system, in addition to the operating system, there are also file processing, image
Preface to learn a command in Linux, run the netstat command to display network-related information, such as network connection, route table, interface status (interface statistics), and masquerade connection, multicast members (multicase
VirtualBox is free of charge. VMware charges fees. For instructions on installing CentOS 5.4 with VirtualBox, see:
Read more: Install Ubuntu 13.04 in VirtualBox 4.2.12.
When installing the Virtual Machine enhancement package, execute the following
Linux Top commands
View multi-core CPU commands
Mpstat-p all and sar-P ALL
Description: sar-p all> aaa.txt redirects the output content to the aaa.txt file.
Top commands are often used to monitor linux system conditions, such as cpu and memory
Fdisk partitioning Tool
1. Overview
* Fdisk is an old partitioning tool of IBM and supports most operating systems. fdisk is installed in almost all Linux operating systems by default. Fdisk can still be used in Linux Rescue mode.
* Fdisk is an
How to get help in Linux
1. query steps:
1. Command -- help
2. man command to query
You can search by "/+ keyword;
Man-k keyword search for help documents containing keywords;
3. info command to be queried
You can search by "/+ keyword;
4.
When running make menuconfig in Ubuntu 12.04, the following error is reported:
Www.bkjia.com @ www.bkjia.com :~ /Work/linux_3.9.5/linux-3.9.5 $ make menuconfigHOSTLD scripts/kconfig/mconfScripts/kconfig/mconf. o: In function 'show _ help ':Mconf. c
Finally, I finished iptables. I copied the matching configuration at the beginning, but it was not correct. I searched N more articles on the Internet and finally found a more detailed article, after reading twice, the configuration was successful.
Linux kernel 3.6 officially removes the route cache because, as mentioned by the author, it is not suitable to exist as a part of the route table. It is highly related to traffic patterns, it should be used as an optimization in external
Introduction: Remember the second year of undergraduate course began to toss embedded under the RedHat-Enterprise-5, And then under the influence of the open source community obsessed with Fedora and its radical temperament. Then, I gradually felt
The importance of data is unnecessary. If you have ever experienced data loss, you will understand it. Do not trust your server, your computer, or any data storage device. Only by constantly making multiple backups can we feel at ease.
Deja Dup is
Ubuntu 13.04 Web development from Zero Configuration to full equipment note (Environment Building Guide)
1. Set a password for the root user
Sudopasswd root, enter the password.
2. Switch to root to install the software.
Suroot
3. installation:
Note:
1. Add a default route
Route add default gw 10.0.0.1 (effective only in memory by default)
You can append the file to/etc/rc. local at startup.
Echo "route add default gw 10.0.0.1">/etc/rc. local
2. Add a static route
Route add-net 192.168.2.0/2
In Linux, ssh servers generally use OpenSSH, but sometimes there is a latency of about 10 seconds to connect to the server through ssh.
At first, I thought it was an OpenSSH security policy to prevent port scanning. Later I found myself thinking
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