Mount the optical drive installation software under RHEL6.2 and rhel6.2

Source: Internet
Author: User

Mount the optical drive installation software under RHEL6.2 and rhel6.2
Mount the software on the optical drive under RHEL6.2

Guide In RHEL6.2 command line mode, mounting a virtual optical drive installation software may be difficult for many new users. I will give you a detailed introduction below. This tutorial uses Apache installation in RHEL6.2 as an example. This section describes how to mount a virtual Optical Drive. Environment: Windows 7 VMware 10.0.0 RHEL6.2.

First, select the iso file you want to install (generally, after Apache is downloaded, make the file package into an iso image file), and then select OK, as shown in:

After entering the system, run the following command in root User Mode:

[root@localhost ~]# ls -l /dev | grep cdrom lrwxrwxrwx. 1 root root                    3  May 5 04:06 cdrom -> sr0crw-rw----. 1 root cdrom        21,        1  May 5 04:06 sg1brw-rw----. 1 root cdrom        11,        0  May 5 04:06 sr0[root@localhost ~]#

Run the following command to mount the optical drive:

[root@localhost ~]# mount /dev/cdrom /mnt/mount block device /dev/sr0 is write-protected, mounting read-only[root@localhost ~]#

Enter the/mnt directory and enter the following command:

[root@localhost ~]# cd /mnt[root@localhost mnt]# lltotal 121336-r-xr-xr-x. 1 root root 124247355 May 4 20:22 ApacheDirectoryStudio-2.0.0.v20151221-M10-linux.gtk.x86.tar[root@localhost mnt]#

Copy the file to the/home directory and run the following command:

[root@localhost mnt]# cp  ApacheDirectoryStudio-2.0.0.v20151221-M10-linux.gtk.x86.tar /home[root@localhost mnt]#

Switch to the/home directory and run the following command:

[root@localhost mnt]# cd /home[root@localhost home]# lltotal 121336-r-xr-xr-x. 1 root root 124247355 May  5 05:11 ApacheDirectoryStudio-2.0.0.v20151221-M10-linux.gtk.x86.tardrwx------. 2 root root     16384 May 24 01:28 lost+found[root@localhost home]#

In the last step, run the installation command to mount the entire Optical Drive.

 

Free to provide the latest Linux technology tutorial books, for open source technology enthusiasts to do more and better: http://www.linuxprobe.com/

Related Article

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.