This paper centos6.0 system:
Using DRBD mirroring technology to achieve data synchronization between two servers in the background, the use of heartbeat to achieve automatic switching, open NFS to provide file services
node1:192.168.182.132
VSFTPD is the abbreviation for "very secure FTP daemon", and security is one of its biggest features. VSFTPD is the name of a server running on a UNIX-like operating system that can run on top of systems such as Linux, BSD, Solaris, Hp-unix, and is
There are previously written, but some do not have components can not install, here write down the installation components of the
Install the required components
Yum List | grep LIBP
Yum Install libp*
wget
Download the image file at CentOS website, http://www.centos.org/
Never touched the Linux guys attention: marked with i386 is 32-bit system, x86_64 is 64, which is good for their own internet search, I decisively selected the i386. Secretly looked
CentOS system with the speed of the updated source is really slow, you must feel that the domestic speed is unbearable. In order to let CentOS6 use faster yum update source, generally do operational maintenance of the principle of replacement source,
[Root@localhost yum.repos.d]# Cat Centos-base.repo
# Centos-base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The Mirror system uses the connecting IP address of the client and the
# Update status of each
In the project as a result of the company's local area network automatically obtain IP way, to each server restart host IP will change. In order to solve this problem, I refer to other articles and set up static IP according to their own situation
Iptables is a Linux Class Server important network security system tools, considering that most servers have dedicated team hosting, server administrators most of the time only through SSH remote management, in the case of security, to ensure the
Introduced
CentOS 7 does not use Iptables by default, so it is not possible to open 80 ports by editing the Iptables configuration file
CentOS 7 uses a FIREWALLD firewall
To query whether to open port 80:
[root@joe-pc ~]# firewall-cmd--query-
Because Aliyun's CentOS 6.5 version of the default kernel kernel version is 2.6, the lower. After installing the Docker, it cannot run.
Steps:
1, use the command to update:
Yum Update
2, install Docker. This ignores 500 words ....
3, use the
Docker is an open source application container engine that allows developers to package their apps and dependencies into a portable container, and then publish it to any popular Linux machine or virtualization. Containers are completely using the
Install the system and related services httpd,mysql,php, a run code, found php5.3 in the spilt function can not be used, the code inside a lot of use Ah, hurriedly online find out, there is no yum install php5.2 or change the dead code.
I found it.
Code validation passed, reserved, ready for later use
#!/bin/sh
#
# Firstly find the process of the tomcat ....
Tomcat_process_str= ' ps aux | grep ' Java.*tomcat ' | Grep-v grep '
process_array=
This article references from http://www.cnblogs.com/gbyukg/archive/2011/11/02/2232343.html
CentOS want to access NTFS partitions, now the common approach is to use NTFS-3G or kernel modules to implement.
First, the use of NTFS-3G official source
Today in the WIN7 environment through Xshell link VirtualBox centos; always link not on, originally because the virtual machine chooses the network link is incorrect [recommended connection method: Host-only Adapter (host mode).On the Internet to
Solve the problem that the samba service in centos cannot be accessed
Samba service in centos cannot be accessed
Common situations are as follows:
At this time, I found that this problem occurs many times. I had to go to Baidu every time and
Recently, git has been used for code release and version management online, but it has never been recorded before. This is recorded from today.On linux (the current article uses centos, ubuntu uses apt-get, which is not described here) there are two
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