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
how to Mount ISO under CentOS
Used to use these ISO image files in Windows, we can use the virtual optical drive to load, can not be under Linux without those tools, then what to do under Linux?
First we have to load the ISO into a directory,
Typically, you use Yum to install a dependency-pack relationship, and if one server cannot connect to the extranet or the Yum source is not set, you may want to download the RPM packages from another server and then install them. So how do you use
system log files ( can be viewed by cat or Tail command )
/var/log/message information and error logs after system startup is one of the most common logs in red Hat Linux
/var/log/secure Security-related log information
/var/log/maillog
[root@yan-001 ~] # uname-a # View Linux System Information commands for kernel/operating system/CPU information
[root@yan-001 ~] # head-n 1/etc/issue # View the operating system version, is the number 1 is not the letter L
[root@yan-001 ~] #
In the CentOS system of the necessary program to mount U disk:
1, the root user login
Use Fdisk-l to look at the device of U disk
If the U disk is sda1
2, to determine the directory/mnt set up a folder/usb, if not established can be
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
CentOS to prohibit users ssh and SFTP login
In Linux for security purposes, we will prohibit certain users SSH login system to operate. Here I take the CentOS operating system as an example to record how to do the processing.
1, open the sshd
MARIADB is an upgraded version of MySQL, is fully compatible with MySQL, and now the major distributions of Linux are beginning to abandon MySQL into mariadb embrace :# yum Install mariadb-server mariadb# rpm-q mariadb mariadb-serverInstall a little
1. Download and uploadDownload the node-v6.10.3-linux-x64 and upload to the Linux server.Note that you need to download a bin file with the NPM, node file in the bin.Use TAR-XVF node-v6.10.3-linux-x64.tar.gz for decompression.2. Set the
1. Menu bar:--"Edit –" Virtual network editor2. Virtual machine settings3. Start the virtual machine3.1 Open File Ifcfg-eth0The command is as follows:Vi/etc/sysconfig/network-scripts/ifcfg-eth0Setting parametersDevice=eth0 #物理设备名bootproto= "Static" #
For some reason, testing in a virtual machine requires a fixed IP, so the process is documented.1. First get your gateway, convenient to use in the Cento system configuration
Choose menu bar: Edit->virtual Network Editor
Today, in the CentOS experiment, found that before the use of Ubuntu under the comparison of the more accustomed to the use of the tab to complete the command can not be used, so very curious, after looking for information and personally tested, the
Brief DescriptionThe article aims to build a pre-built article for Hadoop, and of course to build an introductory article on Linux. Then I'll repeat the installation preparation software.Environment Preparation: Http://pan.baidu.com/s/1dFrHyxV
Since the CD-ROM installation system is already very inconvenient, USB stick installation is relatively convenient, but when the multi-machine installation is also a bit difficult to cope with, the network installation method to solve these problems
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.