To install redmine on




















Where there are issues with the step i have made clear notes on what to do. This is a very easy installation and gives you the benefits of a Xammp installtion with such things as PhpMyadmin. This is my prefered method of installing Redmine because i can use the installed Ruby services for other development, i get the added benefits of the CollabNet Subversion Edge Server featuers including ViewVC which is an excellent difference viewer.

The server identifications are easily changed in the webbased admin which is great when you are playing with the settings to see what you want. It does have its downside that it requires a lot more configuration. It is not all bad becaus ei will also use the xampp server for developing my apps that require a webserver to run. I would recommend that you read the instructions through once before starting as this process can be quite lenghty.

My Folder Locations I have used might not be the same in the original instructions. I like Xampp. I recently had a need to look into Ruby on Rails specifically so that I could use the Redmine project management web app and figured it would be easy to integrate it into my existing dev environment.

There is an updated SSL certificate that was not put in some versions of Ruby. The solution is to manually download the new SSL cert and place in the correct folder before running this command. Might be worth a quick check. The batch file will display information when started. Click the SQL tab and run the following: create database redmine character set utf8; create user 'redmineUser' 'localhost' identified by 'myPassword'; grant all privileges on redmine.

Resolving dependencies Click the Login button. I recommend that the next thing you do is to click on My account in the upper right corner and change that password. In the page that is displayed there should be a Change password link in the upper right of the white area of the page.

Click to change the password. The file should be protected so that only root has read permission because you are storing the root password for your mysql installation in this file. That the first line creates a new file every time the script is run. This can eventually create a large number of backups of your database files. You should have a script that purges old ones periodically. There are some services that Redmine can use that are not absolutely necessary, but are useful.

At some point you will probably want Redmine to be able to send email. For this you will need to install and configure email. This can be achieved by installing the postfix package. I do not recommend the exim4 package, as there have been some incompatibilities in the way the "sendmail" command line is handled between Redmine and exim4.

Unless everyone has an email account on the redmine server you will want to set up external email as a full internet host. Redmine uses Bundler to manage gems dependencies. RMagick is an interface between the Ruby programming language and the ImageMagick image processing library. The library is necessary for Redmine prior to 4. If ImageMagick 6. If you have trouble installing rmagick on Windows, refer to this HowTo.

Don't forget to re-run bundle install --without development test If you need to load gems that are not required by Redmine core eg. Puma, fcgi , create a file named Gemfile. It will be loaded automatically when running bundle install. This step generates a random key used by Rails to encode cookies storing session data thus preventing their tampering.

Generating a new secret token invalidates all existing sessions after restart. Create the database structure, by running the following command under the application root directory:. It will create tables by running all migrations one by one then create the set of the permissions and the application administrator account, named admin. If you get this error with Ubuntu: Rake aborted! Then you need to install libopenssl-ruby1. The user account running the application must have write permission on the following subdirectories:.

Note: If you have files in these directories e. You should now see the application welcome page.



0コメント

  • 1000 / 1000