【问题标题】:How to start bluepill on your VPS(Digital Ocean)?如何在您的 VPS(Digital Ocean)上启动 bluepill?
【发布时间】:2013-10-20 08:04:09
【问题描述】:
discourse@fyps:~$ bluepill stop 
Error: There are no running bluepill daemons. 
To start a bluepill daemon, use: bluepill load  
discourse@fyps:~$ bluepill load 
/home/discourse/.rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.66/bin/bluepill:108:in `exists?': no implicit conversion of nil into String (TypeError)
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.66/bin/bluepill:108:in `'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `load'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `'

我想知道如何启动 bluepill,谢谢!

【问题讨论】:

    标签: bluepill


    【解决方案1】:

    我喜欢这样:

    $ /usr/local/rvm/bin/bootup_bluepill --no-privileged stop
    $ /usr/local/rvm/bin/bootup_bluepill --no-privileged quit
    $ RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ROOT=/var/www/discourse RAILS_ENV=production NUM_WEBS=2 /usr/local/rvm/bin/bootup_bluepill --no-privileged -c ~/.bluepill load /var/www/discourse/config/discourse.pill
    

    您可以从此命令的输出中获得的最后一条命令:

    $ crontab -l
    

    如果您使用 INSTALL-ubuntu.md 安装 discourse,这将起作用

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-01-11
      • 1970-01-01
      • 1970-01-01
      • 2020-06-14
      • 1970-01-01
      • 2023-04-04
      • 2021-10-09
      相关资源
      最近更新 更多