If we use the/DEV/SDB1 and/DEV/SDC1 two partitions to establish a RAID1 device/dev/md0:# mdadm--create/dev/md0--level=1--raid-devices=2/dev/sd[bc]1# mkfs.ext4/dev/md0After rebooting, the/DEV/MD0 device will automatically become the/dev/md127 device.Workaround: Modify the configuration file/etc/mdadm.conf the second column of the device name is md0.# mdadm--detail--scan >>/etc/mdadm.conf# vim/etc/mdadm.confReferenceARRAY /dev/md/godben:0 metadata=1.2 name=godben:0 Uuid=c250f478:6e6de973:05a10768:
First step: When you start the Grub menu, press E to enter edit mode ...
Step Two: Locate the Linux 16 line and change the RO to RW init=/sysroot/bin/sh
Step three: Press Ctrl+x to start with single user mode
Step Fourth: You can use the following command to access the system
Chroot/sysroot
Fifth Step: Reset Password
passwd Root
Sixth step: Update system Information
Touch/.autorelabel
Seventh Step: Exit Chroot
Exit
Step eighth: Reboot your system
Reboot
You can change the CENTOS
version of the high!Installing the MySQL software on master slaveMySQL software can be downloaded on the http://www.mysql.com[/, source code or RPM package can be, because RHEL6 comes withMySQL software package, direct Yum installation.# yum Install MySQL mysql-server-yMaster server Configuration1) Configuring the/ETC/MY.CNF configuration fileAdd a parameter under [mysqld]Log-bin=mysql-bin #启动二进制日志系统Binlog-do-db=test #二进制需要同步的数据库名, if you need to syn
/oracleOracle_home= $ORACLE _base/product/10.2.0/db_1Oracle_sid=orclLd_library_path= $ORACLE _home/lib:/lib:/usr/libPath= $ORACLE _home/bin: $PATHExport TMP TMPDIR oracle_base oracle_home oracle_sid ld_library_path PATHBefore encountering the successful installation of Oracle, I encountered a ORA-27125 error during startup, and also recorded in the blog ora-27125:unable to create shared memory segment and blog ORA-27125, Then follow the solution to do the following:[[email protected] cdrom]# ID
Infrastructure ServerServer PlatformWeb ServerBackup ServerDirectory ServerIdentity Management ServerNetwork Storage ServerPrint ServerServer Platform DevelopmentMinor problem:In the Yum configuration file, if you forget to add the name of the Yum source, the following error may be reported.[email protected] yum.repos.d]# Yum Clean allLoaded Plugins:product-id, Security, Subscription-managerThis system isn't registered to Red Hat Subscription Management. You can use the Subscription-manager to
.el6.x86_64Bind-dyndb-ldap-1.1.0-0.9.b1.el6.x86_64------------- Why is the software package tangled ?? Because the names of these software packages have a relationship with each half of the three DNS words ---------
2. install the software package[Root @ rootbug ~] # Yum install bind *-y
3. view the configuration fileIn RHEL6, whether bind-chroot is installed or not, the configuration files are mainly/var/named. conf files.(1) Modify/etc/named. conf[R
1. mount the RHEL6 CD image to the VM. the system automatically mounts the CD to the system. RHEL_6.1x86_64 on the desktop is the CD after the system automatically mounts. the default automatic Mount directory is under/misc/cd. You can also mount the optical drive to another directory to configure the local YUM source, and copy the content of the cd to the hard disk, use the hard disk directory to configure local YUM4. modify the YUM configuration fil
Operating System: RHEL6 sometimes does not need to deploy so many servers, but only a few servers, but it does not have a fully automated Kickstart environment, and does not want to go to the next step on each platform, you can use semi-automatic functions. The ks. cfg file is indispensable: # platform = x86, AMD64, or IntelEM64T # version = DEVEL # Firewallconfigurationfirewal
Operating System: RHEL6
Somet
1. why is it necessary to build a local YUM source to upgrade and install software online using the YUM client tool on a Linux host due to network connection speed and network bandwidth restrictions, installation is often unnecessary for users. However, if a local YUM source server is built in the LAN, the software installation speed is slow. 2. How to build a local YUM Source
1. Why should I build a local YUM source?
When you use the YUM client tool on a Linux host to upgrade and install softwa
B o n d i n g i n T e R f a C e s/etc/sysconfig/network-scripts/
ifcfg-bond0Interface configuration file device=bond0 ipaddr=192.168.1.1 netmask=255.255.255.0 gateway=192.168.1.254 onboot=yes Bootproto=none userctl=no nm_controlled=no bonding_opts= "miimon=x mode=x" #bonding parameters separated by spaces "description: mi Imon=100 Miimon refers to how long time to check the network, the Unit is MS (milliseconds) this side of 100, is 100ms, that is, 0.
Everyone must know about PXE + FTP + DHCP + TFTF + Kickstart to implement one-click Network installation system! If you do not know how to build the Rhel6.0 system, you can refer to the author's article to use Kickstart to implement unattended installation of the Rhel6.0 system. If you already know about it, this article uses kickstart to create an automatically installed iso image, to use kickstart to automatically install an iso image, perform the following steps.
I. Prepare an iso image for i
When xCAT installs rhel6 on a physical machine with multiple NICs, You need to manually select the NIC. xcatrhel6Problem description
Today, rhel5 is successfully installed on a dual-nic physical machine. However, when installing rhel6, you cannot automatically select the NIC for installation. A window will pop up asking you to choose whether to use em1 or em2.Cause
The reason is that I used the statement
Because my classmate's optical drive is damaged, I need to install RHEL through the network. Since I have not learned about the server, this is the first time I have used so many services to install the operating system, it also made me feel the joy of success for the first time. I read a lot of documents about PXE these days, but I couldn't install it successfully. Later I found my article about AndrewYu. Although he installed RHEL5, there are some differences with
1. Install the subversion server in rhel6. For details, refer to "Install subversion under RHEL6 ".
1. Install the subversion server in rhel6, see also install subversion under RHEL6 http://www.linuxidc.com/Linux/2011-05/36586.htm
2. Install maven and nexus in rhel6, see ins
RHEL6 Virtual Machine clone network problem solution environment: Virtualbox + RHEL 6 x64 Virtual Machine cloned with VirtualBox vboxmanager, operating system RHEL6, after startup, it is found that the network card is unavailable. Restart the network service and report the following error: Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization. [FAILED] similar things h
Up to now, there has been no message about Oracle10g/11g authentication on RHEL6, that is, we do not recommend that you use Oracle10g/11g in the RHEL6 production environment. However, I recently saw some friends asking me how to install Oracle10g on the latest CentOS6, which requires testing and some problems occurred during the installation process, therefore, the 51CTO editor decided to collect resources
The configuration of the rhel6 software database is not much different from the previous rhel version. The configuration syntax is basically the same, but some additional parameters are added, the directory structure of the system installation disc has changed. The following is the directory structure of the rhel_6.0-i386-DVD: HighAvailability lt;-high availability related software packages, such as rhcs related suite n
The configuration of the
RHEL6 Linux manual installation of graphical desktop management (Xorg + Gnome)The graphic management interface is not installed when RHEL6 Linux is minimized or customized. After installation, you can install the interface manually.If the graphical desktop management program is not installed, the following error is reported when you run startx.Www.2cto.com [root @ rhel-a ~] # StartxHostname: host name searc
The nproc limit of ulimit in RHEL6 is used to limit the resources occupied by shell startup processes. the following restrictions are supported: the size of the created kernel file, the size of the process data block, the size of the file created by the Shell process, the size of the memory lock, and the size of the resident memory set... the nproc limit of ulimit in RHEL6 is used to limit the resources occ
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.