![]() Redmine Installation on Virtual or Normal Ubuntu Network->MAC address initialization box. usr/share/redmine/public/.htaccess: RewriteEngine OnĪnd that's it! If these instructions didn't work for you, please expand them to include whatever is needed. Require File.dirname(_FILE_) + "/./config/environment" unless defined?(RAILS_ROOT)ĪDDITIONAL_LOAD_ if defined?(Apache::RubyRun) usr/share/redmine/public/dispatch.cgi: #!/usr/bin/ruby etc/redmine/default/database.yml: production: The other files that you need to modify/create are as follows: If you can successfully make this work, please update these instructions! Otherwise follow the instructions in the next section for installing on Ubuntu 10.04 using Passenger if mod_cgi does not work for you. Using Ubuntu Server 10.04.1, configuring Redmine via mod_cgi as described in this section does not seem to work. The second package, redmine-mysql, can be replaced by either redmine-pgsql or redmine-sqlite if you want to use either of those databases. $ sudo chmod a+x /usr/share/redmine/public Ubuntu 10.4 using mod_cgi The executable bit on the public folder must be enabled or you will receive a "403: Forbidden" error when attempting to access Redmine. If you receive a "403: Forbidden" error after setting up Redmine, the Redmine 'public' folder may have incorrect permissions set. PassengerResolveSymlinksInDocumentRoot onĪnd you should be able to access Redmine at: You'll also need to configure the /var/www/redmine location in /etc/apache2/sites-available/default by adding: $ sudo ln -s /usr/share/redmine/public /var/www/redmineīy default, passenger runs as 'nobody', so you'll need to fix that. Symlink /usr/share/redmine/public to your desired web-accessible location. $ sudo aa-enforce /usr/sbin/mysqld Configuration ![]() If you set your AppArmor mysqld profile to complain you ought to set it back to enforce: Sudo apt-get install libapache2-mod-passenger You will also need to install the Passenger apache module. Run the following export http_proxy="" and export https_proxy="http::port". Note: If your server is behind a firewall, you will need to export your firewall settings before running add-apt-repository. To install redmine using the PPA: sudo add-apt-repository ppa:ondrej/redmine A PPA exists that has the 1.1 branch here: Note: The package with Ubuntu is stuck in the 0.9.x branch for now. Redmine will now be installed in /usr/share/redmine and /etc/redmine The installation process should prompt you for all the interesting details. The second package, redmine-mysql, can be replaced by either redmine-pgsql or redmine-sqliteif you want to use either of those databases. $ sudo apt-get install redmine redmine-mysql subversion ![]() The installation assumes that the web server and database are already in place, so you probably want to install the LAMP stack first if you don't already have it:Īlso, the default AppArmor configuration can get in the way, so you may need to set the mysqld profile to complain:Īs of 10.04, Redmine is available through Ubuntu's package manager, and installation is simple: ![]()
0 Comments
Leave a Reply. |