{"id":92,"date":"2010-03-01T23:20:36","date_gmt":"2010-03-01T14:20:36","guid":{"rendered":"http:\/\/blog.isnext.net\/issy\/?p=92"},"modified":"2010-03-01T23:20:36","modified_gmt":"2010-03-01T14:20:36","slug":"skip%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%89%8b%e9%a0%86centos5","status":"publish","type":"post","link":"https:\/\/blog.isnext.net\/issy\/archives\/92","title":{"rendered":"SKIP\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806(CentOS5)"},"content":{"rendered":"<p>CentOS5\u7cfb\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<br \/>\nruby\u306e\u6700\u65b0\u5b89\u5b9a\u7248\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p># cd \/home\/user<br \/>\n# mkdir download<br \/>\n# cd download<br \/>\n# wget http:\/\/core.ring.gr.jp\/archives\/lang\/ruby\/ruby-1.8.7-p72.tar.gz<br \/>\n# tar zxvf ruby-1.8.7-p72.tar.gz<br \/>\n# cd ruby-1.8.7-p72<br \/>\n# yum install gcc automake<br \/>\n# .\/configure<br \/>\n# make<br \/>\n# make install<br \/>\n# ruby -v<br \/>\nruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]<\/p>\n<p>rubygems\u306e\u6700\u65b0\u7248\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p># cd ..\/<br \/>\n# wget http:\/\/rubyforge.org\/frs\/download.php\/45905\/rubygems-1.3.1.tgz<br \/>\n# tar zxvf rubygems-1.3.1.tgz<br \/>\n# cd rubygems-1.3.1<br \/>\n# ruby setup.rb<\/p>\n<p>Rails\u3068\u5fc5\u8981\u306a\u3082\u306e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p># gem install gettext<br \/>\n# gem install fastercsv<br \/>\n# gem install ruby-openid<br \/>\n# gem install rspec<br \/>\n# gem install rails &#8211;version 2.1.2<br \/>\n# ln -s \/usr\/lib\/mysql \/usr\/local\/lib\/<br \/>\n# gem install mysql<\/p>\n<p>SKIP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p># cd ..\/<br \/>\n# wget http:\/\/www.openskip.org\/download\/release\/skip-1.0.1.tar.gz<br \/>\n# tar zxvf skip-1.0.1.tar.gz<br \/>\n# cd skip-1.0.1<br \/>\n# cp config\/initial_settings.yml.sample config\/initial_settings.yml<br \/>\n# cp config\/database.yml.sample config\/database.yml<\/p>\n<p>SKIP\u521d\u671f\u8a2d\u5b9a\uff08mysql\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4f5c\u6210\u542b\u3080\uff09<\/p>\n<p># vi config\/initial_settings.yml<br \/>\n# vi config\/database.yml<br \/>\n# RAILS_ENV=production rake &#8211;trace db:create<br \/>\n# RAILS_ENV=production rake &#8211;trace db:migrate<br \/>\n# ruby lib\/create_new_admin_url.rb &#8211;code<br \/>\n&#8220;activation_code\u3092\u767a\u884c\u3057\u307e\u3057\u305f\u3002\u521d\u671f\u7ba1\u7406\u8005\u767b\u9332\u7528URL\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002&#8221;<br \/>\n&#8220;http:\/\/localhost:3000\/admin\/users\/new\/first?code=32dec04cc838f2f9c5788cxxxxxxxxxxxxx&#8221;<\/p>\n<p>SKIP\u8d77\u52d5<\/p>\n<p># ruby .\/script\/server -e production<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS5\u7cfb\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806 ruby\u306e\u6700\u65b0\u5b89\u5b9a\u7248\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb # cd \/home\/user # mkdir download # cd download # wget http:\/\/core.ring.gr. &hellip; <a href=\"https:\/\/blog.isnext.net\/issy\/archives\/92\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SKIP\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806(CentOS5)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[20,32,31],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-linux","tag-centos","tag-ruby","tag-skip"],"_links":{"self":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":1,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"predecessor-version":[{"id":93,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/92\/revisions\/93"}],"wp:attachment":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}