<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; Oracle</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/oracle/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下自动备份Oracle数据库并删除指定天数前的备份</title>
		<link>https://www.osyunwei.com/archives/5960.html</link>
		<comments>https://www.osyunwei.com/archives/5960.html#comments</comments>
		<pubDate>Sat, 30 Mar 2013 16:17:55 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Shell]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle数据库]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5960</guid>
		<description><![CDATA[说明： Oracle数据库服务器 操作系统：CentOS IP：192.168.0.198 端口：1521 SID：orcl Oracle数据库版本：Oracle11gR2 具体操作： 1、root用户登录服务器 mkdir -p /backup/oracledata  #新建Oracle数据库备份目录 chown -R  oracle:oinstall /backup/oracledata -R #设置目录权限为oinstall用户组的oracle用户（用户oracle与用户组oinstall是在安装Oracle数据库时设置的） 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容 版权所有,转载请注明出处及原文链接 2、新建Oracle数据库备份脚本 vi /backup/oracledata/ordatabak.sh  #新建文件，输入以下代码 #!/bin/sh export ORACLE_BASE=/data/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1 export ORACLE_SID=orcl export ORACLE_TERM=xterm export PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib export LANG=C export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK #以上代码为Oracle数据库运行账号oracle的系统环境变量设置，必须添加，否则crontab任务计划不能执行。 # oracle用户的系统环境变量路径：/home/oracle/.bash_profile date=`date +%Y_%m_%d`   #获取系统当前日期时间 days=7  #设置删除7天之前的备份文件 orsid=`192.168.0.198:1521/orcl`  #Oracle数据库服务器IP、端口、SID orowner=OSYUNWEI  [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5960.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5960.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>导出Windows服务器下的Oracle数据库并导入到Linux服务器下的Oracle数据库中</title>
		<link>https://www.osyunwei.com/archives/5943.html</link>
		<comments>https://www.osyunwei.com/archives/5943.html#comments</comments>
		<pubDate>Wed, 27 Mar 2013 14:34:27 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5943</guid>
		<description><![CDATA[说明： 1、Windows Oracle数据库 操作系统：Windows Server 2008 R2 IP地址：192.168.0.128 Oracle数据库版本：Oracle11gR1 SID：orcl 端口：1521 Oracle相关账号: 账号：system 密码：123456 账号：OSYUNWEI 密码：OSYUNWEI 账号：OSYUNWEILOG 密码：OSYUNWEILOG 2、Linux Oracle数据库 操作系统：CentOS 5.9 64位 Oracle数据库版本：Oracle11gR1 Oracle数据库安装目录：/data/oracle/ IP地址：192.168.0.198 SID：orcl 端口：1521 Oracle相关账号: 账号：system 密码：123456 3、客户端 操作系统：Windows Server 2003 R2 IP地址：192.168.0.74 Oracle客户端版本：win32_11gR1_client 具体操作： 一、从客户端登录Windows Oracle数据库服务器导出Oracle数据库 导出Oracle数据库到本地D:\backup目录中 开始-运行-cmd 确定，打开命令操作界面 输入： exp OSYUNWEI/OSYUNWEI@192.168.0.128/orcl owner=OSYUNWEI grants=y file=D:\backup\OSYUNWEI.dmp log=D:\backup\OSYUNWEI.log 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容 版权所有,转载请注明出处及原文链接 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5943.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5943.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux下Orcle数据库导入导出中文乱码解决方法</title>
		<link>https://www.osyunwei.com/archives/5933.html</link>
		<comments>https://www.osyunwei.com/archives/5933.html#comments</comments>
		<pubDate>Wed, 27 Mar 2013 14:03:13 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5933</guid>
		<description><![CDATA[问题： 在对Oracle数据库进行导入导出操作的时候，数据表的中文注释以及存储过程和函数中的中文注释均显示乱码 解决办法： 预备知识： 1、客户端字符集必须与服务端字符集一直 2、加载到Oracle数据库中的数据字符集必须与服务器字符集一致（例如：在不同字符集服务器之间导数据会导致中文乱码） 3、字符集同时存在于Oracle服务器和Oracle客户端 4、服务器字符集是在安装Oracle数据库的时候就指定的，一般不能修改,否则会出问题。如：ZHS16GBK字符集 5、客户端字符集是在Oracle用户环境变量中设定的 Oracle客户端字符集由当前用户环境变量NLS_LANG设定 NLS_LANG构成方式： NLS_LANG=LANGUAGE_TERRITORY.Characterset LANGUAGE  #Oracle消息使用的语言 TERRITORY #服务器日期和数字格式 CHARACTERSET #字符集 例如： NLS_LANG=AMERICAN_AMERICA.ZHS16GBK 备注：客户端与服务端字符集必须一直！但语言设置可以不同！ 例如： NLS_LANG="SIMPLIFIED CHINESE_CHINA".ZHS16GBK 一般建议语言设置用英文 具体操作： vi  /home/oracle/.bash_profile  #编辑用户环境变量设置，以CentOS系统为例，在最后一行增加 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容 版权所有,转载请注明出处及原文链接 export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK :wq! #保存退出 source .bash_profile #使 bash_profile 设置立刻生效 扩展阅读： SELECT * FROM v$nls_valid_values; #查看Oracle数据库可用字符集参数设置 select * from nls_database_parameters; #查看Oracle数据库字符集 select * [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5933.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5933.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Windows 客户端下备份远程Linux服务器上的Oracle数据库</title>
		<link>https://www.osyunwei.com/archives/5789.html</link>
		<comments>https://www.osyunwei.com/archives/5789.html#comments</comments>
		<pubDate>Wed, 27 Feb 2013 13:05:02 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Bat]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5789</guid>
		<description><![CDATA[1、在Windows上安装Oracle客户端软件（比如：win32_11gR1_client版本最好跟服务器Oracle版本相同） 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容 版权所有,转载请注明出处及原文链接 2、在Windows上配置Oracle客户端连接 打开D:\app\Administrator\product\11.1.0\client_1\network\admin\tnsnames.ORA  #添加以下代码 128orcl= (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.0.128)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) ) 128orcl #描述 92.168.0.128  #Oracle服务器IP orcl #Oracle数据库实例名 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容 版权所有,转载请注明出处及原文链接 3、开始-运行-cmd 打开命令行操作界面 输入： exp OSYUNWEI/123456@128orcl grants=y owner=OSYUNWEI file=d:\OSYUNWEI_DATA.dmp log=d:\OSYUNWEI_DATA.log Oracle用户名：OSYUNWEI 密码：123456 128orcl：Oracle客户端连接名 128orcl可以使用192.168.0.128:1521/orcl代替 grants=y 导出用户权限 owner=OSYUNWEI [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5789.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5789.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Linux下安装Oracle客户端远程访问Oracle数据库</title>
		<link>https://www.osyunwei.com/archives/5731.html</link>
		<comments>https://www.osyunwei.com/archives/5731.html#comments</comments>
		<pubDate>Sat, 19 Jan 2013 08:42:59 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux安装Oracle客户端]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5731</guid>
		<description><![CDATA[说明： 操作系统： CentOS 5.8最小化安装 IP地址：192.168.21.150 Oracle数据库服务器IP：192.168.0.128 数据库版本：Oracle 11gR2 数据库实例：orcl 用户名：system 密码：123456 实现目的： 在CentOS 5.8中安装Oracle客户端远程访问Oracle数据库服务器 具体操作： 一、在CentOS 5.8上安装图形界面X Windows 1、yum groupinstall "X Window System"   #安装X Window 2、vi /etc/gdm/custom.conf  #配置，修改添加以下代码 [security] AllowRemoteRoot=true [xdmcp] Port=177 Enable=1 :wq!   #保存退出 3、vi /etc/inittab  #编辑 id:5:initdefault:  #修改3为5 :wq!   #保存退出 4、vi /etc/sysconfig/iptables #编辑，添加以下代码，开启防火墙UDP 177端口 -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5731.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5731.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CentOS 安装Oracle 11g R2</title>
		<link>https://www.osyunwei.com/archives/5445.html</link>
		<comments>https://www.osyunwei.com/archives/5445.html#comments</comments>
		<pubDate>Sun, 28 Oct 2012 03:40:11 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Oracle 11g R2]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5445</guid>
		<description><![CDATA[本文档最后更新于2019年7月18日，同样适用于CentOS 6.x 64操作系统及Oracle11gR2 64位版本。 说明： Linux服务器操作系统：CentOS 5.8 32位（注意：系统安装时请单独分区/data用来安装oracle数据库） Linux服务器IP地址：192.168.21.150 Oracle数据库版本：linux_11gR2_database Windows客户端系统：Windows Xp 具体操作： 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容 版权所有,转载请注明出处及原文链接 一、在Linux服务器操上安装图形界面X Window 1、在Linux上安装图形界面服务端程序X Window yum groupinstall "X Window System" #安装X Window yum groupinstall "X Window System" --setopt=group_package_types=mandatory,default,optional yum -y groupinstall Desktop yum install xdm yum install -y xterm 2、vi /etc/gdm/custom.conf #配置，修改添加以下代码 [security] AllowRemoteRoot=true [xdmcp] Port=177 Enable=1 :wq! #保存退出 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5445.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5445.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Linux下PHP远程连接Oracle数据库</title>
		<link>https://www.osyunwei.com/archives/5194.html</link>
		<comments>https://www.osyunwei.com/archives/5194.html#comments</comments>
		<pubDate>Tue, 21 Aug 2012 12:28:26 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PHP连接Oracle]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5194</guid>
		<description><![CDATA[说明： Web服务器环境：CentOS 5.8 32位+Nginx 1.2.3+Mysql 5.5.27+php 5.3.16 Web服务器IP：192.168.21.149 php源码编译目录：/usr/local/src/php-5.3.16 php安装目录：/usr/local/php5 Nginx站点根目录：/usr/local/nginx/html Oracle数据库服务器IP：192.168.21.130 开启1521端口，允许远程连接数据库 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 数据库版本：Oracle 11gR1_database_111070  数据库名称：orcl 数据库账号：system 数据库密码：123456 PHP连接Oracle用到OCI包，需要在Web服务器上安装oracle-instantclien，使PHP支持Oracle扩展包OCI 一、下载oracle-instantclien http://download.oracle.com/otn/linux/instantclient/111070/oracle-instantclient11.1-basic-11.1.0.7.0-1.i386.rpm http://download.oracle.com/otn/linux/instantclient/111070/oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm 备注：需要注册登录之后才能下载（如果Web服务器是64位，需要下载相应的64位包） 注意：下载的包要与Oracle数据库版本一致！ 二、安装oracle-instantclien 把上一步中下载好的文件上传到Web服务器/usr/local/src/目录中，在当前目录下执行以下命令 rpm -Uvh oracle-instantclient11.1-basic-11.1.0.7.0-1.i386.rpm   #安装 rpm -Uvh oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm   #安装 cd /usr/lib/oracle #看到安装的库文件 三、重新编译php，添加OCI扩展 cd /usr/local/src/php-5.3.16  #进入php源码编译目录 cd  ext/oci8  #进入ext目录下的oci8目录 /usr/local/php5/bin/phpize #用phpize生成configure配置文件 ./configure --with-php-config=/usr/local/php5/bin/php-config --with oci8=share,instantclient,/usr/lib/oracle/11.1/client/lib  #配置 系统运维 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5194.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5194.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008 R2 SP1下Oracle Database 11g 第 1 版创建数据库</title>
		<link>https://www.osyunwei.com/archives/4164.html</link>
		<comments>https://www.osyunwei.com/archives/4164.html#comments</comments>
		<pubDate>Wed, 30 May 2012 12:56:35 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=4164</guid>
		<description><![CDATA[说明：在安装Oracle的时候，如果选择了仅安装数据库软件，安装完成之后系统中是没有任何数据库的          下面我们创建一个orcl数据库 一、配置监听程序（创建数据库之前必须要先配置） 打开开始-程序-Oracle - OraDb11g_home1-配置和移植工具-Net Configuration Assistant 如下图所示系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 出现下面界面 选择监听程序配置，下一步 选择添加，下一步 监听程序名，默认即可，下一步 选定的协议，默认TCP 下一步 选择使用标准端口号1521 下一步 是否配置另一个监听程序：否 下一步 监听程序配置完成，下一步 默认选择监听程序配置，点完成。 二、创建Oracle数据库 打开开始-程序-Oracle - OraDb11g_home1-配置和移植工具-Database Configuration Assistant 出现下面的界面 下一步 创建数据库 默认选择一般用途或事物处理，下一步 全局数据库：Orcl SID：Orcl 下一步 默认选择 配置Enterprise Manager 配置Database Control 下一步 口令配置，可以为每个账户设置不同的口令，也可以为所有账户设置一个相同的口令 选择所有账户使用同一管理口令，输入两次口令，下一步 选择要用于数据库的存储机制：文件系统 下一步 指定要创建的数据库文件的位置：使用模板中的数据库文件位置 下一步 默认选择：指定快速恢复区，下一步 默认下一步 内存：默认勾选使用自动内存管理 切换到调整大小：进程300 切换到字符集： 选中：从字符集列表中选择 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/4164.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/4164.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2003下Oracle Database 11g 第 2 版创建数据库</title>
		<link>https://www.osyunwei.com/archives/3582.html</link>
		<comments>https://www.osyunwei.com/archives/3582.html#comments</comments>
		<pubDate>Mon, 23 Apr 2012 13:55:59 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Database 11g]]></category>
		<category><![CDATA[Oracle数据库]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=3582</guid>
		<description><![CDATA[说明：在安装Oracle的时候，如果选择了仅安装数据库软件，安装完成之后系统中是没有任何数据库的，下面我们创建一个orcl数据库 一、配置监听程序（创建数据库之前必须要先配置） 打开开始-程序-Oracle - OraDb11g_home1-配置和移植工具-Net Configuration Assistant 出现下面界面 选择监听程序配置，下一步 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 选择添加，下一步 监听程序名，默认即可，下一步 选定的协议，默认TCP 下一步 选择使用标准端口号1521 下一步 是否配置另一个监听程序：否 下一步 监听程序配置完成，下一步 默认选择监听程序配置，点完成。 二、创建Oracle数据库 打开开始-程序-Oracle - OraDb11g_home1-配置和移植工具-Database Configuration Assistant 出现下面的界面 下一步 创建数据库 默认选择一般用途或事物处理，下一步 全局数据库：Orcl SID：Orcl 下一步 默认选择 配置Enterprise Manager 配置Database Control 下一步 口令配置，可以为每个账户设置不同的口令，也可以为所有账户设置一个相同的口令 选择所有账户使用同一管理口令，输入两次口令，下一步 如果口令设置的太简单，不满足Oracle口令的复杂性要求，会弹出上面的界面，可以选择是 或者选择否，返回口令设置，重新设置一个复杂的口令 这里直接选择是，出现下面的界面 存储类型：文件系统 存储位置：使用模板中的数据库文件位置 下一步 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 默认选择：指定快速恢复区 下一步 默认下一步 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/3582.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/3582.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2003安装Oracle Database 11g 第 2 版</title>
		<link>https://www.osyunwei.com/archives/3362.html</link>
		<comments>https://www.osyunwei.com/archives/3362.html#comments</comments>
		<pubDate>Thu, 29 Mar 2012 11:59:48 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle11g]]></category>
		<category><![CDATA[Oracle安装]]></category>
		<category><![CDATA[Windows安装Oracle]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=3362</guid>
		<description><![CDATA[安装说明： 操作系统：Windows Server 2003  32位 Oracle版本：Oracle Database 11g 第 2 版 下载地址：http://www.oracle.com/technetwork/cn/database/enterprise-edition/downloads/index.html?ssSourceSiteId=ocomcn （需要先注册才能下载） Microsoft Windows（32 位） 文件 1、文件 2 (2GB) 查看全部 Microsoft Windows (x64) 文件 1、文件 2 (2GB) 查看全部 Linux x86 文件 1、文件 2 (2GB) 查看全部 Linux x86-64 文件 1、文件 2 (2GB) 查看全部 Solaris (SPARC)（64 位） 文件 1、文件 2 (2GB) 查看全部 Solaris (x86-64) 文件 1、文件 2 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/3362.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/3362.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
