StuRa Diskussion:Server/Redmine: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Neuer Abschnitt →q&d) |
|||
Zeile 26: | Zeile 26: | ||
: <code>bundle exec gem uninstall rake -v 10.5.0</code> | : <code>bundle exec gem uninstall rake -v 10.5.0</code> | ||
: <code>bundle exec gem install rake -v 11.1.2</code> | : <code>bundle exec gem install rake -v 11.1.2</code> | ||
== q&d == | |||
pkg update; pkg upgrade --yes; | |||
pkg install --yes zsh; | |||
pkg install --yes redmine; sysrc redmine_enable="YES"; pkg install --yes mysql56-server; sysrc mysql_enable="YES"; pkg install -y rubygem-passenger; sysrc apache24_enable="YES"; | |||
service mysql-server start; mysql_install_db --basedir /usr/local; mysql_secure_installation; mysql -u root -p | |||
service apache24 start; | |||
pkg install -y ap24-mod_fastcgi; pkg install -y rubygem-fcgi; service apache24 restart; | |||
LoadModule passenger_module /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.30/buildout/apache2/mod_passenger.so | |||
PassengerRoot /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.30 | |||
PassengerRuby /usr/local/bin/ruby22 |
Version vom 22. November 2017, 22:57 Uhr
andere Anleitungen
- von Redmine
- https://www.redmine.org/projects/redmine/wiki/RedmineInstall
- https://www.redmine.org/projects/redmine/wiki/HowTos#FreeBSD
- zu FreeBSD
- http://daemon-notes.com/articles/web/redmine
- http://easyos.net/articles/bsd/freebsd/install_redmine_as_fastcgi_for_apache_in_freebsd
- https://kgibran.wordpress.com/2016/08/16/redmine-installationmigration-on-freebsd-10-using-portsapache-passenger-mysql/
rake 10 vs rake 11
rake aborted! Gem::LoadError: You have already activated rake 10.5.0, but your Gemfile requires rake 11.1.2. Prepending `bundle exec` to your command may solve this. /usr/local/www/redmine/config/boot.rb:6:in `<top (required)>' /usr/local/www/redmine/config/application.rb:1:in `<top (required)>' /usr/local/www/redmine/Rakefile:5:in `<top (required)>' LoadError: cannot load such file -- bundler/setup /usr/local/www/redmine/config/boot.rb:6:in `<top (required)>' /usr/local/www/redmine/config/application.rb:1:in `<top (required)>' /usr/local/www/redmine/Rakefile:5:in `<top (required)>' (See full trace by running task with --trace)
bundle exec gem uninstall rake -v 10.5.0
bundle exec gem install rake -v 11.1.2
q&d
pkg update; pkg upgrade --yes;
pkg install --yes zsh;
pkg install --yes redmine; sysrc redmine_enable="YES"; pkg install --yes mysql56-server; sysrc mysql_enable="YES"; pkg install -y rubygem-passenger; sysrc apache24_enable="YES";
service mysql-server start; mysql_install_db --basedir /usr/local; mysql_secure_installation; mysql -u root -p
service apache24 start;
pkg install -y ap24-mod_fastcgi; pkg install -y rubygem-fcgi; service apache24 restart;
LoadModule passenger_module /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.30/buildout/apache2/mod_passenger.so PassengerRoot /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.30 PassengerRuby /usr/local/bin/ruby22