Warning: include(/virtual/grimo/public_html/blog.grimonet.com/php_func.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 1

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/php_func.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 1

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/static_header.html): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 6

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/static_header.html' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 6

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/static_meta_blog.html): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 8

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/static_meta_blog.html' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 8
INOLOG Ver.2: 2012年12月 アーカイブ

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/static_body_header.html): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 20

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/static_body_header.html' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 20

« 2012年11月 | メイン | 2013年1月 »

2012年12月


Warning: include(/virtual/grimo/public_html/blog.grimonet.com/google_468_60.html): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 55

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/google_468_60.html' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 55

2012年12月27日(木)

phpのSSH2をCentOS 6で使えるようにする

別なサーバーにファイルをコピーし無くてはならない処理があって、もとのファイルが php だったので ssh2_scp_send を使ってコピーしようと思ったんですが、最近まっさらな状態から作ったばかりのサーバーで SSH2系の関数が使えない。

ならインストールすれば使えるだろうっと、簡単に考えていたら結構手間取ったので、一応書いておきます。

が、結論から書くと epel 使って yum でインストールすれば何も考えずに使えますってお話。

どういうポリシーでサーバーのセットアップをするかは人それぞれだと思うのですが、私の場合、最近は yum でセットアップするほうが多いです。

php をコンパイルして使っても良いと思いますが、結局メンテナンスが面倒になるので、ほとんど rpm から。

で、出来ればサードパーティのリポジトリは使わずに済めばそれがベストかなぁっと、そんな感じで epel 使わずにセットアップしようと思ったら面倒な事になりました。


続きを読む »

« 2012年11月 | メイン | 2013年1月 »


Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_522.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_522.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_245.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_245.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_252.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_252.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_206.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_206.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/track_word_249.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/track_word_249.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_250.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_250.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_251.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_251.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_246.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_246.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_248.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_248.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/google_link_unit_247.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/google_link_unit_247.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_242.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_242.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_253.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_253.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_208.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/template_208.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/powered_by_204.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/powered_by_204.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 141

Warning: include(/virtual/grimo/public_html/blog.grimonet.com/includes_c/bodyfootjs_80.php): failed to open stream: No such file or directory in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 152

Warning: include(): Failed opening '/virtual/grimo/public_html/blog.grimonet.com/includes_c/bodyfootjs_80.php' for inclusion (include_path='.:/opt/php-7.4.33-2/data/pear') in /home/ykinomt/grimonet.com/public_html/blog/articles/2012/12/index.php on line 152