{"id":89,"date":"2010-03-01T23:19:02","date_gmt":"2010-03-01T14:19:02","guid":{"rendered":"http:\/\/blog.isnext.net\/issy\/?p=89"},"modified":"2010-03-01T23:19:56","modified_gmt":"2010-03-01T14:19:56","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%86ubuntu8-10","status":"publish","type":"post","link":"https:\/\/blog.isnext.net\/issy\/archives\/89","title":{"rendered":"SKIP\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806(Ubuntu8.10)"},"content":{"rendered":"<p>Ubuntu8.10\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u30e1\u30e2<br \/>\n\u5fdc\u7b54\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u4e00\u90e8\u8868\u8a18<\/p>\n<p>$ cd \/home\/user\/<\/p>\n<p>$ sudo apt-get install ruby<br \/>\n$ sudo apt-get install rubygems<br \/>\n$ sudo apt-get install libmysqlclient15-dev<br \/>\n$ sudo apt-get install rake<\/p>\n<p>$ sudo gem update &#8211;system<\/p>\n<p>$ sudo rm \/usr\/bin\/gem<br \/>\n$ ln -s \/usr\/bin\/gem1.8 \/usr\/bin\/gem<\/p>\n<p>$ sudo gem install gettext<br \/>\n$ sudo gem install fastercsv<br \/>\n$ sudo gem install ruby-openid<br \/>\n$ sudo gem install rspec<br \/>\n$ sudo gem install rails &#8211;version 2.1.2<br \/>\n$ sudo gem install mysql<br \/>\nBuilding native extensions. This could take a while&#8230;<br \/>\nSuccessfully installed mysql-2.7<\/p>\n<p>$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>$vi config\/initial_settings.yml<br \/>\n$vi config\/database.yml<\/p>\n<p>$ sudo RAILS_ENV=production rake &#8211;trace db:create<br \/>\n(in \/home\/user\/skip-1.0.1)<br \/>\n** Invoke db:create (first_time)<br \/>\n** Invoke environment (first_time)<br \/>\n** Execute environment<br \/>\n** Execute db:create<\/p>\n<p>$ sudo RAILS_ENV=production rake &#8211;trace db:migrate<br \/>\n(in \/home\/user\/skip-1.0.1)<br \/>\n** Invoke db:migrate (first_time)<br \/>\n** Invoke environment (first_time)<br \/>\n** Execute environment<br \/>\n** Execute db:migrate<br \/>\n== 1 CreateDefaultTables: migrating ===========================================<br \/>\n&#8212; create_table(:accounts)<br \/>\n-> 0.0047s<br \/>\n&#8212; add_index(&#8220;accounts&#8221;, [&#8220;code&#8221;], {:name=>&#8221;index_accounts_on_code&#8221;, :unique=>true})<br \/>\n-> 0.0058s<br \/>\n&#8212; create_table(:antenna_items)<br \/>\n-> 0.0034s<br \/>\n&#8212; create_table(:antennas)<br \/>\n-> 0.0027s<br \/>\n&#8212; create_table(:applied_emails)<br \/>\n-> 0.0032s<br \/>\n&#8212; create_table(:board_entries)<br \/>\n-> 0.0048s<br \/>\n(\u4e2d\u7565\uff09<br \/>\n** Invoke db:schema:dump (first_time)<br \/>\n** Invoke environment<br \/>\n** Execute db:schema:dump<\/p>\n<p>$ sudo 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=25aedca9xxxxxxxxxxxxxxxxxxx&#8221;<\/p>\n<p>$ sudo ruby .\/script\/server -e production<br \/>\n=> Booting WEBrick&#8230;<br \/>\n=> Rails 2.1.2 application started on http:\/\/0.0.0.0:3000<br \/>\n=> Ctrl-C to shutdown server; call with &#8211;help for options<br \/>\n[2009-01-11 00:23:54] INFO WEBrick 1.3.1<br \/>\n[2009-01-11 00:23:54] INFO ruby 1.8.6 (2007-09-24) [i486-linux]<br \/>\n[2009-01-11 00:23:54] INFO WEBrick::HTTPServer#start: pid=18292 port=3000<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu8.10\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u30e1\u30e2 \u5fdc\u7b54\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u4e00\u90e8\u8868\u8a18 $ cd \/home\/user\/ $ sudo apt-get install ruby $ sudo apt-get install rubyge &hellip; <a href=\"https:\/\/blog.isnext.net\/issy\/archives\/89\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SKIP\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806(Ubuntu8.10)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[32,31,33],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-linux","tag-ruby","tag-skip","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/89","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=89"}],"version-history":[{"count":2,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/89\/revisions"}],"predecessor-version":[{"id":91,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/89\/revisions\/91"}],"wp:attachment":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/media?parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/categories?post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/tags?post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}