LINUX RHCE Notes

Source: Internet
Author: User

Disk class:

A new SCSI disk is added and Linux cannot be seen (not restarted)
echo "---" >/sys/class/scsi_host/host2/scan
I saw it.

Partprobe Partition Quest Command

Logical Volume Management:

1.fdisk Creating partitions
2.pvcreate/dev/sda1/dev/sda2; Build a physical volume; Pvdisplay view
3.vgcreate vgname/dev/sda1; Set up a volume group; Vgdisplay View
4.lvcreate-l 400-n lvtest vgtest; Creating a logical Volume 400M


Vgextend vgname/dev/sda1; Add a piece of PV to the volume group

Virtual Machine Rhel 6.5 mount installation disk ISO, and as a Yum source
============================================
Place the directory where the ISO file exists on Windows into the virtual machine share
Then under Linux you can find the auto-mount shared directory under MNT to see if you can see the ISO file
Then mount ISO file: Mount-o loop/mnt/xx/rhel6.5iso/rheliso
Cd/rheliso, see if you can see the Repodata directory

Modify the Yum repository to Base=file:///rheliso (that is, the top level directory of the Repodata directory)
Enabled=1 gpgcheck=0

Yum list; If successful, the package file is displayed

LINUX RHCE Notes

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.