利用PLSQL Developer查看并导出Oracle表数据,本篇经验将和大家介绍如何利用PLSQLDeveloer查看并导出Oracle表数据,希望对大家的工作和学习有所帮助!......
2023-03-17 322 oracle
oracle 11g安装前准备
内存要求:至少1G RAM,推荐2G以上
查询:# grep MemTotal /proc/meminfo
交换空间(swap):
RAM内存在2G-16G之间,SWAP SPACE等于RAM
查询:# grep SwapTotal /proc/meminfo
磁盘空间要求:
安装类型:企业版
软件文件4.5G;数据文件1.7G
操作系统需求:
On Linux x86-64
Asianux Server 3 SP2
Oracle Linux 4 Update 7
Oracle Linux 5 Update 2 (with Red Hat Compatible Kernel)
Oracle Linux 5 Update 5
Oracle Linux 6
Oracle Linux 6 (with Red Hat Compatible Kernel)
Red Hat Enterprise Linux 4 Update 7
Red Hat Enterprise Linux 5 Update 2
Red Hat Enterprise Linux 5 Update 5 (with the Oracle Unbreakable Enterprise Kernel for Linux)
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 6 (with the Oracle Unbreakable Enterprise Kernel for Linux)
SUSE Linux Enterprise Server 10 SP2
SUSE Linux Enterprise Server 11
查询已安装linux的发行内核版本号
# cat /proc/version查询linux版本号
# lsb_release -id
rpm包需求:
Asianux Server 3, Oracle Linux 5, and Red Hat Enterprise Linux 5
binutils-2.17.50.0.6;
compat-libstdc -33-3.2.3;
elfutils-libelf-0.125;
elfutils-libelf-devel-0.125;
elfutils-libelf-devel-static-0.125;
gcc-4.1.2gcc-c -4.1.2;
glibc-2.5-24;
glibc-common-2.5;
glibc-devel-2.5;
glibc-headers-2.5;
kernel-headers-2.6.18;
ksh-20060214;
libaio-0.3.106;
libaio-devel-0.3.106;
libgcc-4.1.2;
libgomp-4.1.2;
libstdc -4.1.2;
libstdc -devel-4.1.2;
make-3.81sysstat-7.0.2
输入命令rpm -q *.rpm查询rpm包是否安装;
输入命令rpm -ivh *.rpm安装rpm包;
创建操作系统组和用户:
groupadd -g 501 oinstall;
groupadd -g 502 dba;
useradd -g oinstall -G dba oracle;
passwd oracle
创建oracle基目录:
mkdir /u01/app/oracle -p;
修改oracle基目录所有者为oracle:
chown -R oracle:oinstall /u01/app/oracle
修改oracle基目录权限:
chmod -R 775 /u01/app/oracle
修改内核参数:/etc/sysctl.conf
fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 4294967295kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576
输入命令# /sbin/sysctl -p,使修改的内容生效
修改/etc/hosts文件,添加192.168.80.131 dream2;
输入ifconfig 查询ip地址为192.168.80.131;
输入hostname查询主机名为dream2
设置ORACLE环境变量,修改oracle用户的.bash_profile文件
将oracle数据库两个安装包拷贝到u01,然后解压缩
unzip linux_11gR2_database_1of2.zip
unzip linux_11gR2_database_1of2.zip
解压缩后生成database文件夹
修改/tmp权限为777,切换至oracle用户,切换目录至/u01/database;
运行安装程序./runInstaller
弹出oracle通用安装程序oracle universal installer,一步步安装即可
以上方法由办公区教程网编辑摘抄自百度经验可供大家参考!
标签: oracle
相关文章
利用PLSQL Developer查看并导出Oracle表数据,本篇经验将和大家介绍如何利用PLSQLDeveloer查看并导出Oracle表数据,希望对大家的工作和学习有所帮助!......
2023-03-17 322 oracle
编程之oracle 11g安装解说,Oracle11g是甲骨文公司在2007年年7月12日推出的最新数据库软件,Oracle11g有400多项功能,经过了1500万个小时的测试,开发工作量达到了3.6......
2023-03-17 455 oracle