A single script called server
manages the installation and administration of Oracle R Enterprise Server. You can rerun the server
script whenever you need to install, uninstall, upgrade, or configure server-side components of Oracle R Enterprise.
The server
script supports the following operations:
Installs Oracle R Enterprise Server
Uninstalls Oracle R Enterprise Server
Upgrades Oracle R Enterprise Server and migrates data from the earlier installation
Installs the supporting packages, if they are available
Creates or configures a database user, if one does not exist
Note:
You can use the server
script to install the supporting packages and create users, or you can choose to perform these tasks separately, as described in the following sections:
The server
script supports a set of command-line arguments that direct its activities. The script can be run in interactive mode, in batch mode, or in hybrid mode. If you run the script without arguments, it installs or upgrades Oracle R Enterprise Server in interactive mode; it attempts to install the supporting packages; and it creates or configures a database user.
The command-line arguments for the server
script are described in the following table. The arguments for the script are the same for Linux, UNIX, and Windows. You can obtain a listing of the arguments with brief descriptions by executing the following on a Linux or UNIX system:
./server.sh -h
or
./server.sh --help
On a Windows system, you can obtain a listing of the arguments with brief descriptions by executing the following:
server.bat -h
or
server.bat --help
Table 4-1 SERVER Script Command-Line Arguments
Argument | Description |
---|---|
|
Never prompt. |
|
Install or upgrade Oracle R Enterprise Server. An installation or upgrade includes the following by default:
|
|
Uninstall Oracle R Enterprise Server:
|
|
Create or configure a database user for Oracle R Enterprise (the default). |
|
When uninstalling Oracle R Enterprise Server, keep the R packages and libraries under Oracle home but remove the database objects. Allows Oracle R Enterprise support to be removed from a single database instance or pluggable database (PDB) without affecting other databases in Oracle home. |
|
When uninstalling Oracle R Enterprise Server, remove the R packages and libraries under Oracle home in addition to the database objects. |
|
When combined with |
|
When combined with |
|
Grant the |
|
The |
|
The name of a pluggable database (PDB) in a multitenant container database (CDB). Multitenant architecture enables an Oracle database to function as a container database that includes zero, one, or many pluggable databases. For information about multitenant architecture, see Oracle Database Concepts. |
|
Permanent tablespace for RQSYS. |
|
Temporary tablespace for RQSYS. |
|
RQSYS password. |
|
Permanent tablespace for Oracle R Enterprise user. |
|
Temporary tablespace for Oracle R Enterprise user. |
|
Oracle R Enterprise user password. |
|
Oracle R Enterprise database user name. |
If your Linux or UNIX or Windows system meets the requirements specified in System Requirements, then this command performs a default, first-time installation of Oracle R Enterprise Server:
For Linux or UNIX:
./server.sh
For Windows:
server.bat
As shown in Example A-1, a default, interactive installation performs the following:
Prints out information about the environment
Prompts for the password and permanent and temporary tablespaces for rqsys
Prompts whether to install the supporting packages. (Installs the supporting packages by default if they are available.)
Prompts whether to create a user account for Oracle R Enterprise. (Creates a user by default if one does not exist.) When creating a user, prompts for the permanent and temporary tablespaces.
This example shows an installation like the one in A Default Interactive Installation, but specified to run in batch mode.
For Linux or UNIX:
./server.sh -y --install --setup-user --sys ORASYSPSWD, --perm SYSAUX --temp TEMP --rqsys RQSYSPSWD --user-perm USERS --user-temp TEMP --pass RQUSERPSWD --user RQUSER
For Windows:
server.bat -y --install --setup-user --sys ORASYSPSWD, --perm SYSAUX --temp TEMP --rqsys RQSYSPSWD --user-perm USERS --user-temp TEMP --pass RQUSERPSWD --user RQUSER
The server
script automatically creates or configures a user if one does not already exist. If you supply the name of an existing user, the script configures it to support Oracle R Enterprise.
See Example 8-2.
This example shows how the server
script could be run to grant the rqadmin
role to the user created in A Default Batch Installation. The --admin
argument is only available in batch mode.
For Linux or UNIX:
./server.sh -y --setup-user --admin --sys ORASYSPSWD - -pass RQUSERPSWD --user RQUSER
For Windows:
server.bat -y --setup-user --admin --sys ORASYSPSWD - -pass RQUSERPSWD --user RQUSER