In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail the example analysis of installing oracle database software on the virtualbox virtual machine mount optical drive iso image file in the Linux operating system. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Linux operating system
Virtualbox virtual machine mounts optical drive iso image file installs oracle database software
OS:RHEL6.4 64bit
DB:Oracle Database 11.2.0.4
Virtual machine: Oracle virtualbox
[experimental background]
When using a virtual machine to experiment with installing oracle database on linux operating system
If the oracle database installation package is uploaded and unzipped and installed in the linux system, the file generated when the virtual machine is exported will be too large
In order to reduce the size of virtual machine files, it is convenient to export smaller virtual machine files for saving and transfer.
When installing oracle software after installing the linux operating system, you do not have to upload the installation package of the oracle database software to the linxu system
Directly use the form of iso file in the mounted CD-ROM drive
[experimental process]
In windows, extract the database package
P13390677_112040_Linux-x86-64_1of7.zip
P13390677_112040_Linux-x86-64_2of7.zip gets the database directory
Use the UltraISO software to save the database directory as an iso file
Add a second virtual optical drive to the virtual machine storage and load the operating system iso file and the database software iso file into the virtual optical drive at the same time
The operating system iso is used to configure the use of yum software repository after mounting
Oracle database iso is used to install oracle software
Start the operating system and check the CRT connection. There is no mount by default
In the virtual machine console graphical interface, use the root user to log in to view, and two CD icons are displayed on the desktop
At this point, execute df-Th again to check that the optical drive is automatically mounted to the mount point under the / mnt directory.
The optical drive corresponding to the oracle database is / dev/sr1 to facilitate oracle users to perform runInstaller installation
Need to remount to a directory under the oracle user's home directory oracle user's home directory to create a mount point
Root user remount / dev/sr1 view
At this point, the oracle database software iso has been mounted to the / home/oracle/cdrom location, but the view permission
The oracle user does not have permission to / home/oracle/cdrom, let alone execute runInstaller commands in the database directory
[solution]
Uninstall the currently mounted / dev/sr1, and note that it is uninstalled here for 2 times.
Remount
Check the permissions again. At this time, the oracle user already has the appropriate permissions and can execute runInstaller.
Start the xmanager-passive software, configure the DISPLAY environment variable, enter the database directory, and execute the. / runInstaller command to report an error
Error: OUI cannot be launched because the current working directory is set on the CD-ROM mount point.
Launching OUI from this directory will make it difficult to unmount the disk later in the installation.
Please change the working directory and relaunch OUI.
You can change the working directory by typing 'cd' (e.g. Cd / home) and then execute the' runInstaller' command by typing its full path (e.g. / mnt/cdrom/runInstaller)
According to the error message, cd returns to the oracle user's home directory / home/oracle
Use absolute path execute / home/oracle/cdrom/database/runInstaller to successfully launch the OUI graphical installation interface
On the Linux operating system virtualbox virtual machine mount optical drive iso image file installation oracle database software example analysis is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.