covid-19.png
In response to the spread of COVID-19, we want to do our part to help you stay connected and productive using our products

Free for hospitals, healthcare-related, and nonprofit organizations

In response to the spread of COVID-19, we want to do our part to help you stay connected and productive using our products

从Ubuntu软件包安装RedMine

先决条件

安装Redmine

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install mysql-server mysql-client

安装Redmine

sudo apt-get install redmine-mysql redmine

你可能会被提示,要求安装依赖库文件 - 只需按回车键或键入., 还会询问你是否要自动配置Redmine?选择.。

如果提示你输入数据库,请选择mySQL,稍后你还会被要求提供mysql root密码(你在安装mySQL时设置的密码)以及Redmine数据库名称、用户名和密码。

把这些用户名密码等帐户信息写在一个安全的地方是个好主意,提供后,安装继续。Redmine安装在/usr/share/redmine文件夹中,如果要检查其版本,只需键入

more /usr/share/redmine/lib/redmine/version.rb

访问Redmine

为了通过http访问Redmine,首先测试安装:

cd /usr/share/redmine
sudo ruby script/rails server webrick –e production

你可能会对更高级和可靠的解决方案感兴趣,如Apache或Nginx来运行Redmine。

如果要安装较新版本的Redmine或更新现有版本,请执行以下操作:

sudo add-apt-repository ppa:ondrej/redmine
sudo apt-get update && sudo apt-get upgrade

请注意,此版本库不总是提供最新版本,如果你要安装最新版,请从源安装Redmine。

Was this article helpful? Yes  No
94 from 156 found this helpful