共計 1714 個字符,預計需要花費 5 分鐘才能閱讀完成。
這篇文章主要為大家展示了“Ubuntu oracle10G 如何安裝”,內(nèi)容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓丸趣 TV 小編帶領大家一起研究并學習一下“Ubuntu oracle10G 如何安裝”這篇文章吧。
Ubuntu oracle10G 安裝.
1. 下載 Ubuntu oracle10G 的安裝程序:
在這里下 http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linx8664soft.html 這個是 FOR 64 位系統(tǒng)的。下的時候 10201_database_linux_x86_64.cpio.gz 就可以了。用 gunzip filename 把文件解包,然后在資源管理器里再解一次,知道解除 DATABASE 文件夾為止。
2. 安裝 compat libraries and 32-bit libraries:
sudo apt-get install gcc libaio1 lesstif2 lesstif2-dev make libc6 libc6-i386 libc6-dev-i386 libstdc++5 lib32stdc++6 lib32z1 ia32-libs
3. 打開 /etc/sysctl.conf 文件,在后面加入一以文字:
# Oracle stuff kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = 262144 net.core.rmem_max = 262144 net.core.wmem_default = 262144 net.core.wmem_max = 262144 vm.swappiness=10
4. 建立 Ubuntu oracle10G 的用戶和用戶組:
sudo groupadd nobody sudo groupadd oinstall sudo groupadd dba sudo useradd -s /bin/bash -g oinstall -G dba oracle sudo passwd oracle
5. 打開 /etc/security/limits.conf,在文件末尾加入:
* soft nproc 2047 * hard nproc 16384 * soft nofile 1024 * hard nofile 65536
6. 在終端輸入一下命令:
sudo ln -s /usr/bin/awk /bin/awk sudo ln -s /bin/true /bin/rpm sudo ln -s /usr/bin/basename /bin/basename sudo ln -s /lib/libgcc_s.so.1 /lib/libgcc_s.so sudo mkdir -p /u01/oracle/10g sudo chown -R oracleinstall /u01/oracle/10g sudo chmod -R 775 /u01/oracle
7. 為了防止 Ubuntu oracle10G 安裝界面出現(xiàn)亂碼,在終端執(zhí)行:
export LANG=zh_CN.gbk
8. 再創(chuàng)建 /etc/redhat-release,添加下面的內(nèi)容:
Red Hat Linux release 4.1
因為 Ubuntu oracle10G 默認是不支持 Ubuntu 的,所以要把 Ubuntu 偽裝成 Redhat
9. 好了,可以執(zhí)行安裝命令了:
./runInstaller -IgnoreSysPrereqs
以上是“Ubuntu oracle10G 如何安裝”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學習更多知識,歡迎關注丸趣 TV 行業(yè)資訊頻道!