Oracle 10.2 for Linux on PowerLinux
Oracle 10g for PowerLInux 软件下载地址 时间有限,有需要的,速度来!
·
1.摘 要
哈哈,今天一位朋友和我说他们公司弄了一台二手的PowerLinux 7R1,恰公司还未将其投入生产,因此,他想练练手!安装linux,然后再搭建一个oracle环境出来,可是作为新
手的他遇到的七七八八的问题:
a.系统只有模板,没有ISO镜像,后面大费周折才弄上
b.模板的配置太让人失望了,新系统安装后 / 目录使用100%,幸亏 / 目录 是 LVM 做的LV
c.最恼火就是这个:这个家伙有卖家给他的安装和管理文档,但是偏偏到最后面才给我,气死了!
当然过程虽有点曲折,但是还是有所值的!
知道安装这个oracle的介质很难找,所以,最后我会把这次o所需要的包的下载地址贴出来。
2.前 言
Powerlinux上安装redhat 再安装oracle,这里我们用的是redhat 6.4 ,oracle为10.2,
Power上安装linux+oracle和普通PC上安装vmware再安装linux+oracle还是有一些不同的地方:
在Power内核的机器上安装oracle的产品,必须保证满足以下条件:
a.操作系统要求:
– Red Hat Enterprise Linux 4.0(or later)
2.6.9-11.EL
– SUSE Linux Enterprise Server 9.0(only)
2.6.5-7.191-pseries64
2.6.9-11.EL
– SUSE Linux Enterprise Server 9.0(only)
2.6.5-7.191-pseries64
b.系统要求(必须安装的显红色)
①.Oracle Messaging Gateway——主要是为IBM的MQ准备的
②.C/C++ Runtime Environment
IBM XL C/C++ Advanced Edition V7.0.1
XL Optimization
Libraries component
③.PL/SQL native compilation, Pro*C/C++, Oracle Call Interface, Oracle C++ Call Interface, and Oracle XML Developer’s Kit (XDK)
②中包含了此包
④.Oracle JDBC/OCI Drivers
–
IBM Java 1.4.2 64-bit (SR1a) or later
下载好后,#./ibm*.bin即可安装, 后面带有oracle 10g for powerlinux所需要的一切安装包 以及 oracle for linux on power 软件包
下载好后,#./ibm*.bin即可安装, 后面带有oracle 10g for powerlinux所需要的一切安装包 以及 oracle for linux on power 软件包
⑤:
vac.lib.70.rhel4.tar
这个包解压后得到下面两个rpm
vac.lib-7.0.1-0.ppc64pseries.rpm
vacpp.rte.lnk-7.0.1-0.ppc64pseries.rpm
3.Oracle安装
软件的安装需要等待很长一段时间,请耐心等待!
只要满足上面的要求,oracle安装在百度上俯拾即是,所以此处省略1000字。
4.oracle安装脚本
#!/bin/bash
function install_rpm()
{
echo -e "\n------------------------------------------------------------------------------------"
for i in compat-db* binutils-devel.ppc libX* xorg* libXmu-devel.ppc pam* compat-libstdc* libstdc++* gcc-c++* gcc* elfutils-libelf* elfutils* make* binutils* libaio* glibc* plymouth-gdm-hooks.ppc64 compat-readline5.ppc64 compat-openldap.ppc64 compat-libtermcap.ppc64 compat-libstdc++-33.ppc compat-lib* compat-glibc compat-gcc* openmoti*.ppc glibc-devel.ppc
do
echo "yum -y install $i"
yum -y install $i 2>&1 1>/dev/null
done
}
function rpm_check()
{
for i in compat-db binutils-devel.ppc libX xorg libXmu-devel.ppc pam compat-libstdc* libstdc++ gcc-c++ gcc elfutils-libelf elfutils make binutils libaio glibc plymouth-gdm-hooks.ppc64 compat-readline5.ppc64 compat-openldap.ppc64 compat-libtermcap.ppc64 compat-libstdc++-33.ppc compat-lib compat-glibc compat-gcc openmoti*.ppc glibc-devel.ppc tigervnc-server.ppc64
do
rpm -qa |egrep "^$i"
done
}
function stop_firewall()
{
echo -e "\n------------------------------------------------------------------------------------"
echo "chkconfig iptables off"
chkconfig iptables off
}
function check_vac()
{
echo -e "\n------------------------------------------------------------------------------------"
for vacRpm in vac.lib vacpp.rte.lnk
do
rpm -qa |grep "$vacRpm" 2>&1 1>/dev/null
if [ $? -ne 0 ] ; then
echo "./${vacRpm}*.rpm"
if [ -e ./${vacRpm}*.rpm ] ; then
rpm -ivh ./${vacRpm}*.rpm --nodeps --force --ignorearch
else
echo "#########you must install $vacRpm by yourself##################"
fi
fi
done
}
function add_user()
{
echo -e "\n------------------------------------------------------------------------------------"
echo "groupadd oinstall"
groupadd oinstall
echo "groupadd dba"
groupadd dba
echo "useradd -m -g oinstall -G dba oracle"
useradd -m -g oinstall -G dba oracle
echo "mkdir /u01"
mkdir /u01
echo "chown -R oracle:oinstall /u01"
chown -R oracle:oinstall /u01
echo "chmod -R 755 /u01"
chmod -R 755 /u01
}
function main()
{
add_user
check_vac
stop_firewall
install_rpm
}
main
function install_rpm()
{
echo -e "\n------------------------------------------------------------------------------------"
for i in compat-db* binutils-devel.ppc libX* xorg* libXmu-devel.ppc pam* compat-libstdc* libstdc++* gcc-c++* gcc* elfutils-libelf* elfutils* make* binutils* libaio* glibc* plymouth-gdm-hooks.ppc64 compat-readline5.ppc64 compat-openldap.ppc64 compat-libtermcap.ppc64 compat-libstdc++-33.ppc compat-lib* compat-glibc compat-gcc* openmoti*.ppc glibc-devel.ppc
do
echo "yum -y install $i"
yum -y install $i 2>&1 1>/dev/null
done
}
function rpm_check()
{
for i in compat-db binutils-devel.ppc libX xorg libXmu-devel.ppc pam compat-libstdc* libstdc++ gcc-c++ gcc elfutils-libelf elfutils make binutils libaio glibc plymouth-gdm-hooks.ppc64 compat-readline5.ppc64 compat-openldap.ppc64 compat-libtermcap.ppc64 compat-libstdc++-33.ppc compat-lib compat-glibc compat-gcc openmoti*.ppc glibc-devel.ppc tigervnc-server.ppc64
do
rpm -qa |egrep "^$i"
done
}
function stop_firewall()
{
echo -e "\n------------------------------------------------------------------------------------"
echo "chkconfig iptables off"
chkconfig iptables off
}
function check_vac()
{
echo -e "\n------------------------------------------------------------------------------------"
for vacRpm in vac.lib vacpp.rte.lnk
do
rpm -qa |grep "$vacRpm" 2>&1 1>/dev/null
if [ $? -ne 0 ] ; then
echo "./${vacRpm}*.rpm"
if [ -e ./${vacRpm}*.rpm ] ; then
rpm -ivh ./${vacRpm}*.rpm --nodeps --force --ignorearch
else
echo "#########you must install $vacRpm by yourself##################"
fi
fi
done
}
function add_user()
{
echo -e "\n------------------------------------------------------------------------------------"
echo "groupadd oinstall"
groupadd oinstall
echo "groupadd dba"
groupadd dba
echo "useradd -m -g oinstall -G dba oracle"
useradd -m -g oinstall -G dba oracle
echo "mkdir /u01"
mkdir /u01
echo "chown -R oracle:oinstall /u01"
chown -R oracle:oinstall /u01
echo "chmod -R 755 /u01"
chmod -R 755 /u01
}
function main()
{
add_user
check_vac
stop_firewall
install_rpm
}
main
5.软件下载地址
http://www.2zl.com.cn/forum.php?mod=viewthread&tid=45&extra=
360晕盘:http://yunpan.cn/QCRFGmhPmzVuK 访问密码 d5a9
更多推荐
已为社区贡献1条内容
所有评论(0)