<?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; informix</title>
	<atom:link href="http://www.ochef.net/tag/informix/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ochef.net</link>
	<description>Oracle and My Life</description>
	<lastBuildDate>Mon, 09 Jan 2012 05:39:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install IDS 11.5 UC5 for Linux</title>
		<link>http://www.ochef.net/2009/09/install-ids-11-5-uc5-for-linux.html</link>
		<comments>http://www.ochef.net/2009/09/install-ids-11-5-uc5-for-linux.html#comments</comments>
		<pubDate>Wed, 09 Sep 2009 06:36:59 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[informix]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=608</guid>
		<description><![CDATA[感谢chinaunix.net上zhaowuxing提供的免key无限制正式版软件，欲知更多内容请看帖子。 环境：VMware + Linux AS 4 + IDS 11.5 安装主机名为informix，创建的informix服务为ochef，创建的数据库名为ochefdb。 一、创建用户、组、安装目录 [root@informix ~]# groupadd informix [root@informix ~]# useradd -g informix  Informix [root@informix ~]# passwd informix [root@informix ~]# mkdir -p /opt/IBM/informix 二、环境变量设置 1.Login as informix user [informix@informix ~]$ vi /home/informix/.bash_profile export  INFORMIXDIR=/opt/IBM/Informix export  INFORMIXSERVER=ochef export  ONCONFIG=onconfig.ochef PATH=$PATH:$HOME/bin:$INFORMIXDIR/bin export PATH 2.修改系统配置 Login as root user [root@informix ~]#  [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-sybase-ase-15-0-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-ids-11-5-uc5-for-linux.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Sybase ASE 15.0 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-db2-9-1-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-ids-11-5-uc5-for-linux.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install DB2 9.1 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Finstall-oracle-10g-rac-on-rhel4u7.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-ids-11-5-uc5-for-linux.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Oracle 10g RAC on RHEL4U7</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2011%2F04%2Finstall-ebs-r12-on-oel5-6.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-ids-11-5-uc5-for-linux.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Oracle EBS R12.1.1 on OEL5.6</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>感谢chinaunix.net上zhaowuxing提供的<span style="color: #ff0000;">免key无限制正式版</span>软件，欲知更多内容请看<a title="chinaunix" href="http://bbs2.chinaunix.net/viewthread.php?tid=1321105&amp;extra=&amp;page=1" target="_blank">帖子</a>。</p>
<p>环境：VMware + Linux AS 4 + IDS 11.5</p>
<p>安装主机名为informix，创建的informix服务为ochef，创建的数据库名为ochefdb。</p>
<p>一、创建用户、组、安装目录</p>
<p>[root@informix ~]# groupadd informix</p>
<p>[root@informix ~]# useradd -g informix  Informix</p>
<p>[root@informix ~]# passwd informix</p>
<p>[root@informix ~]# mkdir -p /opt/IBM/informix</p>
<p>二、环境变量设置</p>
<p>1.Login as informix user</p>
<p>[informix@informix ~]$ vi /home/informix/.bash_profile</p>
<p>export  INFORMIXDIR=/opt/IBM/Informix</p>
<p>export  INFORMIXSERVER=ochef</p>
<p>export  ONCONFIG=onconfig.ochef</p>
<p>PATH=$PATH:$HOME/bin:$INFORMIXDIR/bin</p>
<p>export PATH</p>
<p>2.修改系统配置</p>
<p>Login as root user</p>
<p>[root@informix ~]#  vi  /etc/services</p>
<p>在文件尾添加：sqlexec  9088/tcp</p>
<p>三、安装IDS Enterprise Edition V11.50.UC5</p>
<p>Login as root user</p>
<p>[root@informix ids]# tar xvf IDS_EE_V11.50.UC5_Linux_x86.tar</p>
<p>[root@informix ids]# ./ids_install</p>
<p>以下省略部分图片：</p>
<p><img class="alignnone size-medium wp-image-609" title="01" src="http://www.ochef.net/wp-content/uploads/2009/09/01-300x193.PNG" alt="01" width="300" height="193" /></p>
<p>选择安装目录</p>
<p><img class="alignnone size-medium wp-image-610" title="04" src="http://www.ochef.net/wp-content/uploads/2009/09/04-300x193.PNG" alt="04" width="300" height="193" /></p>
<p>选择安装部件和类型</p>
<p><img class="alignnone size-medium wp-image-611" title="05" src="http://www.ochef.net/wp-content/uploads/2009/09/05-300x194.PNG" alt="05" width="300" height="194" /></p>
<p><span id="more-608"></span></p>
<p>选择配置文件</p>
<p><img class="alignnone size-medium wp-image-612" title="08" src="http://www.ochef.net/wp-content/uploads/2009/09/08-300x194.PNG" alt="08" width="300" height="194" /></p>
<p>服务的详细配置信息</p>
<p><img class="alignnone size-medium wp-image-613" title="09" src="http://www.ochef.net/wp-content/uploads/2009/09/09-300x195.PNG" alt="09" width="300" height="195" /></p>
<p>安装完成</p>
<p><img class="alignnone size-medium wp-image-614" title="14" src="http://www.ochef.net/wp-content/uploads/2009/09/14-300x191.PNG" alt="14" width="300" height="191" /></p>
<p>四、通信配置文件名 （类似Oracle的tnsnames.ora）</p>
<p>[informix@informix ~]$ cp /opt/IBM/informix/etc/sqlhosts.std /opt/IBM/informix/etc/sqlhosts</p>
<p>[informix@informix ~]$ vi  /opt/IBM/informix/etc/sqlhosts</p>
<p>在sqlhosts文件中末尾加入下面一行（其中服务器名（server域不能有&#8217;-'）；各域之间使用tab键分隔）：</p>
<p>ochef    onsoctcp        informix       sqlexec</p>
<p>说明：通讯配置文件中的每一行表示一个配置，每个配置由 4 个部分组成：</p>
<p>Server（服务器名） Nettype（连接类型） host （主机名） Service（服务端口号）</p>
<p>五、创建onconfig.server配置文件  （类似Oracle的初始化参数文件init.ora）</p>
<p>[informix@informix ~]$ cp /opt/IBM/informix/etc/onconfig.std  /opt/IBM/informix/etc/onconfig.ochef</p>
<p>根据实际情况修改</p>
<p>[informix@informix ~]$  vi /opt/IBM/informix/etc/onconfig.ochef</p>
<p>SERVERNUM 1 （每一个onconfig文件中使用一个不能重复的数字）</p>
<p>DBSERVERNAME ochef   （与sqlhosts中的相同）</p>
<p>ROOTPATH $INFORMIXDIR/data/root_chunk</p>
<p>ROOTSIZE  200000  (根据你需要设置所要的数据空间大小，千字节，如为200M)</p>
<p>同时创建rootdbs的chunk文件，为后续服务。</p>
<p>[informix@informix ~]$ mkdir $INFORMIXDIR/data</p>
<p>[informix@informix ~]$ cat /dev/null &gt; $INFORMIXDIR/data/root_chunk</p>
<p>[informix@informix ~]$ chmod 660 $INFORMIXDIR/data/root_chunk</p>
<p>六、初始化数据库</p>
<p>[informix@informix ~]$ oninit -i    （仅第一次时用参数 i ）</p>
<p>This action will initialize IBM Informix Dynamic Server;</p>
<p>any existing IBM Informix Dynamic Server databases will NOT be accessible -</p>
<p>Do you wish to continue (y/n)? y</p>
<p>如果没有提示任何错误，恭喜你，您已创建好数据库。</p>
<p>七、测试安装</p>
<p>1）使用onstat -f检查安装版本，如下：</p>
<p>[informix@informix ~]$ onstat -f</p>
<p>IBM Informix Dynamic Server Version 11.50.UC5     &#8212; On-Line &#8212; Up 00:19:18 &#8212; 144144 Kbytes</p>
<p>2）使用dbaccess检查数据库运行情况，如下：</p>
<p>[informix@informix ~]$ dbaccess sysmaster@ochef -</p>
<p>Database selected.</p>
<p>&gt;select * from syslogs;</p>
<p>提示成功，则表示初始化数据库正确完成。</p>
<p>八、基础操作</p>
<p>1) dbaccess访问informix</p>
<p>在登录操作系统后，如果该操作系统用户具有足够的权限，则可使用如下方式等录数据调试，与使用sqlplus或isql类似：</p>
<p>[informix@informix ~]$ dbaccess sysmaster@ochef -</p>
<p>Database selected.</p>
<p>&gt;</p>
<p>2) informix的启动和关闭</p>
<p>启动informix：</p>
<p>[informix@informix ~]$ oninit</p>
<p>关闭informix：</p>
<p>[informix@informix ~]$ onmode -ky</p>
<p>后续对Informix数据库的操作请参阅<a href="http://www.sybase.com/" target="_blank">官方</a>文档。</p>
<p>-The End-</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-sybase-ase-15-0-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-ids-11-5-uc5-for-linux.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Sybase ASE 15.0 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-db2-9-1-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-ids-11-5-uc5-for-linux.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install DB2 9.1 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Finstall-oracle-10g-rac-on-rhel4u7.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-ids-11-5-uc5-for-linux.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Oracle 10g RAC on RHEL4U7</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2011%2F04%2Finstall-ebs-r12-on-oel5-6.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-ids-11-5-uc5-for-linux.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Oracle EBS R12.1.1 on OEL5.6</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/09/install-ids-11-5-uc5-for-linux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

