5/18/2023 0 Comments Bitnami redmine proxy![]() Sudo rake db:migrate RAILS_ENV="production"If the stars aligned properly, this should spit out a bunch of database table creation logs and exit without errors. Password: Now that we have the database setup and configured, we need to write a base set of tables to it. Password:so, for example mine looks like this (since I used redmine as user / db): Password also needs to be entered in plain text Sudo nano database.ymlChange the section (below) so that it reflects the username and database you setup with phpmyadmin Sudo cp database.ymlNow the database.yml file needs to be edited, so enter the following (you could use any command line editor) We need to create a database configuration from the exsisting example file. Now that we have a dabase created, we need to add that to the redmine configuration. would need to replace localhost with the server address if you are doing this remotely)įrom the main phpmyadmin page, go to Privileges, then click on Add New User.Įnter a username (I used redmine) and a password (or generate one) you just need to remember it / write it downĬlick on “Create database with same name and grant all privileges”Ĭlick Go ( lower right of page – might need to scoll down ). So fire up phpmyadmin ( You could do this from the command line, but why would you ) by going to the following address in a web browser: Sudo svn co /home/redmineNow that you have the source, you will need to do a little setup in MySQL. Sudo ln -s /var/lib/gems/1.8/bin/mongrel_cluster_ctl /usr/bin/mongrel_cluster_ctlNow that we have access to the scripts (gets rid of that annowing path export !) and ruby on rails is setup, we need to get the latest version of redmine Sudo ln -s /var/lib/gems/1.8/bin/rails /usr/bin/rails Sudo ln -s /var/lib/gems/1.8/bin/mongrel_rails /usr/bin/mongrel_rails Assuming that your gems installed in the same location, issue the following commands: Sudo gem install rails mongrel mongrel_cluster daemons -include-dependenciesIf the installer asks what versions to install, Install the following versions:ĭaemons 1.0.9Once that is complete, we need to create symbolic links in /usr/bin for the mongrel scripts. Sudo apt-get install libmysql-ruby mysql-server subversion apache2 ruby rubygems irb ri rdoc ruby1.8-dev build-essential phpmyadmin rake libapache2-mod-fastcgiWhen that command finishes, issue the following command to install Ruby on Rails and Mongrel (this took me a long time to figure out) Install all the packages needed from the repositories: The following assumes that you have a command line install of Ubuntu, that you want to install redmine in /home/redmine, and have it be the default website apache serves. ( Composed from the referenced sites at the bottom ) ![]() Installation Guide Part I: Redmine, the Basics: I will try to help out when I can and remember to check. I am not in any way responsible for any negative effects this may cause to your computer, you, your walls and/or material possessions, or other people around you. This is a lengthy guide - I tried to be very detailed - so you might want to set aside a few hours to do this.įirst things first lets get the disclaimers out of the way. So, being that I just went through about a week of trial and error setting up redmine, a content management system, to run on Ubuntu, I decided that I should write a guide on the process for future reference ( I am prone to memory loss ) and for others who desire it. However I was put off by there not being a lot of guides to setup redmine to work through apache in ubuntu. Needed to have a unified theme between all modulesI tried many solutions (Mantis, FlySpray, Bugzilla, dokuwiki, pmwiki, TikiWiki, MediaWiki, and more) however none of them seemed to fit the criteria. Needed to integrate well with SVN ( chosen revision control) I came accross redmine in a search for an integrated content management system for me to use for projects I have in development ( I will refrain from any shameful plugs ).
0 Comments
Leave a Reply. |