您好,登錄后才能下訂單哦!
首先上傳oracle安裝文件至linux服務器
1.解壓zip
unzip linux.x64_11gR2_database_1of2.zip
unzip linux.x64_11gR2_database_2of2.zip
2.創建安裝目錄
mkdir /opt/oracle
3.創建用戶組:
groupadd dba
groupadd oinstall
4.創建用戶:
useradd -g oinstall -G dba oracle
passwd oracle
將/opt/oracle目錄賦予oracle用戶,oinstall用戶組
chown -R oracle:oinstall /opt/oracle
5.安裝依賴包(通過redhat5.5安裝鏡像安裝)
掛載cdrom
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom(/mnt/cdrom/Server)
進入軟件包所在路徑:
cd /mnt/cdrom/Server
開始安裝所需軟件包:
rpm -ivh unixODBC-2.2.11-7.1.x86_64.rpm
rpm -ivh unixODBC-devel-2.2.11-7.1.x86_64.rpm
rpm -ivh unixODBC-2.2.11-7.1.i386.rpm
rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
rpm -ivh sysstat-7.0.2-3.el5.x86_64.rpm
rpm -ivh libstdc++-devel-4.1.2-48.el5.x86_64.rpm
rpm -ivh libaio-devel-0.3.106-5.x86_64.rpm
rpm -ivh libaio-devel-0.3.106-5.i386.rpm
rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm(互相依賴,同時安裝)
rpm -ivh kernel-headers-2.6.18-194.el5.x86_64.rpm
rpm -ivh glibc-headers-2.5-49.x86_64.rpm
rpm -ivh glibc-devel-2.5-49.x86_64.rpm
rpm -ivh glibc-devel-2.5-49.i386.rpm
rpm -ivh libgomp-4.4.0-6.el5.x86_64.rpm
rpm -ivh gcc-4.1.2-48.el5.x86_64.rpm
rpm -ivh gcc-c++-4.1.2-48.el5.x86_64.rpm
6.修改linux內核參數
/etc/sysctl.conf
/etc/security/limits.conf
具體如何修改請自行google
7.以oracle用戶身份登錄(不是通過su切換)
執行:
export DISPLAY=:0.0
xhost +
xdpyinfo
8.進入oracle文件目錄,執行
./runInstaller
9.啟動安裝界面,逐步安裝。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。