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
Here first of all thank the wine brother to build a highly available Linux server This book, read this book and reference inside the configuration let oneself to drbd+heartbeat+nfs thinking clearly a lot.
DRBD is simply a network raid-1, generally
In order to secure the system CentOS using SSH RSA authentication Mode login system, Windows system uses SECURECRT to generate public and private keys, the public key uploaded to the server user directory/root/.ssh directory.
[Root@localhost ~]#
These two days in toss build group git server environment, just start originally want to try to use Gitlab, but install up for my Linux rookie is a bit difficult, toss for a long time Gitlab did not fix decisively gave up.
Then find some articles
First, view the log file
Linux View /var/log/wtmp file view suspicious IP login
Last-f/var/log/wtmp
This log file permanently records each user's logon, logoff, and system startup, downtime events. So as the system uptime increases,
First, the configuration document detailed
In Linux systems such as Rhel or CentOS, the main setup files related to the network are as follows:
/etc/host.conf Configure the Domain Name Service client's control file
/etc/hosts The
Description
1. Cwrsyncserver Service End
System: Windows Server 2003
IP Address: 192.168.21.134
Data storage directory: D:\osyunwei
2, rsync Client
System: CentOS 6.3
IP Address: 192.168.21.132
Synchronized Directories:/osyunwei
To achieve
Native environment: Server is Aliyun ECS; the mirror used is: public mirror CENTOS 7.2
A. Nginx installation
1. Download the Nginx package (package) corresponding to the current system version
wget http://nginx.org/packages/centos/7/noarch/RPMS/
First step: Upgrade Python
CentOs 6.x's system default installed Python version is 2.6.x, want to upgrade to python2.7.x, from the official download source files, and then unzip, compile
wget http://www.python.org/ftp/python/2.7.10/Python-2.
Objective
Linux system default directory color is blue, in the black background is not clear, you can use the following 2 ways to modify the LS view color.
Method:
1, copy/etc/dir_colors file is the current home directory. Dir_colors
A few days ago, a colleague would install an Oracle database on the CentOS. Need to add a disk to the existing system, this is not very rare problem results are not written to the Fstab file, reboot the disk and then reload, this record the solution.
Objective
FFmpeg is an important application software used to run video sites that convert video files into different video streaming formats and can be installed on Linux systems. This article is mainly recorded in the CentOS 6.X upgrade FFmpeg
Zhoulf 2013-02-09 New Year's Eve original
Installation Instructions
System Environment: CentOS-6.3Software: nginx-1.2.6.tar.gzInstallation Method: source code compilation installationInstallation Location:/usr/local/nginxDownload Address:
Operating EnvironmentOperating system: Mac OS Lion
Virtual Host: VMware Fusion
Virtual system: Centos 5.5+
Action User: Root
To achieve the goal: to build LNMP environment.
Installing dependent libraries and development environments
Copy
Today, with the Xshell connection CentOS6.5, when the terminal code is set to: Unicode (UTF-8), the implementation of the service iptables restart command output will be garbled; When the encoding is set to: The default language, LS output will be
1. Download the CentOS installation disk
My computer is 32-bit, so I downloaded the i386 version of Centos-6.2-i386-bin-dvd.iso
Note: The hard disk installation version should be downloaded instead of the LiveCD version
LiveCD (CD-ROM) is a
After deploying the Linux host via OVF, prompt ringing up interface Eth0:device eth0 does not seem to be present,delaying initialization.Workaround:First, open the/etc/udev/rules.d/70-persistent-net.rules content as shown in the following example: #
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