{"id":2621,"date":"2019-03-12T13:28:55","date_gmt":"2019-03-12T10:28:55","guid":{"rendered":"https:\/\/sysdba.org\/?p=2621"},"modified":"2025-07-02T06:01:07","modified_gmt":"2025-07-02T06:01:07","slug":"installing-tibero-6-rdbms-on-scientific-linux-7-1","status":"publish","type":"post","link":"https:\/\/sysdba.org\/en\/installing-tibero-6-rdbms-on-scientific-linux-7-1\/","title":{"rendered":"Installing Tibero 6 RDBMS on Scientific Linux 7.1"},"content":{"rendered":"<p>I am glad to introduce Tibero is a relational database management system. It is able to do everything that others do and more. Active active cluster , Active passive disaster recovery solutions, row level locking and additional security abilities etc.<\/p>\n<p>In this step-by-step aricle you will find detailed instructions on how to install stand alone tibero RDBMS installation. For details and setup files you can visit technet.tmaxsoft.com<\/p>\n<p><strong>Operating system<\/strong> : Scientific Linux 7.1 x86_64<br \/>\n<strong>Tibero<\/strong> : tibero6-bin-6_rel_FS02-linux64-109628-opt-tested.tar.gz<br \/>\n<strong>Memory<\/strong> : 3G<br \/>\n<strong>Server<\/strong> : Virtual machine on VirtualBox<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Preparing operating system<\/strong><\/span><br \/>\n<strong>Required rpm packages<\/strong><br \/>\n[crayon]<br \/>\nrpm -qa | grep gcc-*<br \/>\nrpm -qa | grep gcc-c++-*<br \/>\nrpm -qa | grep libgcc-*<br \/>\nrpm -qa | grep libstdc++-*<br \/>\nrpm -qa | grep libstdc++-devel-*<br \/>\nrpm -qa | grep compat-libstdc++-*<br \/>\nrpm -qa | grep libaio-*<br \/>\nrpm -qa | grep libaio-devel-*<br \/>\n[\/crayon]<br \/>\n<strong>install required packages<\/strong><br \/>\n[crayon]<br \/>\nyum install -y gcc-*l<br \/>\nyum install -y gcc-c++-*<br \/>\nyum install -y libgcc-*<br \/>\nyum install -y libstdc++-*<br \/>\nyum install -y libstdc++-devel-*<br \/>\nyum install -y compat-libstdc++-*<br \/>\nyum install -y libaio-*<br \/>\nyum install -y libaio-devel-*<br \/>\n[\/crayon]<\/p>\n<p><strong>Kernel parameters<\/strong><br \/>\nfirstly backing up config files<br \/>\n[crayon]<br \/>\ncp \/etc\/security\/limits.conf \/etc\/security\/limits.conf_bck<br \/>\necho -e &#8216;tibero hard nofile 65536\\ntibero soft nofile 4096\\ntibero soft nproc 4096\\ntibero hard nproc 16384&#8217; &gt;&gt; \/etc\/security\/limits.conf<br \/>\n[\/crayon]<br \/>\n[crayon]<br \/>\ncp \/etc\/pam.d\/login \/etc\/pam.d\/login_bck<br \/>\necho session required pam_limits.so &gt;&gt; \/etc\/pam.d\/login<br \/>\n[\/crayon]<br \/>\n[crayon]<br \/>\ncp \/etc\/sysctl.conf \/etc\/sysctl.conf_bck<br \/>\necho -e &#8216;kernel.shmmni = 4096\\nkernel.sem = 10000 32000 10000 10000\\nfs.file-max = 6553600\\nnet.ipv4.ip_local_port_range = 1024 65000\\nnet.core.rmem_default = 262144\\nnet.core.rmem_max = 4194304\\nnet.core.wmem_default = 262144\\nnet.core.wmem_max = 1048576&#8217; &gt;&gt; \/etc\/sysctl.conf<br \/>\n[\/crayon]<\/p>\n<p><strong>For RHEL 6x<\/strong><br \/>\n[crayon]<br \/>\nservice iptables stop<br \/>\nchkconfig iptables off<br \/>\n[\/crayon]<\/p>\n<p><strong>For RHEL 7x<\/strong><br \/>\n[crayon]<br \/>\nsystemctl stop firewalld<br \/>\nsystemctl disable firewalld<br \/>\n[\/crayon]<br \/>\n<strong>Adding groups\/user<\/strong><br \/>\n[crayon]<br \/>\n\/usr\/sbin\/groupadd -g 502 dba<br \/>\n\/usr\/sbin\/useradd -u 502 -g dba tibero<br \/>\npasswd tibero &#8211;&gt; tibero<br \/>\n[\/crayon]<\/p>\n<p><strong>Directories<\/strong><br \/>\n[crayon]<br \/>\nmkdir \/Tibero<br \/>\ntar -xvf \/tmp\/tibero6-bin-6_rel_FS02-linux64-109628-opt-tested.tar.gz -C \/Tibero\/<br \/>\nchown -R tibero:dba \/Tibero<br \/>\n[\/crayon]<\/p>\n<p><strong>ntp configuration<\/strong><br \/>\n[crayon]<br \/>\ncp \/etc\/ntp.conf \/etc\/ntp.conf_bck<br \/>\necho -e &#8216;server 0.tr.pool.ntp.org\\nserver 1.tr.pool.ntp.org\\nserver 2.tr.pool.ntp.org\\nserver 3.tr.pool.ntp.org&#8217; &gt;&gt; \/etc\/ntp.conf<br \/>\n[\/crayon]<br \/>\nYou should change ntp server addresses according to your requirements<br \/>\n<strong>Adding &#8220;-x&#8221; option<\/strong><br \/>\n[crayon]<br \/>\nvi \/etc\/sysconfig\/ntpd<br \/>\nOPTIONS=&#8221;-x -u ntp:ntp -p \/var\/run\/ntpd.pid -g&#8221;<br \/>\nservice ntpd restart<br \/>\n[\/crayon]<\/p>\n<p><strong>Adding Tibero environment settings to .bash_profile<\/strong><br \/>\n[crayon]<br \/>\necho -e &#8216;TB_HOME=\/Tibero\/tibero6; export TB_HOME\\nTB_SID=tibero; export export TB_SID\\nLD_LIBRARY_PATH=$TB_HOME\/lib:$TB_HOME\/client\/lib; export LD_LIBRARY_PATH\\nexport PATH=$PATH:$TB_HOME\/bin:$TB_HOME\/client\/bin&#8217; &gt;&gt; \/home\/tibero\/.bash_profile<br \/>\n[\/crayon]<\/p>\n<p>demo license needed for installation you can obtain it from technet.tmaxsoft.com<br \/>\n[crayon]<br \/>\nchown tibero:dba \/tmp\/license.xml<br \/>\ncp \/tmp\/license.xml file to \/Tibero\/tibero6\/license\/<br \/>\n[\/crayon]<br \/>\nFollowing steps will be done with tibero user<\/p>\n<p><strong>Installing and running Tibero<\/strong><br \/>\n[crayon]<br \/>\n$TB_HOME\/config\/gen_tip.sh<br \/>\ntbboot nomount<br \/>\ntbsql sys\/tibero<br \/>\n[\/crayon]<br \/>\nPlease note that you should change character set according to software requirements<\/p>\n<p>[crayon]<br \/>\ncreate database &#8220;tibero&#8221;<br \/>\nuser sys identified by tibero<br \/>\nmaxinstances 8<br \/>\nmaxdatafiles 100<br \/>\ncharacter set WE8ISO8859P9<br \/>\nlogfile group 1 &#8216;log001.log&#8217; size 100M,<br \/>\ngroup 2 &#8216;log002.log&#8217; size 100M,<br \/>\ngroup 3 &#8216;log003.log&#8217; size 100M<br \/>\nmaxloggroups 255<br \/>\nmaxlogmembers 8<br \/>\nnoarchivelog<br \/>\ndatafile &#8216;system001.dtf&#8217; size 100M<br \/>\nautoextend on next 100M<br \/>\nmaxsize unlimited<br \/>\ndefault temporary tablespace TEMP<br \/>\ntempfile &#8216;temp001.dtf&#8217; size 100M<br \/>\nautoextend on next 100M<br \/>\nmaxsize unlimited<br \/>\nextent management local autoallocate<br \/>\nundo tablespace UNDO<br \/>\ndatafile &#8216;undo001.dtf&#8217; size 100M<br \/>\nautoextend on next 100M<br \/>\nmaxsize unlimited<br \/>\nextent management local autoallocate;<br \/>\nexit<br \/>\n[\/crayon]<\/p>\n<p><strong>Running system.sh<\/strong><br \/>\n[crayon]<br \/>\ntbboot<br \/>\n$TB_HOME\/scripts\/system.sh<br \/>\n[\/crayon]<\/p>\n<p><strong>passwords<\/strong><br \/>\nsys &#8211;&gt; tibero<br \/>\nsyscat &#8211;&gt; syscat<br \/>\nto monitor what is going on<br \/>\n[crayon]<br \/>\ntail -f \/Tibero\/tibero6\/instance\/tibero\/log\/dbmslog<br \/>\n[\/crayon]<\/p>\n<p><strong>testing installation<\/strong><br \/>\n[crayon]<br \/>\ntbsql sys\/tibero<br \/>\n[\/crayon]<\/p>\n<p>[crayon]<br \/>\nSELECT i.version,<br \/>\nbd.value &#8220;Build Ver&#8221; ,<br \/>\ni.instance_name ,<br \/>\nd.name &#8220;DB name&#8221; ,<br \/>\ni.status,<br \/>\nch.value &#8220;NLS_CHARACTERSET&#8221; ,<br \/>\nd.log_mode ,<br \/>\nd.create_date &#8220;DB create_date&#8221; ,<br \/>\nd.current_tsn ,<br \/>\nd.ckpt_tsn ,<br \/>\nl.edition,<br \/>\nl.expire_date,<br \/>\nl.limit_user,<br \/>\nl.limit_cpu<br \/>\nFROM _vt_instance i,<br \/>\nv$database d,<br \/>\n_vt_license l,<br \/>\n(SELECT value<br \/>\nFROM _vt_version<br \/>\nWHERE name=&#8217;BUILD_NUMBER&#8217;) bd ,<br \/>\n(SELECT value<br \/>\nFROM _dd_props<br \/>\nWHERE name=&#8217;NLS_CHARACTERSET&#8217;) ch;<br \/>\n[\/crayon]<br \/>\nto drop database<br \/>\n[crayon]<br \/>\ntbdown<br \/>\nrm -rf $TB_HOME\/database\/TB_SID\/*<br \/>\n[\/crayon]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am glad to introduce Tibero is a relational database management system. <\/p>\n","protected":false},"author":1,"featured_media":2622,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[383,338],"tags":[345],"class_list":["post-2621","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dba_i","category-oracle-tr","tag-oracle"],"_links":{"self":[{"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/posts\/2621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/comments?post=2621"}],"version-history":[{"count":1,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/posts\/2621\/revisions"}],"predecessor-version":[{"id":4819,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/posts\/2621\/revisions\/4819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/media?parent=2621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/categories?post=2621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/tags?post=2621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}