您好,登錄后才能下訂單哦!
首先上傳oracle安裝文件至linux服務(wù)器
1.解壓zip
unzip linux.x64_11gR2_database_1of2.zip
unzip linux.x64_11gR2_database_2of2.zip
2.創(chuàng)建安裝目錄
mkdir /opt/oracle
3.創(chuàng)建用戶組:
groupadd dba
groupadd oinstall
4.創(chuàng)建用戶:
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)
進(jìn)入軟件包所在路徑:
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(互相依賴,同時(shí)安裝)
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內(nèi)核參數(shù)
/etc/sysctl.conf
/etc/security/limits.conf
具體如何修改請自行g(shù)oogle
7.以oracle用戶身份登錄(不是通過su切換)
執(zhí)行:
export DISPLAY=:0.0
xhost +
xdpyinfo
8.進(jìn)入oracle文件目錄,執(zhí)行
./runInstaller
9.啟動(dòng)安裝界面,逐步安裝。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。