Command for runinstaller
A silent installation is initiated using the following command. The "-silent" parameter indicates that this is a silent installation and the "-responseFile" parameter defines the name and location of the response file.
Some useful "runInstaller" flags include the following. The full list is available here. Once the installation completes you will be prompted to run the root scripts. Once the root scripts are run as instructed, the installation is complete. An alternative to amending a response file is to use the default response file from the media and alter the parameters inline. When you install both bit and bit Oracle Universal Installer on a bit machine, two different inventories will be created and maintained.
However, you cannot install bit software in a bit home, and vice versa. If you are creating a multiple-CD installation on UNIX, you may need to launch runInstaller in the background using the following command:. By launching runInstaller in the background, you can change your current directory after you launch Oracle Universal Installer, allowing you to eject the CD. It may also help to launch runInstaller as a foreground process from a different directory. You may want to create a shell script that launches Oracle Universal Installer in the background and then exits.
If you choose to create a shell script, remember to also pass all parameters that you passed to the shell script to runInstaller in the event that you wish to install silently using a response file. Note that temporary files are created for single-CD installations as well.
If you still have problems, refer to the documentation links at the end of this topic. In most cases, the following procedure will help with any problems you experience while switching to a second CD-ROM while installing Oracle software. Change to the root directory of your system and log in as the root user by using the following commands:. If after attempting this procedure you are still having problems, refer to the section on installing from multiple CD-ROMs in the Oracle Database Installation Guide , which is available from the Oracle Technology Network:.
With Oracle Universal Installer, you can install products from the Web. System administrators of large customers who may want to deploy Oracle software to more than one target can use a combination of the Web installation and response file features:.
Copy the staging area to a shared file system and make it accessible on the Intranet or a Web server. Include predetermined response files on the same location.
Different groups of users might rely on different response files. Clients run Oracle Universal Installer locally and use the local response file that is mailed or downloaded so they can perform a silent installation. The Web installation capability relies on some guidelines that must be followed at installation development time. Check your installation guide for your product to see if the installation of your product is certified for Web installation. Start the Oracle Universal Installer locally and point to the location of the products.
For example:. The following sections describe special instructions that apply when you are installing certain products on a UNIX system. If you get an Xlib error or a "Failed to connect to Server" error when you are running Oracle Universal Installer on the Solaris operating system, you need to define the following environment variables on the host computer where you are running Oracle Universal Installer:.
On the computer that will display Oracle Universal Installer, enter the following command. This command allows other computers to display information on the computer's monitor:. Various installation operations on the UNIX platform must be performed with root privileges. For example, you must have root privileges to be able to create the Oracle Universal Installer inventory.
If you are installing Oracle Universal Installer for the first time, you will be prompted to run a shell script from another terminal window before proceeding with the installation. Oracle Universal Installer will prompt the user to run root. Otherwise, users are prompted to run root.
Change directory to the Oracle home into which you are currently installing your Oracle software product. When the script is finished and you are returned to the command prompt, exit from the new terminal window and return to Oracle Universal Installer to continue the installation. If you are installing a product on a UNIX system, the Installer will also prompt you to provide the name of the group that owns the base directory.
You must choose a UNIX group name which will have permissions to update, install, and remove Oracle software. Members of this group must have write permissions to the base directory chosen. The following sections describe how to remove products installed using Oracle Universal Installer. A de-installation can be performed before selecting products to install or after a successful installation.
For UNIX platforms, at the command line, run the script called runInstaller from the directory where it is stored, which is by default at the same level as the first Oracle home created on that host. Select the product s you want to remove from the Contents tab of the Inventory panel and click Remove. Oracle homes may also be removed in the same manner.
Once an Oracle home has been removed, you can reuse its name and location to install other products. The Remove Confirmation Dialog appears, asking if you want to remove the products and their dependent components. Click Yes. Oracle Universal Installer warns you of any product dependencies that might cause problems if particular products are removed, and prompts you to confirm the de-installation.
Pay special attention to the full list of products being removed before proceeding. Oracle Universal Installer computes this list based on the dependencies of each component.
A top level component is the most important component of an installation. It is the installable product you see at the first installation screen. You can only install one top level component for each installation session. When you select a specific component for removal, Oracle Universal Installer analyzes the dependency information to determine if there are other components that should be removed along with it.
In general, if a component is selected for removal, the following components will be removed with it:. Dependents of the selected component that have no other dependents. Oracle Universal Installer displays progress information in the terminal that you used to start it, but it does not display any of Oracle Universal Installer screens.
If you do not specify information required for a particular Installer screen in the response file, then Oracle Universal Installer displays that screen.
It suppresses screens for which you have provided all of the required information. Before you create a database that uses Automatic Storage Management, you must run the root.
For this reason, you cannot create a database using Automatic Storage Management as the storage option for database files during a silent-mode installation.
Instead, you can complete a software-only installation using silent-mode, and then run the Oracle Net Configuration Assistant NetCA and Database Configuration Assistant configuration assistants in silent mode after you have completed the software-only installation and you have run the root. The following are the general steps to install and configure Oracle products using Oracle Universal Installer in silent or suppressed mode:.
If you completed a software-only installation, then run NetCA and Database Configuration Assistant in silent or noninteractive mode if required. If you plan to install Oracle products using Oracle Universal Installer in silent or suppressed mode, you must manually create the oraInst. This file specifies the location of the Oracle Inventory directory where Oracle Universal Installer creates the inventory of Oracle products installed on the system.
Enter the following commands to set the appropriate owner, group, and permissions on the oraInst. This section describes the following methods to prepare a response file for use during silent-mode or suppressed-mode installations:.
Oracle provides response file templates for each product and installation type, and for each configuration tool. If you have copied the software to a hard drive, then you can edit the file in the response directory if you prefer.
You may want to set this variable to point to an absolute path, for example:. Remember that you can specify sensitive information, such as passwords, at the command line rather than within the response file. You can use Oracle Universal Installer in interactive mode to record a response file, which you can edit and then use to complete silent-mode or suppressed-mode installations.
This method is useful for custom or software-only installations. When you record the response file, you can either complete the installation, or you can exit from Oracle Universal Installer on the Summary page, before it starts to copy the software to the system.
If you use record mode during a noninteractive mode installation, then Oracle Universal Installer records the variable values that were specified in the original source response file into the new response file. When you run Oracle Universal Installer to record a response file, it checks the system to verify that it meets the requirements to install the software.
For this reason, Oracle recommends that you complete all of the required preinstallation tasks and record the response file while completing an installation. If you have not installed Oracle software on this system previously, create the oraInst.
Ensure that the Oracle software owner user typically oracle has permissions to create or write to the Oracle home path that you will specify when you run Oracle Universal Installer. To record a response file, enter a command similar to the following to start Oracle Universal Installer:.
Use the runInstaller command to start the installation. At any time during installation, if you have a question about what you are being asked to do, click Help.
0コメント