實戰安裝oracle11g on solaris11
為了研究vaga大牛的系列文章決定安裝個solaris11並在其上安裝oracle 11g,由於之前從沒接觸過solaris,於是安裝過程中遇到很多問題,下面逐一記錄以便日後檢視。
1.安裝solaris
1.1安裝solaris字元介面
首先從oracle官網下載solaris-text映象,大小500多M,安裝過程很順利,基本是一路F2功能鍵下去(相當於next)
1.2安裝solaris圖形介面
登陸solaris,然後執行pkg install solaris-desktop,這裡用到的預設軟體包repository的URL是上有一篇文章介紹瞭如何修改預設的軟體包repository將其指向Oracle Solaris 11 supported repository (),不過我按照其操作時提示該URL已失效!
2. 建立oracle使用者
:~# groupadd oinstall
:~# groupadd dba
:~# groupadd oper
:~# useradd -g oinstall -G dba,oper oracle
3.建立oracle目錄
:~# mkdir -p /u01/app
:~# chown -R oracle:oinstall /u01/app
4.修改系統引數
4.1修改核心引數
:~# projadd -U oracle -K "project.max-shm-memory=(priv,4g,deny)" user.oracle
:~# # projmod -sK "project.max-sem-nsems=(priv,512,deny)" user.oracle
:~# # projmod -sK "project.max-sem-ids=(priv,128,deny)" user.oracle
:~# # projmod -sK "project.max-shm-ids=(priv,128,deny)" user.oracle
4.2修改網路引數
:~# # ipadm set-prop -p smallest_anon_port=9000 tcp
:~# # ipadm set-prop -p largest_anon_port=65500 tcp
:~# # ipadm set-prop -p smallest_anon_port=9000 udp
:~# # ipadm set-prop -p largest_anon_port=65500 udp
5.設定oracle環境變數
-bash-4.1$ cat .bash_profile
ORACLE_BASE=/u01/app
ORACLE_HOME=$ORACLE_BASE/oracle/product/11.2.0/db_1
ORACLE_SID=wilson
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$CRS_HOME/lib
PATH=$PATH:/usr/local/bin:$ORACLE_HOME/bin:$CRS_HOME/bin
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH
6.執行runInstall
到這一步基本就和常規的oracle安裝沒啥區別了。
7.安裝過程中的錯誤
7.1 [INS-13001] Environment does meet minimum requirements. Are you sure you want to continue?
解決方法:下載oracle補丁10098816,並安裝
7.2 Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<< Some requirement checks failed. You must fulfill these requirements before continuing with the installation,at which time they will be rechecked.
解決方法:安裝SUNWxwplt 軟體包,並設定DISPLAY引數,並以root使用者執行”xhost +“命令
7.3 Exception in thread “main” java.lang.UnsatisfiedLinkError:
… libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
解決方法:安裝SUNWmfrun軟體包
7.4 在執行runinstall介面的預安裝檢查中提示核心引數"project.max-shm-memory"設定不當,即使執行runfixup.sh後依然報錯
解決方法:重啟系統(沒玩過solaris還真不知道,這裡不像linux系統用sysctl -p就可以了,哈哈)
Ok,這裡總算是有驚無險的把oracle11g成功安裝在solaris11上,非常感謝這位博主的文章,我以上大部分內容都是參照這裡
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20801486/viewspace-755033/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle11g解除安裝Oracle
- Docker安裝Oracle11gDockerOracle
- readhalt7.4 安裝 oracle11gOracle
- oracle11g安裝和下載Oracle
- RedHat上靜默安裝Oracle11gRedhatOracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle
- redhat7.6安裝Oracle11G RACRedhatOracle
- 靜默安裝Oracle11g資料庫Oracle資料庫
- oracle11g客戶端靜默安裝Oracle客戶端
- linux環境下解除安裝oracle11gLinuxOracle
- 安裝Greenplum 5.2 叢集實戰
- kubernetes實戰篇之helm安裝
- Pulsar 入門實戰(3)--安裝
- Linux環境安裝Oracle11g(一)——配置檢查及依賴項安裝LinuxOracle
- Windows環境下Oracle11g安裝的問題WindowsOracle
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- Linux下利用指令碼靜默安裝Oracle11GLinux指令碼Oracle
- oracle11g的安裝,及plsql developer11的安裝、漢化和註冊OracleSQLDeveloper
- Linux環境安裝Oracle11g(四)——軟體安裝及引數最佳化LinuxOracle
- vim實戰:外掛安裝(Vundle,NerdTree)
- oracle11g安裝 單例項 系統centos7Oracle單例CentOS
- 在 Ubuntu 22.04 上安裝 KubeSphere 實戰教程Ubuntu
- loadrunner12.6快速實戰之安裝指南
- TF實戰丨使用Vagrant安裝Tungsten Fabric
- 實戰-使用 Cobbler 安裝作業系統作業系統
- Selenium原理、安裝與自動打卡實戰
- oracle11g在linux7的靜默安裝指令碼OracleLinux指令碼
- MySQL菜鳥實錄(一):MySQL服務安裝實戰MySql
- 面向機器智慧的TensorFlow實戰1:安裝
- 鴻蒙HarmonyOS實戰-工具安裝和Helloworld案例鴻蒙
- loadrunner12.6快速實戰之webtours安裝指南Web
- 實戰-使用 Cobbler 安裝一臺 CentOS 主機CentOS
- solaris11怎麼擴充套件資源池?solaris11擴充套件資源池的方法套件
- 安裝oracle11g碰到“無法訪問臨時位置”的問題Oracle
- 【DG】Oracle11g異構平臺之Linux To Windows DataGuard安裝配置--duplicateOracleLinuxWindows
- 《Elasticsearch技術解析與實戰》Chapter 1.2 Elasticsearch安裝ElasticsearchAPT
- Kafka應用實戰——Kafka安裝及簡單使用Kafka
- Hadoop大資料實戰系列文章之安裝HadoopHadoop大資料
- 實戰-使用 Cobbler 定製化安裝指定系統