Open ocde opened 5 years ago
参考官网:http://www.redmine.org/projects/redmine/wiki/Plugins
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.
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
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://www.cnblogs.com/bianlan/p/4566221.html
记得一定要备份备份备份,切记切记切记!!! 无备份不更新,有更新必备份!!!