sudo apt-get redmine-mysql mysql-server-5.5
sudo apt-get redmine-mysql redmine (the middle will die for a while, it doesn't matter, and so will pass)
After installing and configuring Redmine, you need a Web program to connect to the Redmine service, and you can use one of two methods:
1, Apche2+libapache2-mod-passenger
1) sudo apt-get install Libapache2-mod-passenger
2) sudo ln-s/usr/share/redmine/public/var/www/redmine
3) sudo echo "Passengerdefaultuser www-data"
4) Edit/etc/apache2/sites-available/default add:
<Directory/var/www/redmine>
Railsbaseuri/redmine
Passengerresolvesymlinksindocumentroot on
</Directory>
5) sudo service apache2 restart
Also requires sudo chmod a+x/usr/share/redmine/public
Then, in the browser knock like: 127.0.0.1/redmine
You can see it.
2. Using thin
1) sudo apt-get install thin
2) Run
Cd/usr/share/redmine
sudo thin start-p 8080-e production
In the browser-typed: 127.0.0.1:8080, you can see the newly-erected server, the effect and the above apache2 the same.
3)
< EM id= "__mcedel" > reference:
1, http://blog.chinaunix.net/uid-9162199-id-3298633.html
2, http://www.redmine.org/boards/2/topics/37072
3, Http://webhostingneeds.com/Redmine_init_script
4, Http://www.debian-administration.org/article/Installing_Redmine_with_MySQL_Thin_and_Redmine_on_Debian_Squeeze
5, http://www.cbrother.com/html/1357.html
MySQL Operation reference:
(Access database via mysql-client: Mysql-u root-p)
Http://www.51cto.com/html/2005/1129/12524.htm
12.04 Redmine