Redmine is a project management tool that includes an incident tracking system with bug tracking. Other tools included are activity calendar, Gantt charts for visual representation of project timeline, wiki, forum, version control repository viewer, RSS, role-based workflow control, integration with email.
http://en.wikipedia.org/wiki/WEBrick
Redmine By default it uses http, webrick and MySQL as database. It is quite easy to assemble it like this, later we will see why No. mount it this way.
First of all we install the necessary packages:
apt-get install ruby rubygems libruby libapache2-mod-passenger
We download RedMine 2.1.0
wget http://rubyforge.org/frs/download.php/76448/redmine-2.1.0.tar.gz
We install other dependencies
apt-get install libmagickcore-dev libmagickwand-d
Now, we are going to install the first gem, called bundler, this is responsible for installing all the gems that our project needs.
gem install bundler
We move to the directory where Redmine is located
cd /directorio/redmine/
Now, inside the Redmine directory, we execute the bundler gem, so that it downloads and installs all the gems that Redmine needs.
En Debian: /var/lib/gems/1.8/bin/bundle install –without development test postgresql sqlite
En Ubuntu: bundle install –without development test postgresql sqlite
Now, from the development test, we are omitting the installation of the adapters for the database, as we are interested in installing Redmine in Postgresql, we remove it from the line and add another that we want to omit, such as MySQL. Our code looks like this:
bundle install --without development test mysql sqlite
Now we enter the config folder:
cd config
cp database.yml.example database.yml
nano database.yml
We configure the connection data
echo “production:
adapter: postgresql
database: redmine
host: localhost
username: redmine
password: password
encoding: utf8
We run on the console
rake generate_secret_token
We create the structure of the database.
RAILS_ENV=production rake db:migrate
We insert the content into our database.
RAILS_ENV=production rake redmine:load_default_data
We raise the server.
ruby script/rails server webrick -e production
Let http://localhost:3000/
Administration account
login: admin
password: admin
These instructions are valid for Debian and Canaima, they should only be adapted.
Redmine Apache2
First of all, all the steps that were done above. they should not be discarded, we are simply going to adapt Redmine to Apache.
passenger-install-apache2-module
We assign some permissions to Redmine, as you already know Apache works with the user and group www-data
chown -R www-data:www-data files log tmp public/plugin_assets
chmod -R 755 files log tmp public/plugin_assets
We create a symbolic link
ln -s /directorio donde este redmine/redmine-2.1.0/public/ /var/www/redmine
We edit: /etc/apache2/httpd.conf and add the following lines:
RailsEnv production
RailsBaseURI /redmine
So far it may be fine, in my case I had a problem with routing and it was solved like this:
We move to the address:
cd /etc/apache2/sites-enabled
We edit the file 000default
nano 000-default
We add:
Alias / redmine "/var/www/redmine-2.1.0/public/"
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order deny, allow
allow from all
I explain the lines
Alias / redmine = name of our alias has to be the same as the one we assigned RailsBaseURI in /etc/apache2/httpd.conf
"/Var/www/redmine2.1.0/
public / ”= Address of the redmine on your server
So when asking for localhost / redmine it will be executed from apache and not from Webrick, notice the redmine does not go out through port 3000
All a success the pages load in micro seconds.
As a complement. to view the pages that we are using with passenger
passenger-memory-stats
————– Passenger processes ————–
PID VMSize Private Name
------------------
30091 47.8 MB 9.3 MB Passenger spawn server
30158 283.6 MB 115.1 MB Rails: / var / www / gitorious
30613 315.6 MB 133.6 MB Rails: / home / xxxx / org
### Processes: 3
### Total private dirty RSS: 258.02 MB
In my case I unzipped redmine and renamed it with "org"
Ready redmine, running apache2
SMTP service configuration
The great advantage that redmine has is its email notification tool. To activate this quality we must follow the following steps that will allow us to use our gmail account as a notification email for the redmine
We are located in the redmine directory.
cd config
Now we compile the file configuration.yml.example in this way
cp configuration.yml.example configuration.yml
We edit the file
nano configuration.yml
Now we configure said file. Here is a valid configuration that works.
production: email_delivery: delivery_method:: smtp smtp_settings: enable_starttls_auto: true address: "smtp.gmail.com" port: '587' domain: "smtp.gmail.com" authentication:: plain user_name: "xxxx@gmail.com" password : "xxxx"
Installing Plugins example with "Plugin People"
People plugin
- Avatars for local users
- Global user list with flexible ACL
- Implements for users
- Export VCF Person
- Birthday list Next
- New people list
Unzip the plugin in plugins / folder
Run:
bundle install --without sqlite mysql
rake redmine:plugins NAME=redmine_people RAILS_ENV=production
http://redminecrm.com/projects/people/pages/1
Ruby commands
Remove all gems
gem list | cut -d" " -f1 | xargs sudo gem uninstall -aIx
Delete a gem
gem uninstall
gem uninstall -v
Install a gem
gem install
gem install -v
See all installed gems
gem list
Fonts
- http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_210_on_Debian_Squeeze_with_Apache_Passenger
- http://www.redmine.org/projects/redmine/wiki/RedmineInstall
- http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_on_Debian_Squeeze_with_Postgresql_Ruby-on-Rails_and_Apache2-Passenger
Please when you write an article, do not name the pseudo distro called Canaima (and I make the sacrifice of naming that abominable Linux), Chavista does not have the right to technology, they do not let it live and all they know is to speak ill of the advances, they created it for population domain. It is a mask.
Greetings, it seems to me that your comment does not give rise, very disrespectful and I do not agree at all with what you say. My publications and examples that I will publish from here on will be based on experiences with Debian and CANAIMA.
What a misplaced comment ... Created for the control of the population? (lol) I invite you to download it, study its source code, and tell us if it is a mask. Like it or not, Canaima is a GNU / Linux distro.
I'm not saying you're not right, but it's not the right place to talk about politics XDDDDDDDDDDDDDD
If you think like me, you are my friend, but if you think differently from me, then you are doubly a friend because together we can better find the way to the truth.
and look at Frank who obviously does not know what he is talking about, draining his political opinion in a linux forum from WINDOWS !!!, and if you knew that the diversity of the developers of the distro that you criticize is such that one of the most prominent is caprilista and although there are differences in the points of view, the distro follows.
Totally agree with Frank. Suffice it to say Debian. Maybe Ubuntu. The rest is advertising for a distro created expressly for propaganda of a nefarious and absolutist regime.
Outside the Castro communism of Venezuela and those who give money to other countries while here, we are eating cable those who think differently and cannot bend us. In addition, the Canaima distro is very bad that the Debianites remind them in each flisol or meeting of the same nature.
Perfect, if you don't like canaima, use another one as you do, anyway the article is not from CANAIMA, it is about the complete installation of REDMINE.
Study a little more about free operating systems and for information I am sending you this image [1] you will surely find something that you do not like, but it is already recognized by the best OS in the world that is not the Windows you use (a clue looks the year 2008)
[1] http://upload.wikimedia.org/wikipedia/commons/d/d8/Debian_family_tree_11-06.png
And what are you doing commenting from Windows 7 if it is "much worse" than Canaima?
I think that with those kinds of comments, the only thing you will do is troll and that is the least you want here.
I like this type of program however I would like something offline I do not know if I am misunderstanding how the program works
Rots87, thanks for your comment, if with offline, you mean to handle it privately, of course it is viable. Cheers
I mean more that this program what it does is set up a kind of web for you if I didn't misunderstand, it works, so to speak, just like cups.
What I meant by offline and perhaps I express it wrongly, it is a program in which it does not depend on an explorer but rather one similar to a calendar or similar
@Frank don't mess with politics with this, this forum is not for that. We all have the right to use free technology, if you are hurt, friend this is not the place to talk about that topic.
Regards!
+1
Excellent article, it sounds interesting redmine for all the features, I use Trac to handle incidents, errors and version control
Urkh Thank you very much
Interesting article. Redmine is undoubtedly the tool that every developer should know and use.
Now, the installation seems a bit complex to me, is it not enough to install it from the Ubuntu repositories for example?
In Ubuntu 13.04 comes version 1.4.4, this way you have a newer version.
HAHAHAHAAJ this crazy man who smoked, rants Canaima but he sure uses windows ... HAHAHAJ
It served me well. Thank you.
It has been a long time since I have seen such a good article on this blog. You have set the bar very high.
Krel Thank you very much.
The Canaima has no name ... On the official website of the Government of Venezuela (http://canaima.softwarelibre.gob.ve/), define the OS:
«Canaima GNU / Linux is an open socio-technological project, built in a collaborative way, focused on the development of tools and production models based on Information Technologies (IT) Free of software and operating systems whose objective is to generate national capacities, development endogenous, appropriation and promotion of free knowledge, without losing its original motive: the construction of a technologically prepared Venezuelan nation. "
Socio-technological project? hahaha, very good this «free software». Go with the Government of Venezuela, it does care about freedom, yes ... And what is sociological? I don't understand your relationship with free software ...
Associating the Venezuelan Government with the epithet "free" is an insult to intelligence. Furthermore, no OS developed by any government should be used.
And it's a shame that DesdeLinux aligned itself with the Venezuelan Government.
I forgot the objectives of Canaima:
"To generate national capacities, endogenous development, appropriation and promotion of free knowledge, without losing its original motive: the construction of a technologically prepared Venezuelan nation"
It really scares!
Endogenous development ... it is not going to be that the population accesses international resources and sees that they live in pain
Appropriation and promotion of knowledge: they appropriate what is owned by others and sell it as their own
Building a Venezuelan nation ... This is the last straw ... Venezuelan Chavista nation, of course. We do not give an option to tools not controlled by the regime, lest people get out of hand ...
SHAME ABOUT DsdeLinux!
shameful? … DesdeLinux It is a site where many of the community publish, so if you do not share your political tastes with an editor that is fine, you are within your rights, but from there you classify an entire site as "shameful?" I think it's a long way off.
Personally I think that distros like Canaima (Venezuela) or NOVA (Cuba) are simply distros based on Debian or Ubuntu but with a 'something' added by the government / regime, that 'something' can be a backdoor or simply improvements, each one believes what you want to believe.
But that's just MY very personal opinion.
Also as they said before, this article is not about Canaima but about Redmine.
Surely you will say the same of a distro made in North Korea, the People's Republic of China or Cuba.
We are going to consult the point of view that the GNU project has about Canaima (from https://www.gnu.org/distros/common-distros.html):
Canaima GNU / Linux is a distribution made by the Venezuelan government to distribute computers with GNU / Linux. Overall the plan is laudable, but Canaima's flaw is that it includes non-free software.
In Canaima's main menu there is an option to "install non-free software" through which all non-free drivers are installed, including those that are not necessary. The distribution also includes blobs for the Linux kernel and invites you to install non-free applications, including Flash Player.
As for Debian, it says the following:
The Debian Social Contract proclaims the goal of making the distribution entirely free software, and voluntarily keeps non-free software outside of the official Debian system. However, Debian also provides a repository for non-free software. According to the project, this software is "not part of the Debian system", but the repository is hosted on many of the project's main servers, and users can quickly find out what software is available by consulting the Debian online database.
It also has another repository called "contrib" whose packages are free, but some of them exist to load proprietary programs that are distributed separately. This is also not strictly separate from "main", Debian's main distribution channel.
Earlier versions of Debian included blobs that were not free with the Linux kernel. With the release of Debian 6.0 ("squeeze") in February 2011, these binary packages were moved from the main distribution and placed in the non-free software repository. However, in part the problem still exists: the installer in some cases recommends these non-free firmware files for the machine's peripherals.
Objectivity, ladies and gentlemen. Objectivity.
No man no, from North Korea I will not complain; we all know that it is a paradise of individual freedoms. So much so that their government has set up their own internet, free and independent from the rest of the world so that everyone feels at home.
Instead China is the largest capitalist country in the world ... Or was it a People's Republic ...? Wow, ideologies aren't what they used to be, are they?
And as for Cuba, I only have good words of encouragement for them. Especially now that they are going to stay at our famous Wiily Toledo. What's more, the whole of Spain thanks you with all its heart. Of course, he goes on a "foreign technician" visa with what he will live there as God, excuse me, I mean like those of the Party (come on, to the common people that they give him).
And leaving aside the pink chronicle, I think this will be my last comment on matters of this nature. I will stick to Linux which is much more rewarding.
A greeting.
Align with the Venezuelan Government? … LOL!!!
I will not share my political orientations here because it is not the objective of this topic, you are free to contact me by email if you wish: kzkggaara(at)desdelinux(dot)net
Anyway, maybe things have gotten out of hand with the shame and the lineup... I wasn't in my mood to offend the team either. DesdeLinux. Sometimes one gets carried away by the fever...
I still think the same about Canaima and what it all means; It will be that I am very happy with "the bandage" as someone says below :).
It's not about politics, it's about individuals and freedoms. And if freedoms are always on the razor's edge all over the world, I don't want to tell you where they are in some countries ... they are neither there nor expected ...
It may seem that Canaima is insignificant. Nothing is further from reality. It is a tool designed by and for control.
I would like someone to tell me what advantages and / or utilities and / or functionalities Canaima has that did not have another internationally well-valued distro. Because that's the question, why create a government distro?
Wow, thank you very much for the censorship of my two previous comments on Canaima and the Venezuelan government. I see what this website is about. I guess this comment will last very little ...
Edge of all respect this publication, it is not about canaima or the Venezuelan government, it is about the installation of redmine, in the 3 mentioned distributions, honestly THIS is not the proper channel to discuss about "X" country or about "X" distribution, rather on REDMINE. Cheers
Filo with all due respect. This is not the channel to discuss canaima or "X" government. Actually the post explains the installation of redmine, in the 3 aforementioned distributions.
Friend, I am also a left-wing thinker in some cases, but if you don't want to have discussions with people on the right because of nonsense like this, you should modify your profile and leave only the professional.
PS: I also use canaima from time to time and it seems to me one of the best things that the Deceased left, although for my way of valuing the distros, it lacks a lot of support from the Linuz Venezuela community and more work team to improve.
In all the other more wonderful post I hope to continue reading you. Greetings from Maracaibo!
Thank you very much for your comment, highly valued. Regards.
Well, you are going to be left with the desire because here the Venezuelan has the technology for two things, or to boast of having a new equipment (although he does not even know what functions it has) or to earn money easily, those of us who like technology to Fund we are numbered and we do not have resources to study and develop ourselves (my case), and on windows I made the comment from a cyber (for those who went face to face), I said it on YouTube and I say it here, the Chavistas and everything Leftists invent a non-existent reality, and want to turn the lies that are invented into their own reality, in other words they are not ignorant they are Pharisees (with respect).
True, it is not a channel to talk about politics. Canaima is obviously political ...
However, and without the intention of continuing in the controversy, you say that you explain the installation of redmine, in the 3 aforementioned distributions: Ubuntu, Canaima and Debian.
Well, the text reads "In Ubuntu:", In Debian: "... but nowhere does it read" In Canaima: ". That is, it was not necessary to name Canaima in the title of the post. You have not named other much more international and well-known generalist distros, for example Mint.
And that's where I'm going. I am a free software user with everything that the word "free" entails. And without arguing, trying to sneak a local distro like Canaima goes against the use of my freedom.
Greetings Filo. Turns out, I install redmine on ubuntu, debian and canaima. And to install redmine in canaima you just have to follow the steps in debian mode, I think I should have explained that above, I thought that maybe it was evident since canaima is detached from debian, for the next it will be more explanatory. Thank you
I think the same. If it turns out that for the Canaima pseudo linux the DEBIAN steps are used (from which it descends in principle) then it is TOTALLY UNNECESSARY to include it in the title of the post. Putting it on is nothing more than a veiled attempt to advertise that thing. How do you avoid that? Well, putting the distros that really matter in the title and perhaps in a paragraph of the post it says that for Canaima the same instructions are used as for DEBIAN, as it actually appears. But putting it in the title is provoking without reason. They don't want politics? Well, do not name distros that have a built-in political trend. That easy!
+1
It does not seem unnecessary to me since the TESTS and RESULTS Were in: DEBIAN, CANAIMA AND UBUNTU. What a pod no, simply by the word canaima, a distro to solve and save millions to a country…. clear if gnuLinEx is named for sure all fine. but since it is «canaima» and I tell you clearly and I scratch, they have ARRECHERA for having a bandage of HATE on their eyes, at once they attack with this type of comment ... and it is nothing that I have a few programming articles with CANAIMA and the PUBLICARE.
Honestly, they did not come here, to promote, advertise, they simply come with FACTS and RESULTS, of what was ACHIEVED and most importantly to share.
Fenriz man, you were already in the official photo;). I do not have an aversion to anyone nor do I wear a bandage of hatred ... Nothing could be further from the truth.
I sincerely believe that that country would have saved a lot more money if it had implemented any existing distro instead of "manufacturing" its own with no major contribution than changing its name ... Canaima, which, as you read on its download website, «whose objective is to generate national capacities (sic), endogenous development (sic), appropriation (sic) and promotion of free knowledge ». I thought it was a gnuLinux distro, but no ... It's scary.
I'm not going to be the one to tell you what you should or should not publish, because that would only be missing. Yes, I'm going to be the one to decide what I want or don't want to read, obviously.
And that's the trouble with political significance in a supposedly "free" world: in the end you run the risk of being applauded only by your acolytes.
Fenriz, this blog has not been censored nor should it ever be censored, worse things have been said and they have been allowed to pass, as nano once said, if you want to shit on someone you can too.
pandev92 Thank you very much for your comment, I'm already getting ready then.
hey 🙂
Fenriz, I support the idea that it is necessary to name canaima, so that many users of it can find this post / guide as a reference; it is necessary at least for indexing purposes.
Sure, those in the band won't understand. Regards.
When you talk about the bandage, you talk about yourself because those who have a bandage are you, stop looking in the mirror that that bandage is yours.
Dear Fenriz, I must admit that you have solved a problem that was heating my head a bit. I already have the redmine on apache and fast, as it comes in the manual it was sooo slow.
Thank you very much, I bookmark the blog.