ocde / ego

10 stars 0 forks source link

bitnami redmine 如何安装插件? #145

Open ocde opened 5 years ago

ocde commented 5 years ago

参考:https://www.cnblogs.com/bianlan/p/4566221.html

记得一定要备份备份备份,切记切记切记!!! 无备份不更新,有更新必备份!!!

ocde commented 4 years ago

参考官网:http://www.redmine.org/projects/redmine/wiki/Plugins

  1. Copy your plugin directory into #{RAILS_ROOT}/plugins. If you are downloading the plugin directly from GitHub, you can do so by changing into your plugin directory and issuing a command like git clone git://github.com/user_name/name_of_the_plugin.git.

  2. If the plugin requires a migration, run the following command in #{RAILS_ROOT} to upgrade your database (make a db backup before). bundle exec rake redmine:plugins:migrate RAILS_ENV=production

  3. Restart Redmine 三、服务重启。

1、cd /opt/redmine-3.3.1-0/

2、 ./ctlscript.sh restart

usage: ./ctlscript.sh help

   ./ctlscript.sh (start|stop|restart|status)

   ./ctlscript.sh (start|stop|restart|status) mysql

   ./ctlscript.sh (start|stop|restart|status) apache

help - this screen start - start the service(s) stop - stop the service(s) restart - restart or start the service(s) status - show the status of the service(s)

https://blog.51cto.com/lel3390/1889330