{"id":310,"date":"2009-01-30T15:58:11","date_gmt":"2009-01-30T12:58:11","guid":{"rendered":"http:\/\/blog.yavor.info\/?p=310"},"modified":"2009-01-30T17:16:02","modified_gmt":"2009-01-30T14:16:02","slug":"%d0%bd%d0%be%d0%b2%d0%b8-%d1%82%d0%b5%d1%80%d0%b8%d1%82%d0%be%d1%80%d0%b8%d0%b8","status":"publish","type":"post","link":"http:\/\/blog.yavor.info\/?p=310","title":{"rendered":"\u041d\u043e\u0432\u0438 \u0442\u0435\u0440\u0438\u0442\u043e\u0440\u0438\u0438"},"content":{"rendered":"<p>\u0420\u0435\u0448\u0438\u0445 \u0434\u0430 \u043f\u043e\u043d\u0430\u0443\u0447\u0430 \u043c\u0430\u043b\u043a\u043e Perl. \u0412\u0441\u0438\u0447\u043a\u0438 \u0433\u043e \u0445\u0432\u0430\u043b\u044f\u0442, \u0447\u0435 \u0431\u0438\u043b \u0441\u0443\u043f\u0435\u0440 \u0433\u044a\u0432\u043a\u0430\u0432 \u0435\u0437\u0438\u043a. \u0410\u0437, \u043e\u0431\u0430\u0447\u0435, \u043d\u0435 \u0441\u044a\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438\u0440\u0430\u043b \u043e\u0442 \u0433\u043e\u0434\u0438\u043d\u0438 (\u0430\u043a\u043e \u043d\u0435 \u0431\u0440\u043e\u0438\u043c \u043f\u043e \u043d\u044f\u043a\u043e\u044f \u0434\u0440\u0443\u0433\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u043a\u0430 \u043d\u0430 PL\/SQL \u0442\u0443\u043a-\u0442\u0430\u043c). \u041e\u043a\u0430\u0437\u0430 \u0441\u0435, \u0447\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043a\u0430\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0435 \u0441\u0435 \u0437\u0430\u0431\u0440\u0430\u0432\u044f, \u043d\u043e \u0441\u0431\u043b\u044a\u0441\u044a\u043a\u0430 \u0441 \u043d\u043e\u0432 \u0435\u0437\u0438\u043a \u043c\u0435 \u0438\u0437\u043d\u0435\u043d\u0430\u0434\u0430.<\/p>\n<p>\u041a\u0430\u043a\u0442\u043e \u0438 \u0434\u0430 \u0435. \u041f\u0440\u0435\u0434\u0438\u0441\u0442\u043e\u0440\u0438\u044f\u0442\u0430 \u0435 \u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430: \u0442\u0430\u0437\u0438 \u0441\u0435\u0434\u043c\u0438\u0446\u0430 \u0442\u0440\u044f\u0431\u0432\u0430\u0448\u0435 \u0434\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043c\u0435 \u0435\u0434\u0438\u043d \u0442\u0435\u0441\u0442\u043e\u0432 Oracle 10.2 \u043d\u0430 Linux \u0438 \u0432 \u0437\u043d\u0430\u043a \u043d\u0430 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u044a\u043c \u0438\u0437\u0431\u0440\u0430\u0445 Oracle Unbreakable Linux 4 Update 2 x86_64, \u0437\u0430\u0449\u043e\u0442\u043e \u043e\u0442 Oracle 10.2 \u043d\u0430 RHEL 5 \u0438\u043c\u0430\u043c <a href=\"http:\/\/blog.yavor.info\/?p=163\">\u043b\u043e\u0448\u0438 \u0441\u043f\u043e\u043c\u0435\u043d\u0438<\/a>. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0442\u043e \u0442\u0443\u043a \u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430\u0442\u0430. \u041d\u0435 \u0437\u043d\u0430\u043c RHEL4 \u0434\u0430\u043b\u0438 \u0441\u0435 \u0434\u044a\u0440\u0436\u0438 \u043f\u043e \u0441\u044a\u0449\u0438\u044f \u043d\u0430\u0447\u0438\u043d, \u043d\u043e \u0441\u0435 \u0441\u0431\u043b\u044a\u0441\u043a\u0430\u0445\u043c\u0435 \u0441 \u0435\u0434\u0438\u043d \u043c\u043d\u043e\u0433\u043e \u0442\u044a\u043f \u043f\u0440\u043e\u0431\u043b\u0435\u043c. \u041f\u0440\u0435\u0434\u0438 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 Oracle DB, \u043a\u043e\u0433\u0430\u0442\u043e \u0441\u043b\u0430\u0433\u0430\u0445 \u0432\u0441\u0438\u0447\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0438 \u043f\u0430\u043a\u0435\u0442\u0438, <code>rpm<\/code> \u0437\u0430\u043f\u043e\u0447\u043d\u0430 \u0434\u0430 \u0441\u0435 \u0434\u044a\u0440\u0436\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e &#8211; \u043e\u0431\u044f\u0441\u043d\u044f\u0432\u0430\u0448\u0435 \u043c\u0438, \u0447\u0435 \u0435\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442 \u0433\u043e \u043d\u044f\u043c\u0430, \u0430 <code>rpm -q<\/code> \u043f\u043e\u043a\u0430\u0437\u0432\u0430\u0448\u0435, \u0447\u0435 \u0433\u043e \u0438\u043c\u0430. \u041e\u043a\u0430\u0437\u0430 \u0441\u0435, \u0447\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0442\u043e\u0440\u0430 \u0435 \u0441\u043b\u043e\u0436\u0438\u043b i386 \u0432\u0435\u0440\u0441\u0438\u044f\u0442\u0430, \u0430 \u043d\u0430 \u043c\u0435\u043d \u043c\u0438 \u0442\u0440\u044f\u0431\u0432\u0430 x86_64 \u0432\u0435\u0440\u0441\u0438\u044f\u0442\u0430. \u0418 \u0434\u0432\u0435\u0442\u0435 \u0441\u0438 \u0441\u0442\u043e\u044f\u0442 \u043c\u0438\u0440\u043d\u043e \u043d\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0442\u043e CD, \u043d\u043e \u0438\u043d\u0441\u0442\u0430\u043b\u0435\u0440\u0430 \u043f\u043e \u043d\u0430\u0439-\u0442\u044a\u043f\u0438\u044f \u043d\u0430\u0447\u0438\u043d \u0435 \u0438\u0437\u0431\u0440\u0430\u043b 32 \u0431\u0438\u0442\u043e\u0432\u0430\u0442\u0430. <\/p>\n<p>\u0422\u043e\u0432\u0430 \u0433\u043e \u043f\u0440\u0435\u0431\u043e\u0440\u0438\u0445\u043c\u0435. \u041d\u043e \u0442\u043e \u043c\u0435 \u0432\u0434\u044a\u0445\u043d\u043e\u0432\u0438 \u0437\u0430 \u043f\u044a\u0440\u0432\u0430\u0442\u0430, \u043c\u043e\u0436\u0435 \u0431\u0438 \u043d\u0435 \u043c\u043d\u043e\u0433\u043e \u0441\u043c\u0438\u0441\u043b\u0435\u043d\u0430, \u043d\u043e <strong>\u041f\u042a\u0420\u0412\u0410<\/strong> \u0437\u0430 \u043c\u0435\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043a\u0430 \u043d\u0430 perl. \u0420\u0435\u0448\u0438\u0445 \u0434\u0430 \u0438\u0437\u043d\u0430\u043c\u0435\u0440\u044f \u0432\u0441\u0438\u0447\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u0438, \u043a\u043e\u0438\u0442\u043e \u0441\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u0438, \u043d\u043e \u043d\u0435 \u0438 \u0432 x86_64 \u0432\u0430\u0440\u0438\u0430\u043d\u0442.<\/p>\n<p>\u041f\u043e\u0447\u043d\u0430\u0445 \u043d\u0430\u0438\u0441\u0442\u0438\u043d\u0430 \u0430 \u043d\u0430\u0447\u0430\u043b\u043e\u0442\u043e, \u043d\u043e \u0441 \u043c\u043d\u043e\u0433\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u044a\u043c. \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e, \u0437\u0430 \u0434\u0430 \u0432\u0437\u0435\u043c\u0430 \u0438\u043c\u0435\u0442\u043e \u043d\u0430  \u0432\u0441\u0435\u043a\u0438 \u043f\u0430\u043a\u0435\u0442 \u0440\u0435\u0448\u0438\u0445 \u043d\u0430\u0439-\u043e\u043f\u0442\u0438\u043c\u0438\u0441\u0442\u0438\u0447\u043d\u043e \u0434\u0430 \u0441\u0435 \u0431\u043e\u0440\u044f \u0441 regular exressions &#8211; \u0442\u043e\u0432\u0430 \u0441\u0430\u043c\u043e \u043f\u043e \u0441\u0435\u0431\u0435 \u0441\u0438 \u0435 \u0435\u0434\u043d\u043e \u0434\u044a\u043b\u0431\u043e\u043a\u043e \u043c\u043e\u0440\u0435. \u0417\u0430\u043f\u043e\u0447\u043d\u0430\u0445 \u0442\u0430\u043a\u0430:<\/p>\n<pre lang=\"perl\">\r\n#!\/usr\/bin\/env perl\r\n\r\nuse strict;\r\nuse warnings;\r\n\r\n#my $s = \"world\";\r\n#print \"Hello, $s\\n\";\r\nmy $pn;\r\nmy @in=`rpm -qa`;\r\nchomp @in;\r\n\r\nforeach (@in) {\r\n  $pn = $_;\r\n  if ($pn =~ \/((\\w|-)+)-(\\d+[-\\.]+[-\\w\\.]*)\/) {\r\n        print \"For $pn\";\r\n        print \", name is $1\";\r\n        print \" and version is $3\\n\";\r\n...\r\n<\/pre>\n<p>\u0422\u043e\u0437\u0438 regexp \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u0441\u0438 \u0435 \u0433\u043e\u043b\u044f\u043c\u043e \u0437\u0430\u043a\u043b\u0438\u043d\u0430\u043d\u0438\u0435, \u043e\u0431\u0430\u0447\u0435 \u043a\u043e\u043b\u043a\u043e\u0442\u043e \u0438 \u0434\u0430 \u0441\u0435 \u043c\u044a\u0447\u0430, \u043d\u0435 \u043c\u043e\u0436\u0430\u0445 \u0434\u0430 \u0445\u0432\u0430\u043d\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0441\u043b\u0443\u0447\u0430\u0438. \u041d\u0430\u0439-\u0431\u0440\u0430\u0434\u0430\u0442\u0438\u044f \u043f\u0430\u043a\u0435\u0442 \u0441\u0435 \u043e\u043a\u0430\u0437\u0430 <code>java-1.4.2-gcj-compat-1.4.2.0-27jpp<\/code> &#8211; \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u044f\u043c\u0430 (\u0438\u043b\u0438 \u0430\u0437 \u043d\u0435 \u043c\u043e\u0433\u0430 \u0434\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u044f) regexp, \u043a\u043e\u0439\u0442\u043e \u0434\u0430 \u0441\u0435 \u0441\u043f\u0440\u0430\u0432\u0438 \u0441 \u043e\u0442\u0434\u0435\u043b\u044f\u043d\u0435\u0442\u043e \u043d\u0430 \u0438\u043c\u0435\u0442\u043e \u043e\u0442 \u0432\u0435\u0440\u0441\u0438\u044f\u0442\u0430. \u0421\u0442\u0440\u0430\u043d\u043d\u043e\u0442\u043e \u0435, \u0447\u0435 \u043a\u0430\u0442\u043e \u0433\u043e \u043f\u043e\u0433\u043b\u0435\u0434\u043d\u0430 \u0438 \u043c\u0438 \u0441\u0442\u0430\u0432\u0430 \u044f\u0441\u043d\u043e \u043a\u043e\u044f \u0447\u0430\u0441\u0442 \u0435 \u0438\u043c\u0435 \u0438 \u043a\u043e\u044f \u2013 \u0432\u0435\u0440\u0441\u0438\u044f; \u043d\u043e \u043d\u0435 \u043c\u043e\u0433\u0430 \u0434\u0430 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u0430\u043c \u0442\u043e\u0447\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u044a\u043c, \u043f\u043e\u043d\u0435 \u0432 \u0442\u0430\u0437\u0438 \u043d\u043e\u0432\u0430 \u0437\u0430 \u043c\u0435\u043d \u0441\u0440\u0435\u0434\u0430. \u041a\u0430\u0442\u043e \u0441\u0442\u0430\u043d\u0430 \u0434\u0443\u043c\u0430 \u0437\u0430 \u0441\u0440\u0435\u0434\u0430, \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e vim, \u0437\u0430 \u043f\u043e-\u0442\u0440\u0443\u0434\u043d\u043e.<\/p>\n<p>\u041a\u0430\u043a\u0442\u043e \u0438 \u0434\u0430 \u0435. \u041f\u0440\u043e\u0431\u0438\u0442\u0435 \u0438 \u0433\u0440\u0435\u0448\u043a\u0438\u0442\u0435 \u0431\u044f\u0445\u0430 \u043c\u043d\u043e\u0433\u043e. \u041f\u0435\u0448\u043e \u043f\u043e\u043c\u0430\u0433\u0430, Xerxes \u0441\u044a\u0449\u043e \u0443\u0434\u0430\u0440\u0438 \u0435\u0434\u043d\u043e \u0440\u0430\u043c\u043e \u0432 \u043c\u043e\u043c\u0435\u043d\u0442, \u0432 \u043a\u043e\u0439\u0442\u043e \u0431\u044f\u0445 \u0437\u0430\u0431\u0438\u043b \u043f\u043e \u043c\u043d\u043e\u0433\u043e \u0442\u044a\u043f \u043d\u0430\u0447\u0438\u043d. \u0418 \u043d\u0430 \u043a\u0440\u0430\u044f \u0443\u0441\u043f\u044f\u0445 \u0434\u0430 \u0441\u0442\u0438\u0433\u043d\u0430 \u0434\u043e <strong>\u041f\u044a\u0440\u0432\u0430\u0442\u0430 \u0420\u0430\u0431\u043e\u0442\u0435\u0449\u0430 \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u043d\u0430 Perl<\/strong> (<em>\u041f\u0420\u041f\u041f<\/em>), \u043a\u043e\u044f\u0442\u043e \u0441\u044a\u043c \u043f\u0438\u0441\u0430\u043b \u043b\u0438\u0447\u043d\u043e \u0430\u0437:<\/p>\n<pre lang=\"perl\">\r\n#!\/usr\/bin\/env perl\r\n\r\nuse strict;\r\nuse warnings;\r\n\r\nmy $Str64 = \"x86_64\";\r\n\r\nsub GetArch {\r\n# This procedure checks if some package's architecture is $Str64\r\n# If th\u0435re is more than one package with the same name\r\n# (and different architectures), it will return $Str64\r\n# If there is no package installation with #Str64 architecture\r\n# it will return the first architecture occured\r\n\r\n  # get package name from the parameters\r\n  my $PckName = shift;\r\n  # get installed architectures for the package\r\n  my @PckArchs = `rpm --query --queryformat \\\"%{ARCH}\\n\\\" $PckName`;\r\n  # init $Result with the first architecture found\r\n  my $Result = $PckArchs[0];\r\n  my $CurrArch;\r\n\r\n  # lop through architectures\r\n  foreach (@PckArchs) {\r\n      chomp;\r\n      $CurrArch = $_;\r\n      # Check if the architecture is what we are looking for\r\n      if ($CurrArch eq $Str64)  {\r\n          # Victory!\r\n          $Result = $CurrArch;\r\n          }\r\n      }\r\n  return $Result;\r\n}\r\n\r\nmy $pn;\r\n# we take all package names\r\nmy @in=`rpm -qa --queryformat \\\"%{NAME}\\n\\\"`;\r\n#sort the package names (will look better)\r\n@in = sort(@in);\r\n# remove the new line character\r\nchomp @in;\r\nmy $pa;\r\nmy $PckCount = 0;\r\n\r\n#loop through the package names\r\nforeach (@in) {\r\n    # take th\u0435 current package name\r\n    $pn = $_;\r\n    # get package's architecture\r\n    $pa = GetArch($pn);\r\n    chomp($pa);\r\n    #check if the architecture is fine \r\n    #(and if th\u0435 package has architecture at all)\r\n    if (($pa ne $Str64 ) && ($pa ne \"noarch\")) {\r\n        # this package is not fine, let's report it\r\n        print \"$pn is $pa\\n\";\r\n        $PckCount++;\r\n    }\r\n}\r\nprint \"Number of bad packages: $PckCount\\n\";\r\n<\/pre>\n<p>\u041c\u043e\u0436\u0435 \u0431\u0438 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0438 \u043c\u043d\u043e\u0433\u043e \u043f\u043e-\u0435\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u043e, \u043d\u043e \u0437\u0430 <em>\u041f\u0420\u041f\u041f<\/em> \u0438 \u0442\u043e\u0432\u0430 \u0435 \u041e\u041a \ud83d\ude42<\/p>\n<p><em>P.S. \u043e\u043a\u0430\u0437\u0430 \u0441\u0435 \u0447\u0435 \u0438\u043c\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u0438 \u0446\u0435\u043b\u0438 41 \u0442\u0430\u043a\u0438\u0432\u0430 \u043f\u0430\u043a\u0435\u0442\u0430.<\/p>\n<p>P.P.S. Highlight Source Pro \u043f\u043b\u044a\u0433\u0438\u043d\u0430 \u043d\u0430 WordPress, \u043a\u043e\u0439\u0442\u043e \u0441\u0438 \u0441\u043b\u043e\u0436\u0438\u0445 \u0434\u043d\u0435\u0441, \u043d\u0435 \u0441\u0435 \u0441\u043f\u0440\u0430\u0432\u044f \u043c\u043d\u043e\u0433\u043e \u0431\u043b\u0435\u0441\u0442\u044f\u0449\u043e \u0441 \u043e\u0431\u0440\u0430\u0442\u043d\u0438\u0442\u0435 \u043a\u0430\u0432\u0438\u0447\u043a\u0438 (`) <\/p>\n<p>P.P.P.S. \u041e\u043f\u0440\u0430\u0432\u0438\u0445 \u0441\u0438 Highlight Source Pro. \u0412\u044a\u0432 \u0444\u0430\u0439\u043b\u0430 <code>wp-content\\plugins\\highlight-source-pro\\geshi\\geshi\\perl.php<\/code> \u043d\u0430 \u0440\u0435\u0434 63 \u0432\u043c\u0435\u0441\u0442\u043e<br \/>\n<code>'QUOTEMARKS' => array('\"'),<\/code><br \/>\n\u043d\u0430\u043f\u0438\u0441\u0430\u0445<br \/>\n<code>'QUOTEMARKS' => array('\"','`'),<\/code><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0435\u0448\u0438\u0445 \u0434\u0430 \u043f\u043e\u043d\u0430\u0443\u0447\u0430 \u043c\u0430\u043b\u043a\u043e Perl. \u0412\u0441\u0438\u0447\u043a\u0438 \u0433\u043e \u0445\u0432\u0430\u043b\u044f\u0442, \u0447\u0435 \u0431\u0438\u043b \u0441\u0443\u043f\u0435\u0440 \u0433\u044a\u0432\u043a\u0430\u0432 \u0435\u0437\u0438\u043a. \u0410\u0437, \u043e\u0431\u0430\u0447\u0435, \u043d\u0435 \u0441\u044a\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438\u0440\u0430\u043b \u043e\u0442 \u0433\u043e\u0434\u0438\u043d\u0438 (\u0430\u043a\u043e \u043d\u0435 \u0431\u0440\u043e\u0438\u043c \u043f\u043e \u043d\u044f\u043a\u043e\u044f \u0434\u0440\u0443\u0433\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u043a\u0430 \u043d\u0430 PL\/SQL \u0442\u0443\u043a-\u0442\u0430\u043c). \u041e\u043a\u0430\u0437\u0430 \u0441\u0435, \u0447\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043a\u0430\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0435 \u0441\u0435 \u0437\u0430\u0431\u0440\u0430\u0432\u044f, \u043d\u043e \u0441\u0431\u043b\u044a\u0441\u044a\u043a\u0430 \u0441 \u043d\u043e\u0432 \u0435\u0437\u0438\u043a \u043c\u0435 \u0438\u0437\u043d\u0435\u043d\u0430\u0434\u0430.<\/p>\n<p>\u041a\u0430\u043a\u0442\u043e \u0438 \u0434\u0430 \u0435. \u041f\u0440\u0435\u0434\u0438\u0441\u0442\u043e\u0440\u0438\u044f\u0442\u0430 \u0435 \u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430: \u0442\u0430\u0437\u0438 \u0441\u0435\u0434\u043c\u0438\u0446\u0430 \u0442\u0440\u044f\u0431\u0432\u0430\u0448\u0435 \u0434\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043c\u0435 \u0435\u0434\u0438\u043d \u0442\u0435\u0441\u0442\u043e\u0432 Oracle 10.2 \u043d\u0430 Linux \u0438 \u0432 \u0437\u043d\u0430\u043a \u043d\u0430 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u044a\u043c \u0438\u0437\u0431\u0440\u0430\u0445 Oracle Unbreakable Linux 4 Update 2 x86_64, \u0437\u0430\u0449\u043e\u0442\u043e \u043e\u0442 Oracle 10.2 \u043d\u0430 RHEL 5 \u0438\u043c\u0430\u043c <a href=\"http:\/\/blog.yavor.info\/?p=163\">\u043b\u043e\u0448\u0438 \u0441\u043f\u043e\u043c\u0435\u043d\u0438<\/a>. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0442\u043e \u0442\u0443\u043a \u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430\u0442\u0430. \u041d\u0435 \u0437\u043d\u0430\u043c RHEL4 \u0434\u0430\u043b\u0438 \u0441\u0435 \u0434\u044a\u0440\u0436\u0438 \u043f\u043e \u0441\u044a\u0449\u0438\u044f \u043d\u0430\u0447\u0438\u043d, \u043d\u043e \u0441\u0435 \u0441\u0431\u043b\u044a\u0441\u043a\u0430\u0445\u043c\u0435 \u0441 \u0435\u0434\u0438\u043d \u043c\u043d\u043e\u0433\u043e \u0442\u044a\u043f \u043f\u0440\u043e\u0431\u043b\u0435\u043c. \u041f\u0440\u0435\u0434\u0438 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 Oracle DB, \u043a\u043e\u0433\u0430\u0442\u043e \u0441\u043b\u0430\u0433\u0430\u0445 \u0432\u0441\u0438\u0447\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0438 \u043f\u0430\u043a\u0435\u0442\u0438, <code>rpm<\/code> \u0437\u0430\u043f\u043e\u0447\u043d\u0430 \u0434\u0430 \u0441\u0435 \u0434\u044a\u0440\u0436\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e &#8211; \u043e\u0431\u044f\u0441\u043d\u044f\u0432\u0430\u0448\u0435 \u043c\u0438, \u0447\u0435 \u0435\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442 \u0433\u043e \u043d\u044f\u043c\u0430, \u0430 <code>rpm -q<\/code> \u043f\u043e\u043a\u0430\u0437\u0432\u0430\u0448\u0435, \u0447\u0435 \u0433\u043e \u0438\u043c\u0430. \u041e\u043a\u0430\u0437\u0430 \u0441\u0435, \u0447\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0442\u043e\u0440\u0430 \u0435 \u0441\u043b\u043e\u0436\u0438\u043b i386 \u0432\u0435\u0440\u0441\u0438\u044f\u0442\u0430, \u0430 \u043d\u0430 \u043c\u0435\u043d \u043c\u0438 \u0442\u0440\u044f\u0431\u0432\u0430 x86_64 \u0432\u0435\u0440\u0441\u0438\u044f\u0442\u0430. \u0418 \u0434\u0432\u0435\u0442\u0435 \u0441\u0438 \u0441\u0442\u043e\u044f\u0442 \u043c\u0438\u0440\u043d\u043e \u043d\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0442\u043e CD, \u043d\u043e \u0438\u043d\u0441\u0442\u0430\u043b\u0435\u0440\u0430 \u043f\u043e \u043d\u0430\u0439-\u0442\u044a\u043f\u0438\u044f \u043d\u0430\u0447\u0438\u043d \u0435 \u0438\u0437\u0431\u0440\u0430\u043b 32 \u0431\u0438\u0442\u043e\u0432\u0430\u0442\u0430. <\/p>\n<p>\u0422\u043e\u0432\u0430 \u0433\u043e \u043f\u0440\u0435\u0431\u043e\u0440\u0438\u0445\u043c\u0435. \u041d\u043e \u0442\u043e \u043c\u0435 \u0432\u0434\u044a\u0445\u043d\u043e\u0432\u0438 \u0437\u0430 \u043f\u044a\u0440\u0432\u0430\u0442\u0430, \u043c\u043e\u0436\u0435 \u0431\u0438 \u043d\u0435 \u043c\u043d\u043e\u0433\u043e \u0441\u043c\u0438\u0441\u043b\u0435\u043d\u0430, \u043d\u043e <strong>\u041f\u042a\u0420\u0412\u0410<\/strong> \u0437\u0430 \u043c\u0435\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043a\u0430 \u043d\u0430 perl. \u0420\u0435\u0448\u0438\u0445 \u0434\u0430 \u0438\u0437\u043d\u0430\u043c\u0435\u0440\u044f \u0432\u0441\u0438\u0447\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u0438, \u043a\u043e\u0438\u0442\u043e \u0441\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u0438, \u043d\u043e \u043d\u0435 \u0438 \u0432 x86_64 \u0432\u0430\u0440\u0438\u0430\u043d\u0442.<\/p>\n<p>\u041f\u043e\u0447\u043d\u0430\u0445 \u043d\u0430\u0438\u0441\u0442\u0438\u043d\u0430 \u0430 \u043d\u0430\u0447\u0430\u043b\u043e\u0442\u043e, \u043d\u043e \u0441 \u043c\u043d\u043e\u0433\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u044a\u043c. \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e, \u0437\u0430 \u0434\u0430 \u0432\u0437\u0435\u043c\u0430 \u0438\u043c\u0435\u0442\u043e \u043d\u0430  \u0432\u0441\u0435\u043a\u0438 \u043f\u0430\u043a\u0435\u0442 \u0440\u0435\u0448\u0438\u0445 \u043d\u0430\u0439-\u043e\u043f\u0442\u0438\u043c\u0438\u0441\u0442\u0438\u0447\u043d\u043e \u0434\u0430 \u0441\u0435 \u0431\u043e\u0440\u044f \u0441 regular exressions &#8211; \u0442\u043e\u0432\u0430 \u0441\u0430\u043c\u043e \u043f\u043e \u0441\u0435\u0431\u0435 \u0441\u0438 \u0435 \u0435\u0434\u043d\u043e \u0434\u044a\u043b\u0431\u043e\u043a\u043e \u043c\u043e\u0440\u0435. \u0417\u0430\u043f\u043e\u0447\u043d\u0430\u0445 \u0442\u0430\u043a\u0430:<\/p>\n<p>(<a href=\"http:\/\/blog.yavor.info\/?p=310\">A\u043a\u043e \u0442\u0438 \u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0447\u0435\u0442\u0438 \u043d\u0430\u0442\u0430\u0442\u044a\u043a&#8230;<\/a>)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/posts\/310"}],"collection":[{"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=310"}],"version-history":[{"count":0,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/posts\/310\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.yavor.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=310"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}