如何在没有 X 的情况下在 linux 上安装 Oracle 11g?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16566279/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to install Oracle 11g on linux without X?
提问by pma_
I tried to install Oracle client from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linx8664soft-100572.htmlbut some genius makes installer working only in X environment. Any idea how to install on server without X'es?
我试图从http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linx8664soft-100572.html安装 Oracle 客户端,但一些天才使安装程序只能在 X 环境中工作。知道如何在没有 X'es 的情况下在服务器上安装吗?
回答by Alex Poole
With a silent modeinstallation:
使用静默模式安装:
Use silent mode to:
- Complete an unattended installation, which you might schedule using operating system utilities such as cron
- Complete several similar installations on multiple systems without user interaction
- Install the software on a system that does not have X Window System software installed on it
使用静默模式可以:
- 完成无人值守安装,您可以使用操作系统实用程序(例如 cron)安排安装
- 无需用户交互即可在多个系统上完成多个类似的安装
- 在没有安装 X Window System 软件的系统上安装软件
I seem to recall you still have to have $DISPLAY
set, but you don't need an X-Windows client running.
我似乎记得你仍然需要$DISPLAY
设置,但你不需要运行 X-Windows 客户端。
The client installation guidegoes into a lot more detail. (That's the 11gR2 version; the 12cR1 version is similar.
在客户端安装向导进入到更多细节。(那是 11gR2 版本;12cR1 版本类似。
回答by Connor McDonald
Here's an example of how you might run 12c+ dbca from the command line. The parameters are all pretty much self-explanatory
下面是如何从命令行运行 12c+ dbca 的示例。参数几乎一目了然
dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname MY_CDB -sid MY_CDB -responseFile NO_VALUE \
-characterSet AL32UTF8 -sysPassword MyPassword123 -systemPassword MyPassword123 -createAsContainerDatabase true \
-numberOfPDBs 1 -pdbName MY_PDB -pdbAdminPassword MyPassword123 -databaseType MULTIPURPOSE \
-automaticMemoryManagement false -totalMemory 2000 -storageType FS -datafileDestination "//oradata/" \
-redoLogFileSize 200 -emConfiguration NONE -ignorePreReqs