1、安装redmine以及依赖组件
Prerequisites: Apache, mod-passenger, and
MySQL
There are several support packages that we will
install first. The apache installation is pretty simple if you just
follow the prompts and accept the defaults.
$ sudo apt-get install apache2 libapache2-mod-passenger
Installing mysql takes just a little more, so the
details are spelled out.
$ sudo apt-get install mysql-server mysql-client
The installation process for mysql is going to
prompt you for a password for the "root" access for the database
server, then ask you to confirm the password in a follow-up screen.
This sets the database adminstration password.
Package configuration
┌────────────────────┤ Configuring mysql-server-5.5 ├─────────────────────┐
│ While not mandatory, it is highly recommended that you set a password│
│ for the MySQL administrative "root" user.│
││
│ If this field is left blank, the password will not be changed.│
││
│ New password for the MySQL "root" user:│
││
│ _______________________________________________________________________ │
││
││
││
└─────────────────────────────────────────────────────────────────────────┘
┌────┤ Configuring mysql-server-5.5 ├──────────┐
││
│ Repeat password for the MySQL "root" user.│
││
││
│ ____________________________________________ │
││
││
││
└──────────────────────────────────────────────┘
Installing and configuring the Ubuntu Redmine
package
Now it is time to install redmine
itself.
$ sudo apt-get install redmine redmine-mysql
You want to allow dbconfig-common to configure the
database when prompted so selectYesfrom
the prompt in the panel below.
Package configuration
┌──────────────────────────┤ Configuring redmine ├──────────