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/